spring-boot/spring-boot-project
Andy Wilkinson 090802b11b Use existing value rather than deducing bind method
When there is an existing value, deducing the bind method may
incorrectly result in the use of constructor binding. This
results in a failure in the configuration properties
post-processor as it refuses to bind properties to a bean whose
attributes indicate that constructor binding should have been used.

This commit updates ConfigurationPropertiesBean to avoid tryin to
deduce the bind method and instead use the presence or absence of an
existing value to determine the type of binding that should be used.
Only when there is no existing value is constructor binding
appropriate.

Fixes gh-36175
2023-07-12 11:13:48 +01:00
..
spring-boot Use existing value rather than deducing bind method 2023-07-12 11:13:48 +01:00
spring-boot-actuator Polish 2023-07-07 12:19:05 +01:00
spring-boot-actuator-autoconfigure Merge branch '2.7.x' into 3.0.x 2023-07-07 12:06:51 +01:00
spring-boot-autoconfigure Merge branch '2.7.x' into 3.0.x 2023-07-02 19:46:45 +01:00
spring-boot-dependencies Upgrade to Rabbit AMQP Client 5.16.1 2023-07-11 14:59:57 +02:00
spring-boot-devtools Merge branch '2.7.x' into 3.0.x 2023-06-13 13:51:51 +01:00
spring-boot-docs Update Servlet container system requirements 2023-07-12 08:33:10 +01:00
spring-boot-parent Temporarily remove auto-config for Reactor context propagation 2023-02-22 21:10:59 +00:00
spring-boot-starters Merge branch '2.7.x' into 3.0.x 2023-06-15 14:47:01 +01:00
spring-boot-test Merge branch '2.7.x' into 3.0.x 2023-07-05 09:09:07 +01:00
spring-boot-test-autoconfigure Merge branch '2.7.x' into 3.0.x 2023-06-23 15:50:02 +01:00
spring-boot-tools Use Stream.toList() 2023-07-05 09:38:19 +01:00