8006062: Add @Repeatable to repeating annotations regression tests in JDK repo
Reviewed-by: jjg
--- a/jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/Containee.java Thu Jan 10 19:37:26 2013 -0800
+++ b/jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/Containee.java Thu Jan 10 21:12:27 2013 -0800
@@ -27,6 +27,7 @@
@Retention(RetentionPolicy.RUNTIME)
@ContainedBy(Container.class)
+@Repeatable(Container.class)
public @interface Containee {
int value();
}
--- a/jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/InheritedContainee.java Thu Jan 10 19:37:26 2013 -0800
+++ b/jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/InheritedContainee.java Thu Jan 10 21:12:27 2013 -0800
@@ -28,6 +28,7 @@
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@ContainedBy(InheritedContainer.class)
+@Repeatable(InheritedContainer.class)
public @interface InheritedContainee {
int value();
}