test/tools/javac/T7042623.java

Fri, 17 Feb 2012 15:24:40 -0800

author
darcy
date
Fri, 17 Feb 2012 15:24:40 -0800
changeset 1199
e127334a64fe
parent 0
959103a6100f
child 2134
b0c086cd4520
permissions
-rw-r--r--

7143910: test/tools/apt/Basics/apt.sh fails with 'real' sh
Reviewed-by: darcy
Contributed-by: sonali.goel@oracle.com

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

mercurial