< 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 compiler.err.bad.quoted.lambda.null.return=\
1407     invalid ''null'' return expression in quoted lambda
1408 
1409 # 0: list of type
1410 compiler.err.cant.infer.quoted.lambda.return.type=\
1411     cannot infer return type for quoted lambda expression\n\
1412     (found: {0})
1413 
1414 compiler.err.quoted.lambda.must.be.explicit=\
1415     Quoted lambda cannot have implicit parameter types
1416 
1417 # 0: name
1418 compiler.err.restricted.type.not.allowed.here=\
1419     ''{0}'' is not allowed here
1420 
1421 # 0: name
1422 compiler.err.restricted.type.not.allowed.array=\
1423     ''{0}'' is not allowed as an element type of an array
1424 
1425 # 0: name
1426 compiler.err.restricted.type.not.allowed.compound=\
1427     ''{0}'' is not allowed in a compound declaration
1428 
1429 # 0: fragment
1430 compiler.err.invalid.lambda.parameter.declaration=\
1431     invalid lambda parameter declaration\n\
1432     ({0})
1433 
1434 compiler.misc.implicit.and.explicit.not.allowed=\
1435     cannot mix implicitly-typed and explicitly-typed parameters
1436 

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