mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Previously, AOT processing failed on processing an immutable configuration properties that declare several constructors as the core framework infrastructure tries to resolve the "autowired" constructor to use, even if the custom code fragments are never going to use it. This commit workarounds the problem in maintenance releases until a proper fix is provided in the core framework. When AOT runs, a SmartInstantiationAwareBeanPostProcessor is added to the bean factory to provide the constructor to use. This implementation relies on the same algorithm that the binder uses at runtime. Closes gh-37283 |
||
---|---|---|
.. | ||
spring-boot | ||
spring-boot-actuator | ||
spring-boot-actuator-autoconfigure | ||
spring-boot-autoconfigure | ||
spring-boot-dependencies | ||
spring-boot-devtools | ||
spring-boot-docs | ||
spring-boot-parent | ||
spring-boot-starters | ||
spring-boot-test | ||
spring-boot-test-autoconfigure | ||
spring-boot-tools |