spring-boot/spring-boot-project
Phillip Webb 9a235197dc Propagate manifest to exploded jars
Update `LaunchedURLClassLoader` so that packages defined from exploded
archive folders have manifest attributes applied to them. Prior to this
calling `package.getImplementationTitle()` would only return the a
manifiest attribute when running non-exploded.

The root cause of this issue is the way that `URLClassLoader` handles
the different URL types. For URLs that reference a jar the manifest is
available. For URLs that reference a folder it isn't. When running
exploded we use a URL that references to the `BOOT-INF/classes` folder
directly. To fix the issue we now attempt to detect when `definePackage`
is being called directly, and replace `null` entries with actual
manifest values.

Fixes gh-21705
2020-06-05 15:28:16 -07:00
..
spring-boot Use servlet context that can access classloader 2020-06-03 19:18:12 -07:00
spring-boot-actuator Restore Boot 2.2's compile-scoped dependencies 2020-06-03 12:55:11 +01:00
spring-boot-actuator-autoconfigure Use highlightjs for syntax highlighting in Asciidoctor's HTML output 2020-06-04 20:25:29 +01:00
spring-boot-autoconfigure Merge branch '2.2.x' into 2.3.x 2020-06-05 16:41:24 +02:00
spring-boot-cli Use dirMode and fileMode to configure CLI archive entry permissions 2020-06-03 11:46:01 +01:00
spring-boot-dependencies Merge branch '2.2.x' into 2.3.x 2020-06-03 08:13:44 +01:00
spring-boot-devtools Restore Boot 2.2's compile-scoped dependencies 2020-06-03 12:55:11 +01:00
spring-boot-docs Merge branch '2.2.x' into 2.3.x 2020-06-05 16:25:24 +02:00
spring-boot-parent Upgrade to Testcontainers 1.14.2 2020-05-27 14:49:09 +02:00
spring-boot-properties-migrator Restore Boot 2.2's compile-scoped dependencies 2020-06-03 12:55:11 +01:00
spring-boot-starters Polish "Add reference to rocketmq-spring-boot-starter" 2020-06-05 14:49:19 +02:00
spring-boot-test Restore Boot 2.2's compile-scoped dependencies 2020-06-03 12:55:11 +01:00
spring-boot-test-autoconfigure Restore Boot 2.2's compile-scoped dependencies 2020-06-03 12:55:11 +01:00
spring-boot-tools Propagate manifest to exploded jars 2020-06-05 15:28:16 -07:00