Skip to content

Configuration class parsing should reuse metadata from AnnotatedBeanDefinition as far as possible [SPR-12394] #17002

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-12394 and commented

Configuration class parsing has been optimized for pre-loaded Class references already, building reflective metadata instead of using ASM. However, in particular for cases without resolved classes such as with scanning results, we may also reuse the metadata from AnnotatedBeanDefinition if it matches the target bean class, avoiding a potential re-read via ASM.


Affects: 4.1.1

Issue Links:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions