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