Update test annotations due to removal of AnnotationAttributesReadingVisitor

Annotations are no longer required to be public when looked up via
ASM since 6.0 M1.
This commit is contained in:
Sam Brannen 2022-07-09 16:50:24 +02:00
parent 2af08cf163
commit 597873746c
1 changed files with 2 additions and 4 deletions

View File

@ -286,8 +286,7 @@ public abstract class AbstractMethodMetadataTests {
}
@Retention(RetentionPolicy.RUNTIME)
// Must be public. See AnnotationAttributesReadingVisitor.recursivelyCollectMetaAnnotations().
public @interface DirectAnnotation {
@interface DirectAnnotation {
}
@DirectAnnotation
@ -323,8 +322,7 @@ public abstract class AbstractMethodMetadataTests {
}
@Retention(RetentionPolicy.RUNTIME)
// Must be public. See AnnotationAttributesReadingVisitor.recursivelyCollectMetaAnnotations().
public @interface AnnotationAttributes {
@interface AnnotationAttributes {
String name();