Skip to content

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

Closed

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

Activity

  1. added
    type: bug
    in: core
    on Jan 11, 2019
  2. added this to the 5.0.9 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions