test/tools/javac/NonAmbiguousField/Test.java

Mon, 23 Sep 2013 10:42:38 +0200

author
alundblad
date
Mon, 23 Sep 2013 10:42:38 +0200
changeset 2047
5f915a0c9615
parent 1775
08daea43a7f8
child 2525
2eb010b6cb22
permissions
-rw-r--r--

6386236: Please rename com.sun.tools.javac.util.ListBuffer.lb()
Summary: Static factory method ListBuffer.lb removed. Replaced by constructor calls.
Reviewed-by: jfranck, jjg

     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