changeset 7382 | e1ed8c9e12e5 |
parent 7381 | 5d924959cd81 |
parent 7140 | 4951967a61b4 |
child 7383 | cbd66f8db06b |
--- a/langtools/test/tools/javac/typeAnnotations/failures/AnnotationVersion.java Fri Nov 05 09:32:08 2010 -0400 +++ /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 { }