changeset 15252:68a56b1a7cd0

8006062: Add @Repeatable to repeating annotations regression tests in JDK repo Reviewed-by: jjg
author darcy
date Thu, 10 Jan 2013 21:12:27 -0800
parents e4468ffbb9b4
children 0b17da070396
files jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/Containee.java jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/InheritedContainee.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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();
 }