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:
parent
2af08cf163
commit
597873746c
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue