test/tools/javac/OverridePosition.out

Thu, 14 May 2009 10:58:12 -0700

author
vasya
date
Thu, 14 May 2009 10:58:12 -0700
changeset 270
0f653be1a42f
parent 1
9a66ca7c79fa
child 288
d402db1005ad
permissions
-rw-r--r--

Added tag jdk7-b59 for changeset 88bcb6772159

     1 OverridePosition.java:17: method() in T4524388.Testa cannot implement method() in T4524388.Interface; attempting to assign weaker access privileges; was public
     2     void method() {}
     3          ^
     4 OverridePosition.java:24: method() in T4524388.A cannot implement method() in T4524388.Interface; attempting to assign weaker access privileges; was public
     5 class B extends A implements Interface {
     6 ^
     7 2 errors

mercurial