diff -r 9f42a06a49c0 -r df694c775e8a test/tools/javac/annotations/repeatingAnnotations/DocumentedContainerAnno.java --- a/test/tools/javac/annotations/repeatingAnnotations/DocumentedContainerAnno.java Mon Jan 14 19:52:36 2013 +0100 +++ b/test/tools/javac/annotations/repeatingAnnotations/DocumentedContainerAnno.java Mon Jan 14 13:50:01 2013 -0800 @@ -6,15 +6,13 @@ * @compile/fail/ref=DocumentedContainerAnno.out -XDrawDiagnostics DocumentedContainerAnno.java */ -import java.lang.annotation.ContainedBy; -import java.lang.annotation.ContainerFor; +import java.lang.annotation.Repeatable; import java.lang.annotation.Documented; @Documented -@ContainedBy(FooContainer.class) +@Repeatable(FooContainer.class) @interface Foo {} -@ContainerFor(Foo.class) @interface FooContainer{ Foo[] value(); }