mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Refine ApplicationHome detection logic
Update the detection logic used in ApplicationHome to: - Deal with `!/` elements in URLs so that `BOOT-INF/classes` packaging works as expected. - Use the `start-class` when no explicit source class is provided to prevent accidentally picking a home next to a `spring-boot.jar` that happens to be on the classpath. - Ignore search logic when running from a unit test. Fixes gh-6129
This commit is contained in:
@@ -35,3 +35,4 @@ overridedb.*
|
||||
.DS_Store
|
||||
.factorypath
|
||||
dump.rdb
|
||||
transaction-logs
|
||||
|
||||
Reference in New Issue
Block a user