changeset 6381:86c563dc70ca

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 c9308137ad9e
children 0ca2e39a110d
files test/java/lang/annotation/repeatingAnnotations/subpackage/Containee.java test/java/lang/annotation/repeatingAnnotations/subpackage/InheritedContainee.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/annotation/repeatingAnnotations/subpackage/Containee.java	Thu Jan 10 19:37:26 2013 -0800
+++ b/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/test/java/lang/annotation/repeatingAnnotations/subpackage/InheritedContainee.java	Thu Jan 10 19:37:26 2013 -0800
+++ b/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();
 }