spring-boot/spring-boot-project
Stephane Nicoll 112e85507c Support AOT processing of Value Object with several constructors
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
2023-09-11 15:27:02 +02:00
..
spring-boot Support AOT processing of Value Object with several constructors 2023-09-11 15:27:02 +02:00
spring-boot-actuator Merge branch '2.7.x' into 3.0.x 2023-08-30 13:34:12 +01:00
spring-boot-actuator-autoconfigure Merge branch '2.7.x' into 3.0.x 2023-09-08 11:17:25 +02:00
spring-boot-autoconfigure Merge branch '2.7.x' into 3.0.x 2023-09-11 10:32:13 +01:00
spring-boot-dependencies Upgrade to Spring Kafka 3.0.11 2023-09-11 10:59:51 +02:00
spring-boot-devtools Merge branch '2.7.x' into 3.0.x 2023-08-09 08:52:28 +02:00
spring-boot-docs Merge branch '2.7.x' into 3.0.x 2023-08-24 10:32:27 -07:00
spring-boot-parent
spring-boot-starters Upgrade to Jetty 11.0.16 2023-09-11 10:59:50 +02:00
spring-boot-test Merge branch '2.7.x' into 3.0.x 2023-08-09 12:27:27 +01:00
spring-boot-test-autoconfigure Merge branch '2.7.x' into 3.0.x 2023-09-06 14:43:36 +02:00
spring-boot-tools Merge branch '2.7.x' into 3.0.x 2023-09-04 08:25:33 +01:00