44 compiler.err.annotation.missing.default.value=\ 45 annotation {0} is missing {1} 46 compiler.err.annotation.not.valid.for.type=\ 47 annotation not valid for a value of type {0} 48 compiler.err.annotation.type.not.applicable=\ 49 annotation type not applicable to this kind of declaration 50 compiler.err.annotation.value.must.be.annotation=\ 51 annotation value must be an annotation 52 compiler.err.annotation.value.must.be.class.literal=\ 53 annotation value must be a class literal 54 compiler.err.annotation.value.must.be.name.value=\ 55 annotation values must be of the form ''name=value'' 56 compiler.err.annotation.value.not.allowable.type=\ 57 annotation value not of an allowable type 58 compiler.err.anon.class.impl.intf.no.args=\ 59 anonymous class implements interface; cannot have arguments 60 compiler.err.anon.class.impl.intf.no.typeargs=\ 61 anonymous class implements interface; cannot have type arguments 62 compiler.err.anon.class.impl.intf.no.qual.for.new=\ 63 anonymous class implements interface; cannot have qualifier for new 64 compiler.err.array.and.varargs=\ 65 cannot declare both {0} and {1} in {2} 66 compiler.err.array.dimension.missing=\ 67 array dimension missing 68 compiler.err.array.req.but.found=\ 69 array required, but {0} found 70 71 compiler.err.assignment.from.super-bound=\ 72 assigning from wildcard {0} 73 compiler.err.assignment.to.extends-bound=\ 74 assigning to wildcard {0} 75 compiler.err.attribute.value.must.be.constant=\ 76 attribute value must be constant 77 78 compiler.err.break.outside.switch.loop=\ 79 break outside switch or loop 80 81 compiler.err.call.must.be.first.stmt.in.ctor=\ 82 call to {0} must be first statement in constructor 83 compiler.err.cant.apply.symbol=\ 431 signature does not match {0}; incompatible interfaces 432 compiler.err.does.not.override.abstract=\ 433 {0} is not abstract and does not override abstract method {1} in {2} 434 compiler.err.source.cant.overwrite.input.file=\ 435 error writing source; cannot overwrite input file {0} 436 compiler.err.stack.sim.error=\ 437 Internal error: stack sim error on {0} 438 compiler.err.static.imp.only.classes.and.interfaces=\ 439 static import only from classes and interfaces 440 compiler.err.string.const.req=\ 441 constant string expression required 442 compiler.err.synthetic.name.conflict=\ 443 the symbol {0} conflicts with a compiler-synthesized symbol in {1} 444 compiler.warn.synthetic.name.conflict=\ 445 the symbol {0} conflicts with a compiler-synthesized symbol in {1} 446 447 compiler.err.throws.not.allowed.in.intf.annotation=\ 448 throws clause not allowed in @interface members 449 compiler.err.try.without.catch.or.finally=\ 450 ''try'' without ''catch'' or ''finally'' 451 compiler.err.type.doesnt.take.params=\ 452 type {0} does not take parameters 453 compiler.err.type.var.cant.be.deref=\ 454 cannot select from a type variable 455 compiler.err.type.var.may.not.be.followed.by.other.bounds=\ 456 a type variable may not be followed by other bounds 457 compiler.err.type.var.more.than.once=\ 458 type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated 459 compiler.err.type.var.more.than.once.in.result=\ 460 type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated 461 compiler.err.types.incompatible.diff.ret=\ 462 types {0} and {1} are incompatible; both define {2}, but with unrelated return types 463 464 compiler.err.unclosed.bytecode.ident=\ 465 unclosed bytecode identifier 466 compiler.err.unclosed.char.lit=\ 467 unclosed character literal 468 compiler.err.unclosed.comment=\ 469 unclosed comment 470 compiler.err.unclosed.str.lit=\ 1195 compiler.misc.varargs.clash.with=\ 1196 {0} in {1} overrides {2} in {3} 1197 compiler.misc.non.denotable.type=\ 1198 Non-denotable type {0} not allowed here 1199 1200 ######################################## 1201 # Diagnostics for language feature changes 1202 ######################################## 1203 compiler.err.unsupported.fp.lit=\ 1204 hexadecimal floating point literals are not supported in -source {0}\n\ 1205 (use -source 5 or higher to enable hexadecimal floating point literals) 1206 1207 compiler.err.unsupported.binary.lit=\ 1208 binary literals are not supported in -source {0}\n\ 1209 (use -source 7 or higher to enable binary literals) 1210 1211 compiler.err.unsupported.underscore.lit=\ 1212 underscores in literals are not supported in -source {0}\n\ 1213 (use -source 7 or higher to enable underscores in literals) 1214 1215 compiler.warn.enum.as.identifier=\ 1216 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ 1217 (use -source 5 or higher to use ''enum'' as a keyword) 1218 1219 compiler.warn.assert.as.identifier=\ 1220 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ 1221 (use -source 1.4 or higher to use ''assert'' as a keyword) 1222 1223 compiler.err.enum.as.identifier=\ 1224 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ 1225 (use -source 1.4 or lower to use ''enum'' as an identifier) 1226 1227 compiler.err.assert.as.identifier=\ 1228 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ 1229 (use -source 1.3 or lower to use ''assert'' as an identifier) 1230 1231 compiler.err.generics.not.supported.in.source=\ 1232 generics are not supported in -source {0}\n\ 1233 (use -source 5 or higher to enable generics) 1234 | 44 compiler.err.annotation.missing.default.value=\ 45 annotation {0} is missing {1} 46 compiler.err.annotation.not.valid.for.type=\ 47 annotation not valid for a value of type {0} 48 compiler.err.annotation.type.not.applicable=\ 49 annotation type not applicable to this kind of declaration 50 compiler.err.annotation.value.must.be.annotation=\ 51 annotation value must be an annotation 52 compiler.err.annotation.value.must.be.class.literal=\ 53 annotation value must be a class literal 54 compiler.err.annotation.value.must.be.name.value=\ 55 annotation values must be of the form ''name=value'' 56 compiler.err.annotation.value.not.allowable.type=\ 57 annotation value not of an allowable type 58 compiler.err.anon.class.impl.intf.no.args=\ 59 anonymous class implements interface; cannot have arguments 60 compiler.err.anon.class.impl.intf.no.typeargs=\ 61 anonymous class implements interface; cannot have type arguments 62 compiler.err.anon.class.impl.intf.no.qual.for.new=\ 63 anonymous class implements interface; cannot have qualifier for new 64 compiler.misc.arm.not.applicable.to.type=\ 65 automatic resource management not applicable to value of type {0} 66 compiler.err.arm.resource.may.not.be.assigned=\ 67 cannot assign another value to automatic resource variable {0} 68 compiler.err.array.and.varargs=\ 69 cannot declare both {0} and {1} in {2} 70 compiler.err.array.dimension.missing=\ 71 array dimension missing 72 compiler.err.array.req.but.found=\ 73 array required, but {0} found 74 75 compiler.err.assignment.from.super-bound=\ 76 assigning from wildcard {0} 77 compiler.err.assignment.to.extends-bound=\ 78 assigning to wildcard {0} 79 compiler.err.attribute.value.must.be.constant=\ 80 attribute value must be constant 81 82 compiler.err.break.outside.switch.loop=\ 83 break outside switch or loop 84 85 compiler.err.call.must.be.first.stmt.in.ctor=\ 86 call to {0} must be first statement in constructor 87 compiler.err.cant.apply.symbol=\ 435 signature does not match {0}; incompatible interfaces 436 compiler.err.does.not.override.abstract=\ 437 {0} is not abstract and does not override abstract method {1} in {2} 438 compiler.err.source.cant.overwrite.input.file=\ 439 error writing source; cannot overwrite input file {0} 440 compiler.err.stack.sim.error=\ 441 Internal error: stack sim error on {0} 442 compiler.err.static.imp.only.classes.and.interfaces=\ 443 static import only from classes and interfaces 444 compiler.err.string.const.req=\ 445 constant string expression required 446 compiler.err.synthetic.name.conflict=\ 447 the symbol {0} conflicts with a compiler-synthesized symbol in {1} 448 compiler.warn.synthetic.name.conflict=\ 449 the symbol {0} conflicts with a compiler-synthesized symbol in {1} 450 451 compiler.err.throws.not.allowed.in.intf.annotation=\ 452 throws clause not allowed in @interface members 453 compiler.err.try.without.catch.or.finally=\ 454 ''try'' without ''catch'' or ''finally'' 455 compiler.err.try.without.catch.finally.or.resource.decls=\ 456 ''try'' without ''catch'', ''finally'' or resource declarations 457 compiler.err.type.doesnt.take.params=\ 458 type {0} does not take parameters 459 compiler.err.type.var.cant.be.deref=\ 460 cannot select from a type variable 461 compiler.err.type.var.may.not.be.followed.by.other.bounds=\ 462 a type variable may not be followed by other bounds 463 compiler.err.type.var.more.than.once=\ 464 type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated 465 compiler.err.type.var.more.than.once.in.result=\ 466 type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated 467 compiler.err.types.incompatible.diff.ret=\ 468 types {0} and {1} are incompatible; both define {2}, but with unrelated return types 469 470 compiler.err.unclosed.bytecode.ident=\ 471 unclosed bytecode identifier 472 compiler.err.unclosed.char.lit=\ 473 unclosed character literal 474 compiler.err.unclosed.comment=\ 475 unclosed comment 476 compiler.err.unclosed.str.lit=\ 1201 compiler.misc.varargs.clash.with=\ 1202 {0} in {1} overrides {2} in {3} 1203 compiler.misc.non.denotable.type=\ 1204 Non-denotable type {0} not allowed here 1205 1206 ######################################## 1207 # Diagnostics for language feature changes 1208 ######################################## 1209 compiler.err.unsupported.fp.lit=\ 1210 hexadecimal floating point literals are not supported in -source {0}\n\ 1211 (use -source 5 or higher to enable hexadecimal floating point literals) 1212 1213 compiler.err.unsupported.binary.lit=\ 1214 binary literals are not supported in -source {0}\n\ 1215 (use -source 7 or higher to enable binary literals) 1216 1217 compiler.err.unsupported.underscore.lit=\ 1218 underscores in literals are not supported in -source {0}\n\ 1219 (use -source 7 or higher to enable underscores in literals) 1220 1221 compiler.err.automatic.resource.management.not.supported.in.source=\ 1222 automatic resource management is not supported in -source {0}\n\ 1223 (use -source 7 or higher to enable automatic resource management) 1224 1225 compiler.warn.automatic.resource.not.referenced=\ 1226 automatic resource {0} is never referenced in body of corresponding try statement 1227 1228 compiler.warn.enum.as.identifier=\ 1229 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ 1230 (use -source 5 or higher to use ''enum'' as a keyword) 1231 1232 compiler.warn.assert.as.identifier=\ 1233 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ 1234 (use -source 1.4 or higher to use ''assert'' as a keyword) 1235 1236 compiler.err.enum.as.identifier=\ 1237 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ 1238 (use -source 1.4 or lower to use ''enum'' as an identifier) 1239 1240 compiler.err.assert.as.identifier=\ 1241 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ 1242 (use -source 1.3 or lower to use ''assert'' as an identifier) 1243 1244 compiler.err.generics.not.supported.in.source=\ 1245 generics are not supported in -source {0}\n\ 1246 (use -source 5 or higher to enable generics) 1247 |