Skip to content

Unify standard and ASM AnnotatedTypeMetadata retention behavior #22886

Closed
@philwebb

Description

@philwebb

Reflection based AnnotatedTypeMetadata implementations only support @RetentionPolicy(RetentionPolicy.RUNTIME) annotations. ASM implementations however currently ignore the visible attribute and will read both RetentionPolicy.CLASS and RetentionPolicy.RUNTIME annotations.

I would like to unify the two implementations if possible.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions