test/tools/javac/T6214885a.out

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
child 221
6ada6122dd4f
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 T6214885.java:11 cannot find symbol
     2 symbol  : variable x
     3 location: class T6214885
     4         x = 1;
     5         ^
     6 1 error

mercurial