changeset 7147 | 761dca0ccb57 |
parent 7146 | d0163a4e4e75 |
parent 7140 | 4951967a61b4 |
child 7148 | 578a6908fd06 |
--- a/langtools/test/tools/javac/typeAnnotations/failures/AnnotationVersion.java Tue Nov 02 22:15:35 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 { }