mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 02:09:05 +00:00
Previously, when defining a package for a class, LaunchedURLClassLoader would use the manifest from the first location that contained the required package. If the package was split across multiple locations, this could lead to the manifest from a jar other than the one that contains the class being used. This commit updates LaunchedURLClassLoader so that it will use the manifest of the jar file that contains the class which triggered the definition of the package. Closes gh-5485