1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Oct 30 10:55:00 2009 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties Mon Nov 02 21:36:59 2009 -0800 1.3 @@ -433,6 +433,8 @@ 1.4 Internal error: stack sim error on {0} 1.5 compiler.err.static.imp.only.classes.and.interfaces=\ 1.6 static import only from classes and interfaces 1.7 +compiler.err.string.const.req=\ 1.8 + constant string expression required 1.9 compiler.err.synthetic.name.conflict=\ 1.10 the symbol {0} conflicts with a compiler-synthesized symbol in {1} 1.11 compiler.warn.synthetic.name.conflict=\ 1.12 @@ -1226,6 +1228,10 @@ 1.13 diamond operator is not supported in -source {0}\n\ 1.14 (use -source 7 or higher to enable diamond operator) 1.15 1.16 +compiler.err.string.switch.not.supported.in.source=\ 1.17 + strings in switch are not supported in -source {0}\n\ 1.18 +(use -source 7 or higher to enable strings in switch) 1.19 + 1.20 ######################################## 1.21 # Diagnostics for where clause implementation 1.22 # used by the RichDiagnosticFormatter.