src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 50675 273183fd8246
parent 50568 0f807f558017
child 51047 860a3648c494
equal deleted inserted replaced
50674:9ab948f612a8 50675:273183fd8246
  1214 
  1214 
  1215 # 0: name
  1215 # 0: name
  1216 compiler.err.undef.label=\
  1216 compiler.err.undef.label=\
  1217     undefined label: {0}
  1217     undefined label: {0}
  1218 
  1218 
  1219 # 0: name (type)
       
  1220 compiler.err.illegal.ref.to.var.type=\
  1219 compiler.err.illegal.ref.to.var.type=\
  1221     illegal reference to restricted type ''{0}''
  1220     illegal reference to restricted type ''var''
  1222 
  1221 
  1223 # 0: name
       
  1224 compiler.err.var.not.allowed=\
  1222 compiler.err.var.not.allowed=\
  1225     ''{0}'' not allowed here\n\
  1223     ''var'' not allowed here\n\
  1226     as of release 10, ''{0}'' is a restricted local variable type and cannot be used for type declarations
  1224     as of release 10, ''var'' is a restricted local variable type and cannot be used for type declarations
  1227 
  1225 
  1228 compiler.warn.var.not.allowed=\
  1226 compiler.warn.var.not.allowed=\
  1229     as of release 10, ''var'' is a restricted local variable type and cannot be used for type declarations
  1227     as of release 10, ''var'' is a restricted local variable type and cannot be used for type declarations or as the element type of an array
  1230 
  1228 
  1231 # 0: name (variable), 1: message segment
  1229 # 0: name (variable), 1: message segment
  1232 compiler.err.cant.infer.local.var.type=\
  1230 compiler.err.cant.infer.local.var.type=\
  1233     cannot infer type for local variable {0}\n\
  1231     cannot infer type for local variable {0}\n\
  1234     ({1})
  1232     ({1})