8006062: Add @Repeatable to repeating annotations regression tests in JDK repo

Reviewed-by: jjg
This commit is contained in:
Joe Darcy 2013-01-10 21:12:27 -08:00
parent 56dd0c2a5c
commit 3dfc6b7512
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@ContainedBy(Container.class)
@Repeatable(Container.class)
public @interface Containee {
int value();
}

View File

@ -28,6 +28,7 @@ import java.lang.annotation.*;
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@ContainedBy(InheritedContainer.class)
@Repeatable(InheritedContainer.class)
public @interface InheritedContainee {
int value();
}