Skip to content

AnnotationMetadataReadingVisitor does not honour @AliasFor [SPR-14437] #19008

@spring-projects-issues

Description

@spring-projects-issues

Stéphane Nicoll opened SPR-14437 and commented

See #6337 for some context.

The following code does not behave the same way, considering that FooBar has some @AliasFor declaration:

AnnotationAttributes attributes = AnnotationAttributes.fromMap(
        metadata.getAnnotationAttributes(FooBar.class.getName()));

This code works as expected with StandardAnnotationMetadata while AnnotationMetadataReadingVisitor does not seem to work.


Affects: 4.3.1

Referenced from: commits 5ea8c26, 1ca4b81

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions