< prev index next >
src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
Print this page
rev 51291 : imported patch switch
rev 51292 : [mq]: switch.02
*** 47,56 ****
--- 47,57 ----
# symbol the name of a declared type
# symbol kind the kind of a symbol (i.e. method, variable)
# kind name an informative description of the kind of a declaration; see compiler.misc.kindname.*
# target a target version number, such as 1.5, 1.6, 1.7, taken from a com.sun.tools.javac.jvm.Target
# token the name of a non-terminal in source code; see compiler.misc.token.*
+ # tree tag the name of a non-terminal in source code; see compiler.misc.token.*
# type a Java type; e.g. int, X, X<T>
# url a URL
# object a Java object (unspecified)
# unused the value is not used in this message
#
*** 186,215 ****
compiler.err.break.outside.switch.loop=\
break outside switch or loop
compiler.err.break.missing.value=\
! break is missing a value to return from switch expression
compiler.err.break.outside.switch.expression=\
! break is jumping outside of the enclosing switch expression
compiler.err.continue.outside.switch.expression=\
! continue is jumping outside of the enclosing switch expression
compiler.err.return.outside.switch.expression=\
! return is returning outside of the enclosing switch expression
# 0: name
compiler.err.break.ambiguous.target=\
! {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
--- 187,218 ----
compiler.err.break.outside.switch.loop=\
break outside switch or loop
compiler.err.break.missing.value=\
! missing break value
compiler.err.break.outside.switch.expression=\
! break outside of enclosing switch expression
compiler.err.continue.outside.switch.expression=\
! continue outside of enclosing switch expression
compiler.err.return.outside.switch.expression=\
! return outside of enclosing switch expression
# 0: name
compiler.err.break.ambiguous.target=\
! ambiguous reference to ''{0}''\n\
! (''{0}'' is both a label and an expression)
+ # 0: tree tag
compiler.err.break.expr.not.immediate=\
! value break not supported in ''{0}''
compiler.err.break.complex.value.no.switch.expression=\
! unexpected value break
compiler.err.switch.expression.empty=\
switch expression does not have any case clauses
# 0: name
*** 2607,2616 ****
--- 2610,2635 ----
static initializer
compiler.misc.kindname.instance.init=\
instance initializer
+ # the following are names of tree kinds:
+ compiler.misc.tree.tag.forloop=\
+ for
+
+ compiler.misc.tree.tag.foreachloop=\
+ enhanced for
+
+ compiler.misc.tree.tag.whileloop=\
+ while
+
+ compiler.misc.tree.tag.doloop=\
+ do
+
+ compiler.misc.tree.tag.switch=\
+ switch
+
#####
compiler.misc.no.args=\
no arguments
< prev index next >