test/tools/javac/InterfaceMemberClassModifiers.out

Thu, 15 Jul 2010 16:31:02 +0100

author
mcimadamore
date
Thu, 15 Jul 2010 16:31:02 +0100
changeset 607
b49b0d72c071
parent 0
959103a6100f
permissions
-rw-r--r--

6967002: JDK7 b99 javac compilation error (java.lang.AssertionError)
Summary: bug in JavacParser related to parsing of type annotations in varargs position
Reviewed-by: jjg
Contributed-by: mahmood@notnoop.com

     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