test/tools/javac/T7042623.java

Wed, 23 Oct 2013 07:50:04 +0200

author
jlahoda
date
Wed, 23 Oct 2013 07:50:04 +0200
changeset 2165
864dafc5ab7a
parent 2134
b0c086cd4520
child 2190
24eaf41a3974
permissions
-rw-r--r--

8026861: Wrong LineNumberTable for variable declarations in lambdas
Summary: Setting or correcting positions for many trees produced by LambdaToMethod.
Reviewed-by: vromero, rfield

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