langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 4142 bd950c8f4fb3
parent 4072 70eaf9773f81
child 4692 4df6242d3940
--- a/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Fri Oct 30 10:55:00 2009 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Mon Nov 02 21:36:59 2009 -0800
@@ -433,6 +433,8 @@
     Internal error: stack sim error on {0}
 compiler.err.static.imp.only.classes.and.interfaces=\
     static import only from classes and interfaces
+compiler.err.string.const.req=\
+    constant string expression required
 compiler.err.synthetic.name.conflict=\
     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 compiler.warn.synthetic.name.conflict=\
@@ -1226,6 +1228,10 @@
     diamond operator is not supported in -source {0}\n\
 (use -source 7 or higher to enable diamond operator)
 
+compiler.err.string.switch.not.supported.in.source=\
+    strings in switch are not supported in -source {0}\n\
+(use -source 7 or higher to enable strings in switch)
+
 ########################################
 # Diagnostics for where clause implementation
 # used by the RichDiagnosticFormatter.