8006062: Add @Repeatable to repeating annotations regression tests in JDK repo
Reviewed-by: jjg
This commit is contained in:
parent
56dd0c2a5c
commit
3dfc6b7512
@ -27,6 +27,7 @@ import java.lang.annotation.*;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@ContainedBy(Container.class)
|
||||
@Repeatable(Container.class)
|
||||
public @interface Containee {
|
||||
int value();
|
||||
}
|
||||
|
@ -28,6 +28,7 @@ import java.lang.annotation.*;
|
||||
@Inherited
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@ContainedBy(InheritedContainer.class)
|
||||
@Repeatable(InheritedContainer.class)
|
||||
public @interface InheritedContainee {
|
||||
int value();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user