src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 59285 7799a51dbe30
parent 58713 ad69fd32778e
equal deleted inserted replaced
59284:88502b1cf76f 59285:7799a51dbe30
   544 # 0: symbol
   544 # 0: symbol
   545 compiler.err.try.resource.may.not.be.assigned=\
   545 compiler.err.try.resource.may.not.be.assigned=\
   546     auto-closeable resource {0} may not be assigned
   546     auto-closeable resource {0} may not be assigned
   547 
   547 
   548 # 0: symbol
   548 # 0: symbol
       
   549 compiler.err.pattern.binding.may.not.be.assigned=\
       
   550     pattern binding {0} may not be assigned
       
   551 
       
   552 # 0: symbol
   549 compiler.err.multicatch.parameter.may.not.be.assigned=\
   553 compiler.err.multicatch.parameter.may.not.be.assigned=\
   550     multi-catch parameter {0} may not be assigned
   554     multi-catch parameter {0} may not be assigned
   551 
   555 
   552 # 0: type, 1: type
   556 # 0: type, 1: type
   553 compiler.err.multicatch.types.must.be.disjoint=\
   557 compiler.err.multicatch.types.must.be.disjoint=\
  1413     Invalid {0} annotation. {1}
  1417     Invalid {0} annotation. {1}
  1414 
  1418 
  1415 # 0: type
  1419 # 0: type
  1416 compiler.misc.varargs.trustme.on.reifiable.varargs=\
  1420 compiler.misc.varargs.trustme.on.reifiable.varargs=\
  1417     Varargs element type {0} is reifiable.
  1421     Varargs element type {0} is reifiable.
       
  1422 
       
  1423 # 0: type, 1: type
       
  1424 compiler.err.instanceof.reifiable.not.safe=\
       
  1425     {0} cannot be safely cast to {1}
  1418 
  1426 
  1419 # 0: symbol
  1427 # 0: symbol
  1420 compiler.misc.varargs.trustme.on.non.varargs.meth=\
  1428 compiler.misc.varargs.trustme.on.non.varargs.meth=\
  1421     Method {0} is not a varargs method.
  1429     Method {0} is not a varargs method.
  1422 
  1430 
  2907     switch expressions
  2915     switch expressions
  2908 
  2916 
  2909 compiler.misc.feature.var.syntax.in.implicit.lambda=\
  2917 compiler.misc.feature.var.syntax.in.implicit.lambda=\
  2910     var syntax in implicit lambdas
  2918     var syntax in implicit lambdas
  2911 
  2919 
       
  2920 compiler.misc.feature.pattern.matching.instanceof=\
       
  2921     pattern matching in instanceof
       
  2922 
       
  2923 compiler.misc.feature.reifiable.types.instanceof=\
       
  2924     reifiable types in instanceof
       
  2925 
  2912 compiler.warn.underscore.as.identifier=\
  2926 compiler.warn.underscore.as.identifier=\
  2913     as of release 9, ''_'' is a keyword, and may not be used as an identifier
  2927     as of release 9, ''_'' is a keyword, and may not be used as an identifier
  2914 
  2928 
  2915 compiler.err.underscore.as.identifier=\
  2929 compiler.err.underscore.as.identifier=\
  2916     as of release 9, ''_'' is a keyword, and may not be used as an identifier
  2930     as of release 9, ''_'' is a keyword, and may not be used as an identifier
  3397 
  3411 
  3398 # 0: string, 1: string
  3412 # 0: string, 1: string
  3399 compiler.err.illegal.argument.for.option=\
  3413 compiler.err.illegal.argument.for.option=\
  3400     illegal argument for {0}: {1}
  3414     illegal argument for {0}: {1}
  3401 
  3415 
       
  3416 compiler.err.match.binding.exists=\
       
  3417     illegal attempt to redefine an existing match binding
       
  3418 
  3402 compiler.err.switch.null.not.allowed=\
  3419 compiler.err.switch.null.not.allowed=\
  3403     null label in case is not allowed
  3420     null label in case is not allowed
  3404 
  3421 
  3405 compiler.err.switch.case.unexpected.statement=\
  3422 compiler.err.switch.case.unexpected.statement=\
  3406     unexpected statement in case, expected is an expression, a block or a throw statement
  3423     unexpected statement in case, expected is an expression, a block or a throw statement