Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Aug 8, 2018 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Aug 8, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants