langtools/test/tools/javac/OverridePosition.out
changeset 2984 e15ff3a34054
parent 10 06bc494ca11e
--- a/langtools/test/tools/javac/OverridePosition.out	Wed May 20 19:10:06 2009 -0700
+++ b/langtools/test/tools/javac/OverridePosition.out	Thu May 21 10:56:36 2009 +0100
@@ -1,7 +1,3 @@
-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 {
-^
+OverridePosition.java:17:10: compiler.err.override.weaker.access: (compiler.misc.cant.implement: method(), T4524388.Testa, method(), T4524388.Interface), public
+OverridePosition.java:24:1: compiler.err.override.weaker.access: (compiler.misc.cant.implement: method(), T4524388.A, method(), T4524388.Interface), public
 2 errors