test/tools/javac/InterfaceMemberClassModifiers.out

Mon, 06 Dec 2010 11:50:37 +0000

author
mcimadamore
date
Mon, 06 Dec 2010 11:50:37 +0000
changeset 774
56f59723fddf
parent 0
959103a6100f
permissions
-rw-r--r--

7002070: If catch clause has an incompatible type, error pointer points to first exception type in list
Summary: Attribution should check each component of a disjunctive type separately, rather than checking the corresponding lub()
Reviewed-by: jjg

aoqi@0 1 InterfaceMemberClassModifiers.java:28: illegal combination of modifiers: public and protected
aoqi@0 2 protected class SomeClass3 implements InterfaceMemberClassModifiers { // illegal
aoqi@0 3 ^
aoqi@0 4 InterfaceMemberClassModifiers.java:34: illegal combination of modifiers: public and private
aoqi@0 5 private class SomeClass4 implements InterfaceMemberClassModifiers { // illegal
aoqi@0 6 ^
aoqi@0 7 2 errors

mercurial