--- a/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Sep 15 12:20:55 2009 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Sep 15 18:36:21 2009 -0700
@@ -216,6 +216,8 @@
illegal line end in character literal
compiler.err.illegal.nonascii.digit=\
illegal non-ASCII digit
+compiler.err.illegal.underscore=\
+ illegal underscore
compiler.err.illegal.qual.not.icls=\
illegal qualifier; {0} is not an inner class
compiler.err.illegal.start.of.expr=\
@@ -1163,7 +1165,16 @@
# Diagnostics for language feature changes
########################################
compiler.err.unsupported.fp.lit=\
- hexadecimal floating-point literals are not supported before -source 5
+ hexadecimal floating point literals are not supported in -source {0}\n\
+(use -source 5 or higher to enable hexadecimal floating point literals)
+
+compiler.err.unsupported.binary.lit=\
+ binary literals are not supported in -source {0}\n\
+(use -source 7 or higher to enable binary literals)
+
+compiler.err.unsupported.underscore.lit=\
+ underscores in literals are not supported in -source {0}\n\
+(use -source 7 or higher to enable underscores in literals)
compiler.warn.enum.as.identifier=\
as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\