test/tools/javac/InterfaceMemberClassModifiers.out

Mon, 24 Nov 2014 12:49:30 -0500

author
emc
date
Mon, 24 Nov 2014 12:49:30 -0500
changeset 2612
cb7e7928902f
parent 0
959103a6100f
permissions
-rw-r--r--

8029012: parameter_index for type annotation not updated after outer.this added
Summary: Fix javac's handling of type annotations when synthetic parameters are added
Reviewed-by: jjg, mcimadamore

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

mercurial