langtools/test/tools/javac/IllegalAnnotation.java
changeset 45867 ca77ebd05a06
parent 30713 4a01965154be
equal deleted inserted replaced
45866:5070422dda41 45867:ca77ebd05a06
     1 /**
     1 /**
     2  * @test  /nodynamiccopyright/
     2  * @test  /nodynamiccopyright/
     3  * @bug 5012028 6384539
     3  * @bug 5012028 6384539 8074364
     4  * @summary javac crash when declare an annotation type illegally
     4  * @summary javac crash when declare an annotation type illegally
     5  *
     5  *
     6  * @compile/fail/ref=IllegalAnnotation.out -XDrawDiagnostics IllegalAnnotation.java
     6  * @compile/fail/ref=IllegalAnnotation.out -XDrawDiagnostics IllegalAnnotation.java
     7  */
     7  */
     8 class IllegalAnnotation {
     8 class IllegalAnnotation {