test/tools/javac/generics/6711619/T6711619a.out

Thu, 23 Oct 2008 17:59:43 +0100

author
mcimadamore
date
Thu, 23 Oct 2008 17:59:43 +0100
changeset 155
4d2d8b6459e1
child 171
1d1f34b36535
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

mcimadamore@155 1 T6711619a.java:63:14: compiler.err.report.access: a(), private, T6711619a.A
mcimadamore@155 2 T6711619a.java:64:14: compiler.err.report.access: b(), private, T6711619a.B
mcimadamore@155 3 T6711619a.java:69:19: compiler.err.report.access: a, private, T6711619a.A
mcimadamore@155 4 T6711619a.java:70:19: compiler.err.report.access: b, private, T6711619a.B
mcimadamore@155 5 T6711619a.java:71:19: compiler.err.report.access: a, private, T6711619a.A
mcimadamore@155 6 T6711619a.java:72:19: compiler.err.report.access: b, private, T6711619a.B
mcimadamore@155 7 6 errors

mercurial