You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following up on #16100, AnnotationUtils.findAnnotation has another quirk that needs to be fixed: Locally declared composed annotations need to be favored over annotations declared on interfaces. The current behavior, fortunately unlikely to be ever hit in practice, is conceptually and intuitively wrong. And if fixed, the lookup can be implemented more efficiently overall.
Juergen Hoeller opened SPR-12355 and commented
Following up on #16100,
AnnotationUtils.findAnnotation
has another quirk that needs to be fixed: Locally declared composed annotations need to be favored over annotations declared on interfaces. The current behavior, fortunately unlikely to be ever hit in practice, is conceptually and intuitively wrong. And if fixed, the lookup can be implemented more efficiently overall.Affects: 4.1 GA
Issue Links:
Referenced from: commits 716916b
The text was updated successfully, but these errors were encountered: