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

changeset 2103
b1b4a6dcc282
parent 1721
abd153854f16
child 2134
b0c086cd4520
equal deleted inserted replaced
2102:6dcf94e32a3a 2103:b1b4a6dcc282
1 /* 1 /*
2 * @test /nodynamiccopyright/ 2 * @test /nodynamiccopyright/
3 * @bug 8006733 8006775 3 * @bug 8006733 8006775
4 * @ignore 8013409: test failures for type annotations 4
5 * @summary A static outer class cannot be annotated. 5 * @summary A static outer class cannot be annotated.
6 * @author Werner Dietl 6 * @author Werner Dietl
7 * @compile/fail/ref=CantAnnotateStaticClass.out -XDrawDiagnostics CantAnnotateStaticClass.java 7 * @compile/fail/ref=CantAnnotateStaticClass.out -XDrawDiagnostics CantAnnotateStaticClass.java
8 */ 8 */
9 9

mercurial