test/tools/javac/T7042623.java

Tue, 15 Oct 2013 15:57:13 -0700

author
jjg
date
Tue, 15 Oct 2013 15:57:13 -0700
changeset 2134
b0c086cd4520
parent 0
959103a6100f
child 2190
24eaf41a3974
permissions
-rw-r--r--

8026564: import changes from type-annotations forest
Reviewed-by: jjg
Contributed-by: wdietl@gmail.com, steve.sides@oracle.com

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 7042623
     4  * @summary Regression: javac silently crash when attributing non-existent annotation
     5  * @ignore
     6  * @compile/fail/ref=T7042623.out -XDrawDiagnostics -XDdev T7042623.java
     7  */
     9 @interface Defined2 {}
    11 @Undefined1(@Defined2)
    12 class Test1{}

mercurial