Thu, 23 Oct 2008 17:59:43 +0100
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
jjg@69 | 1 | QualifiedAccess_2.java:40:22: compiler.err.report.access: A.B, private, A |
jjg@69 | 2 | QualifiedAccess_2.java:41:22: compiler.err.report.access: A.B, private, A |
jjg@69 | 3 | QualifiedAccess_2.java:45:15: compiler.err.not.def.public.cant.access: pack1.P1.Foo, pack1.P1 |
jjg@69 | 4 | QualifiedAccess_2.java:52:29: compiler.err.report.access: Y.Quux.Quem, private, Y.Quux |
jjg@69 | 5 | QualifiedAccess_2.java:30:25: compiler.err.report.access: pack1.P1.R.S, private, pack1.P1.R |
jjg@69 | 6 | QualifiedAccess_2.java:54:25: compiler.err.report.access: Y.Quux.Quem, private, Y.Quux |
duke@1 | 7 | 6 errors |