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

Introspect pre-registered singletons in preDetermineBeanTypes as well #33668

Closed
jhoeller opened this issue Oct 8, 2024 · 0 comments
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@jhoeller
Copy link
Contributor

jhoeller commented Oct 8, 2024

In 6.0/6.1, the preDetermineBeanTypes algorithm in GenericApplicationContext introspects bean definitions only. In case of runtime-contributed instances such as bean overrides, it makes sense to cover pre-registered singletons as well, registering proxy hints for such instances as well (assuming they will be pre-registered the same way at AOT runtime).

@jhoeller jhoeller added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing labels Oct 8, 2024
@jhoeller jhoeller added this to the 6.2.0-RC2 milestone Oct 8, 2024
@jhoeller jhoeller self-assigned this Oct 8, 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: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant