test/tools/javac/6491592/T6491592.java

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

author
jlahoda
date
Wed, 23 Oct 2013 07:50:04 +0200
changeset 2165
864dafc5ab7a
parent 611
4172cfff05f0
child 2525
2eb010b6cb22
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

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug     6491592
     4  * @summary Compiler crashes on assignment operator
     5  * @author  alex.buckley@...
     6  * @compile/fail/ref=T6491592.out -XDrawDiagnostics T6491592.java
     7  */
     9 public class T6491592 {
    10     public static void main(String... args) {
    11         Object o = null;
    12         o += null;
    13     }
    14 }

mercurial