< prev index next >

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

Print this page

1386     illegal reference to restricted type ''{0}''
1387 
1388 # 0: name, 1: source
1389 compiler.err.restricted.type.not.allowed=\
1390     ''{0}'' not allowed here\n\
1391     as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations
1392 
1393 # 0: name, 1: source
1394 compiler.warn.restricted.type.not.allowed=\
1395     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
1396 
1397 # 0: name, 1: source
1398 compiler.warn.restricted.type.not.allowed.preview=\
1399     ''{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
1400 
1401 # 0: name (variable), 1: message segment
1402 compiler.err.cant.infer.local.var.type=\
1403     cannot infer type for local variable {0}\n\
1404     ({1})
1405 








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

4247     required: {0}\n\
4248     found: {1}
4249 
4250 # 0: kind name, 1: symbol
4251 # lint: preview
4252 compiler.warn.declared.using.preview=\
4253     {0} {1} is declared using a preview feature, which may be removed in a future release.
4254 
4255 # lint: identity
4256 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4257     attempt to synchronize on an instance of a value-based class
4258 
4259 # lint: identity
4260 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4261     use of a value-based class with an operation that expects reliable identity
4262 
4263 # 0: type
4264 compiler.err.enclosing.class.type.non.denotable=\
4265     enclosing class type: {0}\n\
4266     is non-denotable, try casting to a denotable type


























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

4255     required: {0}\n\
4256     found: {1}
4257 
4258 # 0: kind name, 1: symbol
4259 # lint: preview
4260 compiler.warn.declared.using.preview=\
4261     {0} {1} is declared using a preview feature, which may be removed in a future release.
4262 
4263 # lint: identity
4264 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4265     attempt to synchronize on an instance of a value-based class
4266 
4267 # lint: identity
4268 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4269     use of a value-based class with an operation that expects reliable identity
4270 
4271 # 0: type
4272 compiler.err.enclosing.class.type.non.denotable=\
4273     enclosing class type: {0}\n\
4274     is non-denotable, try casting to a denotable type
4275 
4276 ########################################
4277 # Diagnostics for code reflection
4278 ########################################
4279 
4280 compiler.misc.feature.reflect.methods=\
4281     code reflection
4282 
4283 # 0: symbol, 1: symbol, 2: string
4284 compiler.note.method.ir.dump=\
4285     code reflection enabled for method {0}.{1}\n\
4286     {2}
4287 
4288 # 0: symbol, 1: symbol, 2: string
4289 compiler.note.method.ir.skip=\
4290     unsupported code reflection node {2} found in method {0}.{1}
4291 
4292 # 0: string
4293 compiler.note.quoted.ir.dump=\
4294     code reflection enabled for method quoted lambda\n\
4295     {0}
4296 
4297 # 0: string
4298 compiler.note.quoted.ir.skip=\
4299     unsupported code reflection node {0} found in quoted lambda
< prev index next >