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

duke@1 1 /*
duke@1 2 * @test
duke@1 3 * @bug 4053724
duke@1 4 * @summary Certain non-ambiguous field references were reported by the
duke@1 5 * compiler as ambigous.
duke@1 6 * @author turnidge
duke@1 7 *
vromero@1775 8 * @compile one/Parent.java two/Child.java
vromero@1775 9 * @compile/fail one/Parent2.java two/Child2.java
duke@1 10 */

mercurial