< prev index next >

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

Print this page

1381     illegal reference to restricted type ''{0}''
1382 
1383 # 0: name, 1: source
1384 compiler.err.restricted.type.not.allowed=\
1385     ''{0}'' not allowed here\n\
1386     as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations
1387 
1388 # 0: name, 1: source
1389 compiler.warn.restricted.type.not.allowed=\
1390     as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations or as the element type of an array
1391 
1392 # 0: name, 1: source
1393 compiler.warn.restricted.type.not.allowed.preview=\
1394     ''{0}'' may become a restricted type name in a future release and may be unusable for type declarations or as the element type of an array
1395 
1396 # 0: name (variable), 1: message segment
1397 compiler.err.cant.infer.local.var.type=\
1398     cannot infer type for local variable {0}\n\
1399     ({1})
1400 








1401 # 0: name
1402 compiler.err.restricted.type.not.allowed.here=\
1403     ''{0}'' is not allowed here
1404 
1405 # 0: name
1406 compiler.err.restricted.type.not.allowed.array=\
1407     ''{0}'' is not allowed as an element type of an array
1408 
1409 # 0: name
1410 compiler.err.restricted.type.not.allowed.compound=\
1411     ''{0}'' is not allowed in a compound declaration
1412 
1413 # 0: fragment
1414 compiler.err.invalid.lambda.parameter.declaration=\
1415     invalid lambda parameter declaration\n\
1416     ({0})
1417 
1418 compiler.misc.implicit.and.explicit.not.allowed=\
1419     cannot mix implicitly-typed and explicitly-typed parameters
1420 

4067 compiler.err.deconstruction.pattern.var.not.allowed=\
4068     deconstruction patterns can only be applied to records, var is not allowed
4069 
4070 # 0: list of type, 1: list of type
4071 compiler.err.incorrect.number.of.nested.patterns=\
4072     incorrect number of nested patterns\n\
4073     required: {0}\n\
4074     found: {1}
4075 
4076 # 0: kind name, 1: symbol
4077 compiler.warn.declared.using.preview=\
4078     {0} {1} is declared using a preview feature, which may be removed in a future release.
4079 
4080 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4081     attempt to synchronize on an instance of a value-based class
4082 
4083 # 0: type
4084 compiler.err.enclosing.class.type.non.denotable=\
4085     enclosing class type: {0}\n\
4086     is non-denotable, try casting to a denotable type


























1381     illegal reference to restricted type ''{0}''
1382 
1383 # 0: name, 1: source
1384 compiler.err.restricted.type.not.allowed=\
1385     ''{0}'' not allowed here\n\
1386     as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations
1387 
1388 # 0: name, 1: source
1389 compiler.warn.restricted.type.not.allowed=\
1390     as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations or as the element type of an array
1391 
1392 # 0: name, 1: source
1393 compiler.warn.restricted.type.not.allowed.preview=\
1394     ''{0}'' may become a restricted type name in a future release and may be unusable for type declarations or as the element type of an array
1395 
1396 # 0: name (variable), 1: message segment
1397 compiler.err.cant.infer.local.var.type=\
1398     cannot infer type for local variable {0}\n\
1399     ({1})
1400 
1401 # 0: list of type
1402 compiler.err.cant.infer.quoted.lambda.return.type=\
1403     cannot infer return type for quoted lambda expression\n\
1404     (found: {0})
1405 
1406 compiler.err.quoted.lambda.must.be.explicit=\
1407     Quoted lambda cannot have implicit parameter types
1408 
1409 # 0: name
1410 compiler.err.restricted.type.not.allowed.here=\
1411     ''{0}'' is not allowed here
1412 
1413 # 0: name
1414 compiler.err.restricted.type.not.allowed.array=\
1415     ''{0}'' is not allowed as an element type of an array
1416 
1417 # 0: name
1418 compiler.err.restricted.type.not.allowed.compound=\
1419     ''{0}'' is not allowed in a compound declaration
1420 
1421 # 0: fragment
1422 compiler.err.invalid.lambda.parameter.declaration=\
1423     invalid lambda parameter declaration\n\
1424     ({0})
1425 
1426 compiler.misc.implicit.and.explicit.not.allowed=\
1427     cannot mix implicitly-typed and explicitly-typed parameters
1428 

4075 compiler.err.deconstruction.pattern.var.not.allowed=\
4076     deconstruction patterns can only be applied to records, var is not allowed
4077 
4078 # 0: list of type, 1: list of type
4079 compiler.err.incorrect.number.of.nested.patterns=\
4080     incorrect number of nested patterns\n\
4081     required: {0}\n\
4082     found: {1}
4083 
4084 # 0: kind name, 1: symbol
4085 compiler.warn.declared.using.preview=\
4086     {0} {1} is declared using a preview feature, which may be removed in a future release.
4087 
4088 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4089     attempt to synchronize on an instance of a value-based class
4090 
4091 # 0: type
4092 compiler.err.enclosing.class.type.non.denotable=\
4093     enclosing class type: {0}\n\
4094     is non-denotable, try casting to a denotable type
4095 
4096 ########################################
4097 # Diagnostics for code reflection
4098 ########################################
4099 
4100 compiler.misc.feature.reflect.methods=\
4101     code reflection
4102 
4103 # 0: symbol, 1: symbol, 2: string
4104 compiler.note.method.ir.dump=\
4105     code reflection enabled for method {0}.{1}\n\
4106     {2}
4107 
4108 # 0: symbol, 1: symbol, 2: string
4109 compiler.note.method.ir.skip=\
4110     unsupported code reflection node {2} found in method {0}.{1}
4111 
4112 # 0: string
4113 compiler.note.quoted.ir.dump=\
4114     code reflection enabled for method quoted lambda\n\
4115     {0}
4116 
4117 # 0: string
4118 compiler.note.quoted.ir.skip=\
4119     unsupported code reflection node {0} found in quoted lambda
< prev index next >