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
Since we are calling setAccessible for similar invocations in AnnotationUtils, this is arguably a consistency issue. I'll therefore backport this to 4.1.7 as well.
Phil Webb opened SPR-12858 and commented
AnnotationUtils.getAnnotationAttributes
currently doesn't work with package scope annotations.I believe that calling method.setAccessible(true) when iterating the methods would solve the issue.
https://github.com/spring-projects/spring-framework/blob/master/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java#L586
Affects: 4.1.6
Issue Links:
The text was updated successfully, but these errors were encountered: