langtools/test/tools/javac/annotations/repeatingAnnotations/MissingValueMethod.java
--- a/langtools/test/tools/javac/annotations/repeatingAnnotations/MissingValueMethod.java Mon Jan 14 19:52:36 2013 +0100
+++ b/langtools/test/tools/javac/annotations/repeatingAnnotations/MissingValueMethod.java Mon Jan 14 13:50:01 2013 -0800
@@ -6,13 +6,11 @@
* @compile/fail/ref=MissingValueMethod.out -XDrawDiagnostics MissingValueMethod.java
*/
-import java.lang.annotation.ContainedBy;
-import java.lang.annotation.ContainerFor;
+import java.lang.annotation.Repeatable;
-@ContainedBy(FooContainer.class)
+@Repeatable(FooContainer.class)
@interface Foo {}
-@ContainerFor(Foo.class)
@interface FooContainer{
Foo[] values(); // wrong method name
}