test/tools/javac/ExtendArray.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 ExtendArray.java:11: unexpected type
     2 found   : java.lang.Object[]
     3 required: class
     4 public class ExtendArray extends Object[] {}
     5                                        ^
     6 1 error

mercurial