langtools/test/tools/javac/annotations/repeatingAnnotations/MissingContainer.java
changeset 15356 cf312dc54c60
parent 14371 5652321f1ae4
child 16339 0bc89752353d
--- a/langtools/test/tools/javac/annotations/repeatingAnnotations/MissingContainer.java	Mon Jan 14 19:52:36 2013 +0100
+++ b/langtools/test/tools/javac/annotations/repeatingAnnotations/MissingContainer.java	Mon Jan 14 13:50:01 2013 -0800
@@ -6,13 +6,11 @@
  * @compile/fail/ref=MissingContainer.out -XDrawDiagnostics MissingContainer.java
  */
 
-import java.lang.annotation.ContainedBy;
-import java.lang.annotation.ContainerFor;
+import java.lang.annotation.Repeatable;
 
-@ContainedBy()
+@Repeatable()
 @interface Foo {}
 
-@ContainerFor(Foo.class)
 @interface FooContainer {
     Foo[] value();
 }