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=\ 155 156 compiler.err.enum.cant.be.instantiated=\ 157 enum types may not be instantiated 158 compiler.err.enum.label.must.be.unqualified.enum=\ 159 an enum switch case label must be the unqualified name of an enumeration constant 160 compiler.err.enum.no.subclassing=\ 161 classes cannot directly extend java.lang.Enum 162 compiler.err.enum.types.not.extensible=\ 163 enum types are not extensible 164 compiler.err.enum.no.finalize=\ 165 enums cannot have finalize methods 166 compiler.err.error.reading.file=\ 167 error reading {0}; {1} 168 compiler.err.except.already.caught=\ 169 exception {0} has already been caught 170 compiler.err.except.never.thrown.in.try=\ 171 exception {0} is never thrown in body of corresponding try statement 172 173 compiler.err.final.parameter.may.not.be.assigned=\ 174 final parameter {0} may not be assigned 175 compiler.err.multicatch.parameter.may.not.be.assigned=\ 176 multi-catch parameter {0} may not be assigned 177 compiler.err.multicatch.param.must.be.final=\ 178 multi-catch parameter {0} must be final 179 compiler.err.finally.without.try=\ 180 ''finally'' without ''try'' 181 compiler.err.foreach.not.applicable.to.type=\ 182 foreach not applicable to expression type 183 compiler.err.fp.number.too.large=\ 184 floating point number too large 185 compiler.err.fp.number.too.small=\ 186 floating point number too small 187 188 compiler.err.generic.array.creation=\ 189 generic array creation 190 compiler.err.generic.throwable=\ 191 a generic class may not extend java.lang.Throwable 192 193 compiler.err.icls.cant.have.static.decl=\ 194 inner classes cannot have static declarations 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=\ 777 Annotation processing without compilation requested but no processors were found. 778 779 compiler.warn.proc.use.implicit=\ 780 Implicitly compiled files were not subject to annotation processing.\n\ 781 Use -implicit to specify a policy for implicit compilation. 782 783 compiler.warn.proc.use.proc.or.implicit=\ 784 Implicitly compiled files were not subject to annotation processing.\n\ 785 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. 786 787 # Print a client-generated warning; assumed to be localized, no translation required 788 compiler.warn.proc.messager=\ 789 {0} 790 791 compiler.warn.proc.unclosed.type.files=\ 792 Unclosed files for the types ''{0}''; these types will not undergo annotation processing 793 794 compiler.warn.proc.unmatched.processor.options=\ 795 The following options were not recognized by any processor: ''{0}'' 796 797 compiler.warn.unchecked.assign=\ 798 [unchecked] unchecked assignment: {0} to {1} 799 compiler.warn.unchecked.assign.to.var=\ 800 [unchecked] unchecked assignment to variable {0} as member of raw type {1} 801 compiler.warn.unchecked.call.mbr.of.raw.type=\ 802 [unchecked] unchecked call to {0} as a member of the raw type {1} 803 compiler.warn.unchecked.cast.to.type=\ 804 [unchecked] unchecked cast to type {0} 805 compiler.warn.unchecked.meth.invocation.applied=\ 806 [unchecked] unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\ 807 required: {2}\n\ 808 found: {3} 809 810 compiler.warn.unchecked.generic.array.creation=\ 811 [unchecked] unchecked generic array creation for varargs parameter of type {0} 812 813 compiler.warn.varargs.non.reifiable.type=\ 814 [varargs] Possible heap pollution from parameterized vararg type {0} 815 816 compiler.warn.missing.deprecated.annotation=\ 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 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=\ 157 158 compiler.err.enum.cant.be.instantiated=\ 159 enum types may not be instantiated 160 compiler.err.enum.label.must.be.unqualified.enum=\ 161 an enum switch case label must be the unqualified name of an enumeration constant 162 compiler.err.enum.no.subclassing=\ 163 classes cannot directly extend java.lang.Enum 164 compiler.err.enum.types.not.extensible=\ 165 enum types are not extensible 166 compiler.err.enum.no.finalize=\ 167 enums cannot have finalize methods 168 compiler.err.error.reading.file=\ 169 error reading {0}; {1} 170 compiler.err.except.already.caught=\ 171 exception {0} has already been caught 172 compiler.err.except.never.thrown.in.try=\ 173 exception {0} is never thrown in body of corresponding try statement 174 175 compiler.err.final.parameter.may.not.be.assigned=\ 176 final parameter {0} may not be assigned 177 compiler.err.arm.resource.may.not.be.assigned=\ 178 automatic resource {0} may not be assigned 179 compiler.err.multicatch.parameter.may.not.be.assigned=\ 180 multi-catch parameter {0} may not be assigned 181 compiler.err.multicatch.param.must.be.final=\ 182 multi-catch parameter {0} must be final 183 compiler.err.finally.without.try=\ 184 ''finally'' without ''try'' 185 compiler.err.foreach.not.applicable.to.type=\ 186 foreach not applicable to expression type 187 compiler.err.fp.number.too.large=\ 188 floating point number too large 189 compiler.err.fp.number.too.small=\ 190 floating point number too small 191 192 compiler.err.generic.array.creation=\ 193 generic array creation 194 compiler.err.generic.throwable=\ 195 a generic class may not extend java.lang.Throwable 196 197 compiler.err.icls.cant.have.static.decl=\ 198 inner classes cannot have static declarations 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=\ 783 Annotation processing without compilation requested but no processors were found. 784 785 compiler.warn.proc.use.implicit=\ 786 Implicitly compiled files were not subject to annotation processing.\n\ 787 Use -implicit to specify a policy for implicit compilation. 788 789 compiler.warn.proc.use.proc.or.implicit=\ 790 Implicitly compiled files were not subject to annotation processing.\n\ 791 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. 792 793 # Print a client-generated warning; assumed to be localized, no translation required 794 compiler.warn.proc.messager=\ 795 {0} 796 797 compiler.warn.proc.unclosed.type.files=\ 798 Unclosed files for the types ''{0}''; these types will not undergo annotation processing 799 800 compiler.warn.proc.unmatched.processor.options=\ 801 The following options were not recognized by any processor: ''{0}'' 802 803 compiler.warn.arm.explicit.close.call=\ 804 [arm] explicit call to close() on an automatic resource 805 compiler.warn.automatic.resource.not.referenced=\ 806 [arm] automatic resource {0} is never referenced in body of corresponding try statement 807 compiler.warn.unchecked.assign=\ 808 [unchecked] unchecked assignment: {0} to {1} 809 compiler.warn.unchecked.assign.to.var=\ 810 [unchecked] unchecked assignment to variable {0} as member of raw type {1} 811 compiler.warn.unchecked.call.mbr.of.raw.type=\ 812 [unchecked] unchecked call to {0} as a member of the raw type {1} 813 compiler.warn.unchecked.cast.to.type=\ 814 [unchecked] unchecked cast to type {0} 815 compiler.warn.unchecked.meth.invocation.applied=\ 816 [unchecked] unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\ 817 required: {2}\n\ 818 found: {3} 819 820 compiler.warn.unchecked.generic.array.creation=\ 821 [unchecked] unchecked generic array creation for varargs parameter of type {0} 822 823 compiler.warn.varargs.non.reifiable.type=\ 824 [varargs] Possible heap pollution from parameterized vararg type {0} 825 826 compiler.warn.missing.deprecated.annotation=\ 1205 compiler.misc.varargs.clash.with=\ 1206 {0} in {1} overrides {2} in {3} 1207 compiler.misc.non.denotable.type=\ 1208 Non-denotable type {0} not allowed here 1209 1210 ######################################## 1211 # Diagnostics for language feature changes 1212 ######################################## 1213 compiler.err.unsupported.fp.lit=\ 1214 hexadecimal floating point literals are not supported in -source {0}\n\ 1215 (use -source 5 or higher to enable hexadecimal floating point literals) 1216 1217 compiler.err.unsupported.binary.lit=\ 1218 binary literals are not supported in -source {0}\n\ 1219 (use -source 7 or higher to enable binary literals) 1220 1221 compiler.err.unsupported.underscore.lit=\ 1222 underscores in literals are not supported in -source {0}\n\ 1223 (use -source 7 or higher to enable underscores in literals) 1224 1225 compiler.err.automatic.resource.management.not.supported.in.source=\ 1226 automatic resource management is not supported in -source {0}\n\ 1227 (use -source 7 or higher to enable automatic resource management) 1228 1229 compiler.warn.enum.as.identifier=\ 1230 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ 1231 (use -source 5 or higher to use ''enum'' as a keyword) 1232 1233 compiler.warn.assert.as.identifier=\ 1234 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ 1235 (use -source 1.4 or higher to use ''assert'' as a keyword) 1236 1237 compiler.err.enum.as.identifier=\ 1238 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ 1239 (use -source 1.4 or lower to use ''enum'' as an identifier) 1240 1241 compiler.err.assert.as.identifier=\ 1242 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ 1243 (use -source 1.3 or lower to use ''assert'' as an identifier) 1244 1245 compiler.err.generics.not.supported.in.source=\ 1246 generics are not supported in -source {0}\n\ 1247 (use -source 5 or higher to enable generics) 1248 |