jdk-24/langtools/test/tools/javac/OverridePosition.out
2007-12-01 00:00:00 +00:00

8 lines
400 B
Plaintext

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