--- a/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Aug 11 01:14:06 2009 +0100
+++ b/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Aug 11 01:14:31 2009 +0100
@@ -1093,23 +1093,33 @@
no arguments
compiler.err.override.static=\
- {0}; overriding method is static
+ {0}\n\
+ overriding method is static
compiler.err.override.meth=\
- {0}; overridden method is {1}
+ {0}\n\
+ overridden method is {1}
compiler.err.override.meth.doesnt.throw=\
- {0}; overridden method does not throw {1}
+ {0}\n\
+ overridden method does not throw {1}
# In the following string {1} is a space separated list of Java Keywords, as
# they would have been declared in the source code
compiler.err.override.weaker.access=\
- {0}; attempting to assign weaker access privileges; was {1}
+ {0}\n\
+ attempting to assign weaker access privileges; was {1}
+
+compiler.err.override.incompatible.ret=\
+ {0}\n\
+ return type {1} is not compatible with {2}
-compiler.misc.override.incompatible.ret=\
- {0}; attempting to use incompatible return type
+compiler.warn.override.unchecked.ret=\
+ [unchecked] {0}\n\
+ return type requires unchecked conversion from {1} to {2}
-compiler.misc.override.unchecked.ret=\
- {0}; return type requires unchecked conversion
+compiler.warn.override.unchecked.thrown=\
+ [unchecked] {0}\n\
+ overridden method does not throw {1}
## The following are all possible strings for the first argument ({0}) of the
## above strings.