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
{{ message }}
Repository navigation
MergedAnnotation.asMap() fails when an attribute references a non-existent class #36586
As explained in #36524 (comment), MergedAnnotation.asAnnotationAttributes() and MergedAnnotation.asMap() fail when an annotation attribute references a non-existent class.
This is a regression that was introduced in Spring Framework 5.2 when the MergedAnnotations API was introduced; however, since this has gone undetected for so long, we have decided to address this in 7.0.x.
changed the title [-]`MergedAnnotation.asAnnotationAttributes()` fails when an attribute references a non-existent class[/-][+]`MergedAnnotation.asMap()` fails when an attribute references a non-existent class[/+]on Apr 2, 2026
Activity
[-]`MergedAnnotation.asAnnotationAttributes()` fails when an attribute references a non-existent class[/-][+]`MergedAnnotation.asMap()` fails when an attribute references a non-existent class[/+]Lazily propagate exceptions in MergedAnnotation.asMap()
Track class loading exceptions in MergedAnnotation.asMap()