Before this commit, beans registered with the Kotlin bean DSL typically added via SpringApplication#addInitializers were registered 2 times: by the code generated AOT and by the listener executed at runtime. After this commit, such beans are only registered 1 time when AOT generation is involved, and does not require specific reflection hints on native execution anymore. Closes gh-29211 |
||
|---|---|---|
| .. | ||
| src | ||
| .springBeans | ||
| spring-context.gradle | ||