Skip to content

Annotations on generic superclass methods not found by AnnotationUtils [SPR-17146] #21683

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-17146 and commented

Following up on #20609, we should also apply the same policy to superclass methods, even if annotation inheritance expectations across generics might be less common there.

Due to the inconsistency with generic interfaces and the inconsistency between AnnotationUtils and AnnotatedElementUtils (since only the former finds annotations on generic interface methods), this qualifies as a follow-up bug that needs to be fixed in the 5.0.x line as well.


Affects: 5.0.8, 5.1 RC1

Issue Links:

Referenced from: commits 4521a79, 688ef9a

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

Relationships

None yet

Development

No branches or pull requests

Issue actions