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

Document that getBean with arguments is not recommended with AOT #32690

Closed
snicoll opened this issue Apr 22, 2024 · 0 comments
Closed

Document that getBean with arguments is not recommended with AOT #32690

snicoll opened this issue Apr 22, 2024 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: documentation A documentation task
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Apr 22, 2024

Follow-up of #32657 - since we ignore the instance supplier, all optimizations are going away, which makes things quite inconsistent with AOT if the bean requires some fort of post processing that has been optimized at build time (e.g. autowiring).

@snicoll snicoll added type: documentation A documentation task theme: aot An issue related to Ahead-of-time processing labels Apr 22, 2024
@snicoll snicoll added this to the 6.1.x milestone Apr 22, 2024
@snicoll snicoll self-assigned this Apr 22, 2024
@jhoeller jhoeller added the in: core Issues in core modules (aop, beans, core, context, expression) label Apr 22, 2024
@snicoll snicoll modified the milestones: 6.1.x, 6.1.7 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

2 participants