test/tools/javac/annotations/typeAnnotations/failures/AnnotatedImport.java

Fri, 03 May 2013 09:56:56 -0700

author
jjg
date
Fri, 03 May 2013 09:56:56 -0700
changeset 1721
abd153854f16
parent 1521
71f35e4b93a5
child 2134
b0c086cd4520
permissions
-rw-r--r--

8012728: Normalize @ignore comments on langtools tests
Reviewed-by: vromero, mcimadamore

jjg@1521 1 /*
jjg@1521 2 * @test /nodynamiccopyright/
jjg@1521 3 * @bug 8006775
jjg@1521 4 * @summary Import clauses cannot use annotations.
jjg@1521 5 * @author Werner Dietl
jjg@1521 6 * @compile/fail/ref=AnnotatedImport.out -XDrawDiagnostics AnnotatedImport.java
jjg@1521 7 */
jjg@1521 8
jjg@1521 9 import java.@A util.List;
jjg@1521 10 import @A java.util.Map;
jjg@1521 11 import java.util.@A HashMap;
jjg@1521 12
jjg@1521 13 class AnnotatedImport { }
jjg@1521 14
jjg@1521 15 @interface A { }

mercurial