diff -r 5bb96781fb58 -r c491eec0acc7 test/tools/javac/typeAnnotations/failures/AnnotationVersion.java --- a/test/tools/javac/typeAnnotations/failures/AnnotationVersion.java Thu Nov 04 15:54:46 2010 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -/* - * @test /nodynamiccopyright/ - * @bug 6843077 - * @summary test that only java 7 allows type annotations - * @author Mahmood Ali - * @compile/fail/ref=AnnotationVersion.out -XDrawDiagnostics -source 1.6 AnnotationVersion.java - */ -class AnnotationVersion { - public void method() @A { } -} - -@interface A { }