langtools/test/tools/javac/OverridePosition.out
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 10 06bc494ca11e
child 2984 e15ff3a34054
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
OverridePosition.java:17: method() in T4524388.Testa cannot implement method() in T4524388.Interface; attempting to assign weaker access privileges; was public
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
    void method() {}
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
         ^
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
OverridePosition.java:24: method() in T4524388.A cannot implement method() in T4524388.Interface; attempting to assign weaker access privileges; was public
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
class B extends A implements Interface {
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
^
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
2 errors