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

changeset 1721
abd153854f16
parent 1521
71f35e4b93a5
child 2103
b1b4a6dcc282
equal deleted inserted replaced
1717:8e27e84de2e9 1721:abd153854f16
1 /* 1 /*
2 * @test /nodynamiccopyright/ 2 * @test /nodynamiccopyright/
3 * @bug 8006733 8006775 3 * @bug 8006733 8006775
4 * @ignore 4 * @ignore 8013409: test failures for type annotations
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