< prev index next >

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

Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01

@@ -199,18 +199,21 @@
 compiler.err.return.outside.switch.expression=\
     return is returning outside of the enclosing switch expression
 
 # 0: name
 compiler.err.break.ambiguous.target=\
-    {0} is both a valid expression and a valid label
+    {0} is ambiguously both a valid expression and a valid label
 
 compiler.err.break.expr.not.immediate=\
     expression break not immediately enclosed by a switch expression
 
 compiler.err.break.complex.value.no.switch.expression=\
     value break outside of switch expression
 
+compiler.err.switch.expression.empty=\
+    switch expression does not have any case clauses
+
 # 0: name
 compiler.err.call.must.be.first.stmt.in.ctor=\
     call to {0} must be first statement in constructor
 
 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment

@@ -819,16 +822,10 @@
     {0} is reserved for internal use
 
 compiler.err.native.meth.cant.have.body=\
     native methods cannot have a body
 
-# 0: type, 1: type
-compiler.err.neither.conditional.subtype=\
-    incompatible types for ?: neither is a subtype of the other\n\
-    second operand: {0}\n\
-    third operand : {1}
-
 
 # 0: message segment
 compiler.misc.incompatible.type.in.conditional=\
     bad type in conditional expression\n\
     {0}
< prev index next >