test/tools/javac/typeAnnotations/failures/AnnotationVersion.java

changeset 732
534afdc92cdc
parent 719
2129a046f117
parent 731
fadc6d3e63f4
child 733
c491eec0acc7
     1.1 --- a/test/tools/javac/typeAnnotations/failures/AnnotationVersion.java	Thu Oct 28 13:31:55 2010 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,12 +0,0 @@
     1.4 -/*
     1.5 - * @test /nodynamiccopyright/
     1.6 - * @bug 6843077
     1.7 - * @summary test that only java 7 allows type annotations
     1.8 - * @author Mahmood Ali
     1.9 - * @compile/fail/ref=AnnotationVersion.out -XDrawDiagnostics -source 1.6 AnnotationVersion.java
    1.10 - */
    1.11 -class AnnotationVersion {
    1.12 -  public void method() @A { }
    1.13 -}
    1.14 -
    1.15 -@interface A { }

mercurial