test/tools/javac/NonAmbiguousField/Test@4d2d8b6459e1
test/tools/javac/NonAmbiguousField/Test
Thu, 23 Oct 2008 17:59:43 +0100
- author
- mcimadamore
- date
- Thu, 23 Oct 2008 17:59:43 +0100
- changeset 155
- 4d2d8b6459e1
- parent 1
-
9a66ca7c79fa
- permissions
- -rw-r--r--
6711619: javac doesn't allow access to protected members in intersection types
Summary: Accordingly to new accessibility rules all members of intersection types (but private ones) should be accessible
Reviewed-by: jjg
4 * @summary Certain non-ambiguous field references were reported by the
5 * compiler as ambigous.
8 * @compile -nowrite one/Parent.java two/Child.java
9 * @compile -nowrite one/Parent2.java two/Child2.java