test/tools/javac/NonAmbiguousField/Test

Sun, 04 Nov 2012 10:59:42 +0000

author
mcimadamore
date
Sun, 04 Nov 2012 10:59:42 +0000
changeset 1393
d7d932236fee
parent 1
9a66ca7c79fa
permissions
-rw-r--r--

7192246: Add type-checking support for default methods
Summary: Add type-checking support for default methods as per Featherweight-Defender document
Reviewed-by: jjg, dlsmith

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 *
duke@1 8 * @compile -nowrite one/Parent.java two/Child.java
duke@1 9 * @compile -nowrite one/Parent2.java two/Child2.java
duke@1 10 */

mercurial