test/tools/javac/NonAmbiguousField/Test.java

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

author
jlahoda
date
Wed, 23 Oct 2013 07:50:04 +0200
changeset 2165
864dafc5ab7a
parent 1775
08daea43a7f8
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
     3  * @bug 4053724
     4  * @summary Certain non-ambiguous field references were reported by the
     5  *          compiler as ambigous.
     6  * @author turnidge
     7  *
     8  * @compile one/Parent.java two/Child.java
     9  * @compile/fail one/Parent2.java two/Child2.java
    10  */

mercurial