spring-boot/spring-boot-project
Sébastien Deleuze e7f91bab78 Refine BackgroundPreinitializer code reachability
GraalVM code reachability algorithm is not able to evaluate at build
time that ENABLED static field is always false in a native image,
shipping unreachable code.

Before this commit, building a native image with -H:+PrintAnalysisCallTree
shows that the following methods are included:
- BackgroundPreinitializer$1.<init>(BackgroundPreinitializer):void
- BackgroundPreinitializer$1.run():void
- BackgroundPreinitializer$1.runSafely(Runnable):void
- BackgroundPreinitializer$CharsetInitializer.run():void
- BackgroundPreinitializer$ConversionServiceInitializer.run():void
- BackgroundPreinitializer$JacksonInitializer.run():void
- BackgroundPreinitializer$MessageConverterInitializer.run():void
- BackgroundPreinitializer$ValidationInitializer.run():void
- BackgroundPreinitializer.<clinit>():void
- BackgroundPreinitializer.getOrder():int
- BackgroundPreinitializer.onApplicationEvent(ApplicationEvent):void
- BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent):void
- BackgroundPreinitializer.performPreinitialization():void

After this commit, only those are included:
- BackgroundPreinitializer.<clinit>():void
- BackgroundPreinitializer.getOrder():int
- BackgroundPreinitializer.onApplicationEvent(ApplicationEvent):void
- BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent):void

See gh-33240
2022-11-18 10:52:42 +00:00
..
spring-boot Consider Kotlin when checking if parameter names are available 2022-11-17 12:05:16 +00:00
spring-boot-actuator Polish 2022-11-16 10:00:36 +01:00
spring-boot-actuator-autoconfigure Create ApplicationTags in common WavefrontAutoConfiguration 2022-11-17 20:16:38 -08:00
spring-boot-autoconfigure Refine BackgroundPreinitializer code reachability 2022-11-18 10:52:42 +00:00
spring-boot-dependencies Upgrade to Spring Data 2021.2.6 2022-11-18 11:30:07 +01:00
spring-boot-devtools Polish 2022-10-25 12:57:58 +01:00
spring-boot-docs Document @NestedConstructorBinding in all cases 2022-11-18 11:43:12 +01:00
spring-boot-parent Allow spring properties to be used in logback <if> blocks 2022-11-07 14:45:43 -08:00
spring-boot-starters Upgrade to Jakarta Mail 2.1 and switch to Eclipse Angus RI 2022-11-08 11:01:15 +00:00
spring-boot-test Ensure @ContextHierarchy is never used with UseMainMethod 2022-11-17 10:16:24 -08:00
spring-boot-test-autoconfigure Polish 2022-11-16 10:00:36 +01:00
spring-boot-tools Merge branch '2.7.x' 2022-11-18 10:39:52 +00:00