Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AOT processing fails when a @ConfigurationProperties-annotated record has multiple constructors #37337

Closed
snicoll opened this issue Sep 11, 2023 · 0 comments
Labels
status: forward-port An issue tracking the forward-port of a change made in an earlier branch theme: aot An issue related to Ahead-of-time processing type: bug A general bug
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Sep 11, 2023

Forward port of issue #37336 to 3.2.x.

@snicoll snicoll added status: forward-port An issue tracking the forward-port of a change made in an earlier branch theme: aot An issue related to Ahead-of-time processing type: bug A general bug labels Sep 11, 2023
@snicoll snicoll added this to the 3.2.0-M3 milestone Sep 11, 2023
snicoll added a commit that referenced this issue Sep 11, 2023
This commit adapts to API changes in Spring Framework, see
spring-projects/spring-framework#31117

Previously, the "autowired" executable to use for a bean was always
resolved, even if a custom code fragment didn't really need it. This
is key for binding of immutable configuration properties as we use an
instance supplier for it.

This changes means that the workaround added in maintenance releases
can be removed.

See gh-37337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: forward-port An issue tracking the forward-port of a change made in an earlier branch theme: aot An issue related to Ahead-of-time processing type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant