8006062: Add @Repeatable to repeating annotations regression tests in JDK repo
authordarcy
Thu, 10 Jan 2013 21:12:27 -0800
changeset 15252 68a56b1a7cd0
parent 15251 e4468ffbb9b4
child 15253 0b17da070396
8006062: Add @Repeatable to repeating annotations regression tests in JDK repo Reviewed-by: jjg
jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/Containee.java
jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/InheritedContainee.java
--- 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();
 }