src/share/classes/com/sun/tools/javac/resources/compiler.properties

changeset 409
69eaccd3ea85
parent 383
8109aa93b212
child 423
8a4543b30586
     1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Sep 15 12:20:55 2009 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Sep 15 18:36:21 2009 -0700
     1.3 @@ -216,6 +216,8 @@
     1.4      illegal line end in character literal
     1.5  compiler.err.illegal.nonascii.digit=\
     1.6      illegal non-ASCII digit
     1.7 +compiler.err.illegal.underscore=\
     1.8 +    illegal underscore
     1.9  compiler.err.illegal.qual.not.icls=\
    1.10      illegal qualifier; {0} is not an inner class
    1.11  compiler.err.illegal.start.of.expr=\
    1.12 @@ -1163,7 +1165,16 @@
    1.13  # Diagnostics for language feature changes
    1.14  ########################################
    1.15  compiler.err.unsupported.fp.lit=\
    1.16 -    hexadecimal floating-point literals are not supported before -source 5
    1.17 +    hexadecimal floating point literals are not supported in -source {0}\n\
    1.18 +(use -source 5 or higher to enable hexadecimal floating point literals)
    1.19 +
    1.20 +compiler.err.unsupported.binary.lit=\
    1.21 +    binary literals are not supported in -source {0}\n\
    1.22 +(use -source 7 or higher to enable binary literals)
    1.23 +
    1.24 +compiler.err.unsupported.underscore.lit=\
    1.25 +    underscores in literals are not supported in -source {0}\n\
    1.26 +(use -source 7 or higher to enable underscores in literals)
    1.27  
    1.28  compiler.warn.enum.as.identifier=\
    1.29      as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\

mercurial