test/tools/javac/T7042623.java

Wed, 23 Oct 2013 23:02:17 +0200

author
jlahoda
date
Wed, 23 Oct 2013 23:02:17 +0200
changeset 2164
abc3eaccba73
parent 2134
b0c086cd4520
child 2190
24eaf41a3974
permissions
-rw-r--r--

8027191: Fix for JDK-8026861 refers to an incorrect bug number
Summary: Reverting changeset b05db8c815e8, so that it can be applied again with a correct bug number
Reviewed-by: jjg

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

mercurial