Skip to content

Introspect pre-registered singletons in preDetermineBeanTypes as well #33668

@jhoeller

Description

@jhoeller

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).

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions