< prev index next >

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

Print this page

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








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

4236 
4237 # 0: list of type, 1: list of type
4238 compiler.err.incorrect.number.of.nested.patterns=\
4239     incorrect number of nested patterns\n\
4240     required: {0}\n\
4241     found: {1}
4242 
4243 # 0: kind name, 1: symbol
4244 # lint: preview
4245 compiler.warn.declared.using.preview=\
4246     {0} {1} is declared using a preview feature, which may be removed in a future release.
4247 
4248 # lint: synchronization
4249 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4250     attempt to synchronize on an instance of a value-based class
4251 
4252 # 0: type
4253 compiler.err.enclosing.class.type.non.denotable=\
4254     enclosing class type: {0}\n\
4255     is non-denotable, try casting to a denotable type


























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

4244 
4245 # 0: list of type, 1: list of type
4246 compiler.err.incorrect.number.of.nested.patterns=\
4247     incorrect number of nested patterns\n\
4248     required: {0}\n\
4249     found: {1}
4250 
4251 # 0: kind name, 1: symbol
4252 # lint: preview
4253 compiler.warn.declared.using.preview=\
4254     {0} {1} is declared using a preview feature, which may be removed in a future release.
4255 
4256 # lint: synchronization
4257 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4258     attempt to synchronize on an instance of a value-based class
4259 
4260 # 0: type
4261 compiler.err.enclosing.class.type.non.denotable=\
4262     enclosing class type: {0}\n\
4263     is non-denotable, try casting to a denotable type
4264 
4265 ########################################
4266 # Diagnostics for code reflection
4267 ########################################
4268 
4269 compiler.misc.feature.reflect.methods=\
4270     code reflection
4271 
4272 # 0: symbol, 1: symbol, 2: string
4273 compiler.note.method.ir.dump=\
4274     code reflection enabled for method {0}.{1}\n\
4275     {2}
4276 
4277 # 0: symbol, 1: symbol, 2: string
4278 compiler.note.method.ir.skip=\
4279     unsupported code reflection node {2} found in method {0}.{1}
4280 
4281 # 0: string
4282 compiler.note.quoted.ir.dump=\
4283     code reflection enabled for method quoted lambda\n\
4284     {0}
4285 
4286 # 0: string
4287 compiler.note.quoted.ir.skip=\
4288     unsupported code reflection node {0} found in quoted lambda
< prev index next >