test/tools/javac/6520152/T.java@4d2d8b6459e1
test/tools/javac/6520152/T.java
Thu, 23 Oct 2008 17:59:43 +0100
- author
- mcimadamore
- date
- Thu, 23 Oct 2008 17:59:43 +0100
- changeset 155
- 4d2d8b6459e1
- parent 0
-
959103a6100f
- 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
1 import java.io.Serializable;
4 public static void main(String[] args) {
9 public Object createObject() {
10 return new Serializable() {