Fix regression for nested AnnotationAttributes.annotationType() result
See gh-22738
This commit is contained in:
@@ -168,7 +168,7 @@ abstract class AbstractMergedAnnotation<A extends Annotation> implements MergedA
|
||||
|
||||
@Override
|
||||
public AnnotationAttributes asAnnotationAttributes(Adapt... adaptations) {
|
||||
return asMap(mergedAnnotation -> new AnnotationAttributes(getType()), adaptations);
|
||||
return asMap(mergedAnnotation -> new AnnotationAttributes(mergedAnnotation.getType()), adaptations);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user