test/tools/javac/InnerNamedConstant_2.out

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

author
mcimadamore
date
Thu, 23 Oct 2008 17:59:43 +0100
changeset 155
4d2d8b6459e1
parent 69
82c7aa6fe50a
child 830
02e6e7dd1a64
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 InnerNamedConstant_2.java:22:20: compiler.err.icls.cant.have.static.decl
     2 InnerNamedConstant_2.java:23:29: compiler.err.icls.cant.have.static.decl
     3 InnerNamedConstant_2.java:25:13: compiler.err.cant.assign.val.to.final.var: z
     4 InnerNamedConstant_2.java:34:26: compiler.err.icls.cant.have.static.decl
     5 4 errors

mercurial