1 # 2 # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # 5 # This code is free software; you can redistribute it and/or modify it 6 # under the terms of the GNU General Public License version 2 only, as 7 # published by the Free Software Foundation. Oracle designates this 8 # particular file as subject to the "Classpath" exception as provided 9 # by Oracle in the LICENSE file that accompanied this code. 10 # 11 # This code is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 ## 27 ## errors 28 ## 29 30 compiler.err.abstract.cant.be.instantiated=\ 31 {0} is abstract; cannot be instantiated 32 compiler.err.abstract.meth.cant.have.body=\ 33 abstract methods cannot have a body 34 compiler.err.already.annotated=\ 35 {0} {1} has already been annotated 36 compiler.err.already.defined=\ 37 {0} is already defined in {1} 38 compiler.err.already.defined.single.import=\ 39 {0} is already defined in a single-type import 40 compiler.err.already.defined.static.single.import=\ 41 {0} is already defined in a static single-type import 42 compiler.err.already.defined.this.unit=\ 43 {0} is already defined in this compilation unit 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=\ 86 {0} {1} in {4} {5} cannot be applied to given types\n\ 87 required: {2}\n\ 88 found: {3} 89 compiler.err.cant.apply.symbol.1=\ 90 {0} {1} in {4} {5} cannot be applied to given types;\n\ 91 required: {2}\n\ 92 found: {3}\n\ 93 reason: {6} 94 compiler.err.cant.assign.val.to.final.var=\ 95 cannot assign a value to final variable {0} 96 compiler.err.cant.deref=\ 97 {0} cannot be dereferenced 98 compiler.err.cant.extend.intf.annotation=\ 99 ''extends'' not allowed for @interfaces 100 compiler.err.cant.inherit.from.final=\ 101 cannot inherit from final {0} 102 compiler.err.cant.ref.before.ctor.called=\ 103 cannot reference {0} before supertype constructor has been called 104 compiler.err.cant.ret.val.from.meth.decl.void=\ 105 cannot return a value from method whose result type is void 106 compiler.err.cant.select.static.class.from.param.type=\ 107 cannot select a static class from a parameterized type 108 compiler.err.cant.inherit.diff.arg=\ 109 {0} cannot be inherited with different arguments: <{1}> and <{2}> 110 compiler.err.catch.without.try=\ 111 ''catch'' without ''try'' 112 compiler.err.clash.with.pkg.of.same.name=\ 113 {0} clashes with package of same name 114 compiler.err.const.expr.req=\ 115 constant expression required 116 compiler.err.enum.const.req=\ 117 unqualified enumeration constant name required 118 compiler.err.cont.outside.loop=\ 119 continue outside of loop 120 compiler.err.cyclic.inheritance=\ 121 cyclic inheritance involving {0} 122 compiler.err.cyclic.annotation.element=\ 123 cyclic annotation element type 124 compiler.err.call.to.super.not.allowed.in.enum.ctor=\ 125 call to super not allowed in enum constructor 126 compiler.err.no.superclass=\ 127 {0} has no superclass 128 129 compiler.err.concrete.inheritance.conflict=\ 130 methods {0} from {1} and {2} from {3} are inherited with the same signature 131 132 compiler.err.default.allowed.in.intf.annotation.member=\ 133 default value only allowed in an @interface member 134 compiler.err.doesnt.exist=\ 135 package {0} does not exist 136 compiler.err.duplicate.annotation=\ 137 duplicate annotation 138 compiler.err.duplicate.annotation.member.value=\ 139 duplicate annotation member value {0} in {1} 140 compiler.err.duplicate.class=\ 141 duplicate class: {0} 142 compiler.err.duplicate.case.label=\ 143 duplicate case label 144 compiler.err.duplicate.default.label=\ 145 duplicate default label 146 147 compiler.err.else.without.if=\ 148 ''else'' without ''if'' 149 compiler.err.empty.bytecode.ident=\ 150 empty bytecode identifier 151 compiler.err.empty.char.lit=\ 152 empty character literal 153 compiler.err.encl.class.required=\ 154 an enclosing instance that contains {0} is required 155 compiler.err.enum.annotation.must.be.enum.constant=\ 156 an enum annotation value must be an enum constant 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.multicatch.parameter.may.not.be.assigned=\ 178 multi-catch parameter {0} may not be assigned 179 compiler.err.multicatch.param.must.be.final=\ 180 multi-catch parameter {0} must be final 181 compiler.err.finally.without.try=\ 182 ''finally'' without ''try'' 183 compiler.err.foreach.not.applicable.to.type=\ 184 foreach not applicable to expression type 185 compiler.err.fp.number.too.large=\ 186 floating point number too large 187 compiler.err.fp.number.too.small=\ 188 floating point number too small 189 190 compiler.err.generic.array.creation=\ 191 generic array creation 192 compiler.err.generic.throwable=\ 193 a generic class may not extend java.lang.Throwable 194 195 compiler.err.icls.cant.have.static.decl=\ 196 inner classes cannot have static declarations 197 compiler.err.illegal.bytecode.ident.char=\ 198 illegal bytecode identifier character: \\{0} 199 compiler.err.illegal.char=\ 200 illegal character: \\{0} 201 compiler.err.illegal.char.for.encoding=\ 202 unmappable character for encoding {0} 203 compiler.err.illegal.combination.of.modifiers=\ 204 illegal combination of modifiers: {0} and {1} 205 compiler.err.illegal.enum.static.ref=\ 206 illegal reference to static field from initializer 207 compiler.err.illegal.esc.char=\ 208 illegal escape character 209 compiler.err.illegal.forward.ref=\ 210 illegal forward reference 211 compiler.warn.forward.ref=\ 212 reference to variable ''{0}'' before it has been initialized 213 compiler.err.illegal.self.ref=\ 214 self-reference in initializer 215 compiler.warn.self.ref=\ 216 self-reference in initializer of variable ''{0}'' 217 compiler.err.illegal.generic.type.for.instof=\ 218 illegal generic type for instanceof 219 compiler.err.illegal.initializer.for.type=\ 220 illegal initializer for {0} 221 compiler.err.illegal.line.end.in.char.lit=\ 222 illegal line end in character literal 223 compiler.err.illegal.nonascii.digit=\ 224 illegal non-ASCII digit 225 compiler.err.illegal.underscore=\ 226 illegal underscore 227 compiler.err.illegal.qual.not.icls=\ 228 illegal qualifier; {0} is not an inner class 229 compiler.err.illegal.start.of.expr=\ 230 illegal start of expression 231 compiler.err.illegal.start.of.type=\ 232 illegal start of type 233 compiler.err.illegal.unicode.esc=\ 234 illegal unicode escape 235 compiler.err.import.requires.canonical=\ 236 import requires canonical name for {0} 237 compiler.err.improperly.formed.type.param.missing=\ 238 improperly formed type, some parameters are missing 239 compiler.err.improperly.formed.type.inner.raw.param=\ 240 improperly formed type, type parameters given on a raw type 241 compiler.err.incomparable.types=\ 242 incomparable types: {0} and {1} 243 compiler.err.int.number.too.large=\ 244 integer number too large: {0} 245 compiler.err.internal.error.cant.instantiate=\ 246 internal error; cannot instantiate {0} at {1} to ({2}) 247 compiler.err.intf.annotation.members.cant.have.params=\ 248 @interface members may not have parameters 249 compiler.err.intf.annotation.cant.have.type.params=\ 250 @interface may not have type parameters 251 compiler.err.intf.annotation.members.cant.have.type.params=\ 252 @interface members may not have type parameters 253 compiler.err.intf.annotation.member.clash=\ 254 @interface member clashes with method ''{0}'' in {1} 255 compiler.err.intf.expected.here=\ 256 interface expected here 257 compiler.err.intf.meth.cant.have.body=\ 258 interface methods cannot have body 259 compiler.err.invalid.annotation.member.type=\ 260 invalid type for annotation member 261 compiler.err.invalid.binary.number=\ 262 binary numbers must contain at least one binary digit 263 compiler.err.invalid.hex.number=\ 264 hexadecimal numbers must contain at least one hexadecimal digit 265 compiler.err.invalid.meth.decl.ret.type.req=\ 266 invalid method declaration; return type required 267 268 compiler.err.label.already.in.use=\ 269 label {0} already in use 270 compiler.err.local.var.accessed.from.icls.needs.final=\ 271 local variable {0} is accessed from within inner class; needs to be declared final 272 compiler.err.local.enum=\ 273 enum types must not be local 274 compiler.err.cannot.create.array.with.type.arguments=\ 275 cannot create array with type arguments 276 277 # 278 # limits. We don't give the limits in the diagnostic because we expect 279 # them to change, yet we want to use the same diagnostic. These are all 280 # detected during code generation. 281 # 282 compiler.err.limit.code=\ 283 code too large 284 compiler.err.limit.code.too.large.for.try.stmt=\ 285 code too large for try statement 286 compiler.err.limit.dimensions=\ 287 array type has too many dimensions 288 compiler.err.limit.locals=\ 289 too many local variables 290 compiler.err.limit.parameters=\ 291 too many parameters 292 compiler.err.limit.pool=\ 293 too many constants 294 compiler.err.limit.pool.in.class=\ 295 too many constants in class {0} 296 compiler.err.limit.stack=\ 297 code requires too much stack 298 compiler.err.limit.string=\ 299 constant string too long 300 compiler.err.limit.string.overflow=\ 301 UTF8 representation for string \"{0}...\" is too long for the constant pool 302 303 compiler.err.malformed.fp.lit=\ 304 malformed floating point literal 305 compiler.err.method.does.not.override.superclass=\ 306 method does not override or implement a method from a supertype 307 compiler.err.missing.meth.body.or.decl.abstract=\ 308 missing method body, or declare abstract 309 compiler.err.missing.ret.stmt=\ 310 missing return statement 311 compiler.err.missing.ret.val=\ 312 missing return value 313 compiler.err.mod.not.allowed.here=\ 314 modifier {0} not allowed here 315 compiler.err.intf.not.allowed.here=\ 316 interface not allowed here 317 compiler.err.enums.must.be.static=\ 318 enum declarations allowed only in static contexts 319 320 compiler.err.name.clash.same.erasure=\ 321 name clash: {0} and {1} have the same erasure 322 compiler.err.name.clash.same.erasure.no.override=\ 323 name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other 324 compiler.err.name.reserved.for.internal.use=\ 325 {0} is reserved for internal use 326 compiler.err.native.meth.cant.have.body=\ 327 native methods cannot have a body 328 compiler.err.neither.conditional.subtype=\ 329 incompatible types for ?: neither is a subtype of the other\n\ 330 second operand: {0}\n\ 331 third operand : {1} 332 compiler.err.new.not.allowed.in.annotation=\ 333 ''new'' not allowed in an annotation 334 compiler.err.no.annotation.member=\ 335 no annotation member {0} in {1} 336 compiler.err.no.encl.instance.of.type.in.scope=\ 337 no enclosing instance of type {0} is in scope 338 compiler.err.no.intf.expected.here=\ 339 no interface expected here 340 compiler.err.no.match.entry=\ 341 {0} has no match in entry in {1}; required {2} 342 compiler.err.not.annotation.type=\ 343 {0} is not an annotation type 344 compiler.err.not.def.access.class.intf.cant.access=\ 345 {0} in {1} is defined in an inaccessible class or interface 346 compiler.err.not.def.public.cant.access=\ 347 {0} is not public in {1}; cannot be accessed from outside package 348 compiler.err.not.loop.label=\ 349 not a loop label: {0} 350 compiler.err.not.stmt=\ 351 not a statement 352 compiler.err.not.encl.class=\ 353 not an enclosing class: {0} 354 355 compiler.err.operator.cant.be.applied=\ 356 operator {0} cannot be applied to {1} 357 358 compiler.err.pkg.annotations.sb.in.package-info.java=\ 359 package annotations should be in file package-info.java 360 compiler.err.pkg.clashes.with.class.of.same.name=\ 361 package {0} clashes with class of same name 362 363 compiler.err.warnings.and.werror=\ 364 warnings found and -Werror specified 365 366 # Errors related to annotation processing 367 368 compiler.err.proc.cant.access=\ 369 cannot access {0}\n\ 370 {1}\n\ 371 Consult the following stack trace for details.\n\ 372 {2} 373 374 compiler.err.proc.cant.find.class=\ 375 Could not find class file for ''{0}''. 376 377 # Print a client-generated error message; assumed to be localized, no translation required 378 compiler.err.proc.messager=\ 379 {0} 380 381 compiler.err.proc.no.explicit.annotation.processing.requested=\ 382 Class names, ''{0}'', are only accepted if annotation processing is explicitly requested 383 384 compiler.err.proc.no.service=\ 385 A service loader class could not be found.\n\ 386 Either java.util.ServiceLoader or sun.misc.Service must be available. 387 388 compiler.err.proc.processor.bad.option.name=\ 389 Bad option name ''{0}'' provided by processor ''{1}'' 390 391 compiler.err.proc.processor.cant.instantiate=\ 392 Could not instantiate an instance of processor ''{0}'' 393 394 compiler.err.proc.processor.constructor.error=\ 395 Exception thrown while constructing Processor object: {0} 396 397 compiler.err.proc.processor.not.found=\ 398 Annotation processor ''{0}'' not found 399 400 compiler.err.proc.processor.wrong.type=\ 401 Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor 402 403 compiler.err.proc.service.problem=\ 404 Error creating a service loader to load Processors. 405 406 compiler.err.proc.bad.config.file=\ 407 Bad service configuration file, or exception thrown while constructing Processor object: {0} 408 409 compiler.err.proc.cant.create.loader=\ 410 Could not create class loader for annotation processors: {0} 411 412 compiler.err.qualified.new.of.static.class=\ 413 qualified new of static class 414 415 compiler.err.recursive.ctor.invocation=\ 416 recursive constructor invocation 417 compiler.err.ref.ambiguous=\ 418 reference to {0} is ambiguous, both {1} {2} in {3} and {4} {5} in {6} match 419 compiler.err.repeated.annotation.target=\ 420 repeated annotation target 421 compiler.err.repeated.interface=\ 422 repeated interface 423 compiler.err.repeated.modifier=\ 424 repeated modifier 425 compiler.err.report.access=\ 426 {0} has {1} access in {2} 427 compiler.err.ret.outside.meth=\ 428 return outside method 429 430 compiler.err.signature.doesnt.match.supertype=\ 431 signature does not match {0}; incompatible supertype 432 compiler.err.signature.doesnt.match.intf=\ 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=\ 475 unclosed string literal 476 compiler.err.unknown.enum.constant=\ 477 in class file {0}: unknown enum constant {1}.{2} 478 compiler.err.unsupported.encoding=\ 479 unsupported encoding: {0} 480 compiler.err.io.exception=\ 481 error reading source file: {0} 482 compiler.err.undef.label=\ 483 undefined label: {0} 484 compiler.err.undetermined.type=\ 485 type parameters of {0} cannot be determined 486 compiler.err.undetermined.type.1=\ 487 type parameters of {0} cannot be determined; {1} 488 compiler.err.invalid.inferred.types=\ 489 invalid inferred types for {0}; {1} 490 compiler.err.cant.apply.diamond=\ 491 cannot infer type arguments for {0} 492 compiler.err.cant.apply.diamond.1=\ 493 cannot infer type arguments for {0};\n\ 494 reason: {1} 495 compiler.err.unreachable.stmt=\ 496 unreachable statement 497 compiler.err.initializer.must.be.able.to.complete.normally=\ 498 initializer must be able to complete normally 499 compiler.err.unreported.exception.need.to.catch.or.throw=\ 500 unreported exception {0}; must be caught or declared to be thrown 501 compiler.err.unreported.exception.default.constructor=\ 502 unreported exception {0} in default constructor 503 compiler.err.unsupported.cross.fp.lit=\ 504 hexadecimal floating-point literals are not supported on this VM 505 compiler.err.void.not.allowed.here=\ 506 ''void'' type not allowed here 507 508 compiler.err.wrong.number.type.args=\ 509 wrong number of type arguments; required {0} 510 511 compiler.err.var.might.already.be.assigned=\ 512 variable {0} might already have been assigned 513 compiler.err.var.might.not.have.been.initialized=\ 514 variable {0} might not have been initialized 515 compiler.err.var.might.be.assigned.in.loop=\ 516 variable {0} might be assigned in loop 517 518 # In the following string, {1} will always be the detail message from 519 # java.io.IOException. 520 compiler.err.class.cant.write=\ 521 error while writing {0}: {1} 522 523 # In the following string, {0} is the name of the class in the Java source. 524 # It really should be used two times.. 525 compiler.err.class.public.should.be.in.file=\ 526 class {0} is public, should be declared in a file named {0}.java 527 528 ## All errors which do not refer to a particular line in the source code are 529 ## preceded by this string. 530 compiler.err.error=\ 531 error:\u0020 532 533 # The following error messages do not refer to a line in the source code. 534 compiler.err.cant.read.file=\ 535 cannot read: {0} 536 537 ##### 538 539 # Fatal Errors 540 541 compiler.misc.fatal.err.no.java.lang=\ 542 Fatal Error: Unable to find package java.lang in classpath or bootclasspath 543 compiler.misc.fatal.err.cant.locate.meth=\ 544 Fatal Error: Unable to find method {0} 545 compiler.misc.fatal.err.cant.locate.field=\ 546 Fatal Error: Unable to find field {0} 547 compiler.misc.fatal.err.cant.locate.ctor=\ 548 Fatal Error: Unable to find constructor for {0} 549 550 ##### 551 552 ## 553 ## miscellaneous strings 554 ## 555 556 compiler.misc.source.unavailable=\ 557 (source unavailable) 558 compiler.misc.base.membership=\ 559 all your base class are belong to us 560 compiler.misc.x.print.processor.info=\ 561 Processor {0} matches {1} and returns {2}. 562 compiler.misc.x.print.rounds=\ 563 Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3} 564 565 ##### 566 567 ## The following string will appear before all messages keyed as: 568 ## "compiler.note". 569 compiler.note.note=\ 570 Note:\u0020 571 572 compiler.note.deprecated.filename=\ 573 {0} uses or overrides a deprecated API. 574 compiler.note.deprecated.plural=\ 575 Some input files use or override a deprecated API. 576 # The following string may appear after one of the above deprecation 577 # messages. 578 compiler.note.deprecated.recompile=\ 579 Recompile with -Xlint:deprecation for details. 580 581 compiler.note.deprecated.filename.additional=\ 582 {0} has additional uses or overrides of a deprecated API. 583 compiler.note.deprecated.plural.additional=\ 584 Some input files additionally use or override a deprecated API. 585 586 compiler.note.unchecked.filename=\ 587 {0} uses unchecked or unsafe operations. 588 compiler.note.unchecked.plural=\ 589 Some input files use unchecked or unsafe operations. 590 # The following string may appear after one of the above deprecation 591 # messages. 592 compiler.note.unchecked.recompile=\ 593 Recompile with -Xlint:unchecked for details. 594 595 compiler.note.unchecked.filename.additional=\ 596 {0} has additional unchecked or unsafe operations. 597 compiler.note.unchecked.plural.additional=\ 598 Some input files additionally use unchecked or unsafe operations. 599 600 compiler.note.varargs.filename=\ 601 {0} declares unsafe vararg methods. 602 compiler.note.varargs.plural=\ 603 Some input files declare unsafe vararg methods. 604 # The following string may appear after one of the above unsafe varargs 605 # messages. 606 compiler.note.varargs.recompile=\ 607 Recompile with -Xlint:varargs for details. 608 609 compiler.note.varargs.filename.additional=\ 610 {0} declares additional unsafe vararg methods. 611 compiler.note.varargs.plural.additional=\ 612 Some input files additionally declares unsafe vararg methods. 613 614 compiler.note.sunapi.filename=\ 615 {0} uses internal proprietary API that may be removed in a future release. 616 compiler.note.sunapi.plural=\ 617 Some input files use internal proprietary API that may be removed in a future release. 618 # The following string may appear after one of the above sunapi messages. 619 compiler.note.sunapi.recompile=\ 620 Recompile with -Xlint:sunapi for details. 621 622 compiler.note.sunapi.filename.additional=\ 623 {0} uses additional internal proprietary API that may be removed in a future release. 624 compiler.note.sunapi.plural.additional=\ 625 Some input files additionally use internal proprietary API that may be removed in a future release. 626 627 # Notes related to annotation processing 628 629 # Print a client-generated note; assumed to be localized, no translation required 630 compiler.note.proc.messager=\ 631 {0} 632 633 ##### 634 635 compiler.misc.count.error=\ 636 {0} error 637 compiler.misc.count.error.plural=\ 638 {0} errors 639 compiler.misc.count.warn=\ 640 {0} warning 641 compiler.misc.count.warn.plural=\ 642 {0} warnings 643 644 ## extra output when using -verbose (JavaCompiler) 645 646 compiler.misc.verbose.checking.attribution=\ 647 [checking {0}] 648 compiler.misc.verbose.parsing.done=\ 649 [parsing completed {0}ms] 650 compiler.misc.verbose.parsing.started=\ 651 [parsing started {0}] 652 compiler.misc.verbose.total=\ 653 [total {0}ms] 654 compiler.misc.verbose.wrote.file=\ 655 [wrote {0}] 656 657 ## extra output when using -verbose (Retro) 658 compiler.misc.verbose.retro=\ 659 [retrofitting {0}] 660 compiler.misc.verbose.retro.with=\ 661 \tretrofitting {0} with {1} 662 compiler.misc.verbose.retro.with.list=\ 663 \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3} 664 665 ## extra output when using -verbose (code/ClassReader) 666 compiler.misc.verbose.loading=\ 667 [loading {0}] 668 669 compiler.misc.verbose.sourcepath=\ 670 [search path for source files: {0}] 671 672 compiler.misc.verbose.classpath=\ 673 [search path for class files: {0}] 674 675 ## extra output when using -checkclassfile (code/ClassReader) 676 compiler.misc.ccf.found.later.version=\ 677 class file has later version than expected: {0} 678 compiler.misc.ccf.unrecognized.attribute=\ 679 unrecognized attribute: {0} 680 681 ## extra output when using -prompt (util/Log) 682 compiler.misc.resume.abort=\ 683 R)esume, A)bort> 684 685 ##### 686 687 ## 688 ## warnings 689 ## 690 691 ## All warning messages are preceded by the following string. 692 compiler.warn.warning=\ 693 warning:\u0020 694 695 compiler.warn.constant.SVUID=\ 696 [serial] serialVersionUID must be constant in class {0} 697 698 compiler.warn.dir.path.element.not.found=\ 699 [path] bad path element "{0}": no such directory 700 701 compiler.warn.finally.cannot.complete=\ 702 [finally] finally clause cannot complete normally 703 704 compiler.warn.has.been.deprecated=\ 705 [deprecation] {0} in {1} has been deprecated 706 707 compiler.warn.sun.proprietary=\ 708 {0} is internal proprietary API and may be removed in a future release 709 710 compiler.warn.illegal.char.for.encoding=\ 711 unmappable character for encoding {0} 712 compiler.warn.improper.SVUID=\ 713 [serial] serialVersionUID must be declared static final in class {0} 714 715 compiler.warn.inexact.non-varargs.call=\ 716 non-varargs call of varargs method with inexact argument type for last parameter;\n\ 717 cast to {0} for a varargs call\n\ 718 cast to {1} for a non-varargs call and to suppress this warning 719 720 compiler.warn.long.SVUID=\ 721 [serial] serialVersionUID must be of type long in class {0} 722 723 compiler.warn.missing.SVUID=\ 724 [serial] serializable class {0} has no definition of serialVersionUID 725 726 compiler.warn.override.varargs.missing=\ 727 {0}; overridden method has no ''...'' 728 compiler.warn.override.varargs.extra=\ 729 {0}; overriding method is missing ''...'' 730 compiler.warn.override.bridge=\ 731 {0}; overridden method is a bridge method 732 733 compiler.warn.pkg-info.already.seen=\ 734 a package-info.java file has already been seen for package {0} 735 compiler.warn.path.element.not.found=\ 736 [path] bad path element "{0}": no such file or directory 737 compiler.warn.possible.fall-through.into.case=\ 738 [fallthrough] possible fall-through into case 739 740 compiler.warn.redundant.cast=\ 741 [cast] redundant cast to {0} 742 743 compiler.warn.position.overflow=\ 744 Position encoding overflows at line {0} 745 746 compiler.warn.big.major.version=\ 747 {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\ 748 It is recommended that the compiler be upgraded. 749 750 compiler.warn.static.not.qualified.by.type=\ 751 [static] static {0} should be qualified by type name, {1}, instead of by an expression 752 753 # Warnings related to annotation processing 754 compiler.warn.proc.package.does.not.exist=\ 755 package {0} does not exist 756 compiler.warn.proc.file.reopening=\ 757 Attempt to create a file for ''{0}'' multiple times 758 759 compiler.warn.proc.type.already.exists=\ 760 A file for type ''{0}'' already exists on the sourcepath or classpath 761 762 compiler.warn.proc.type.recreate=\ 763 Attempt to create a file for type ''{0}'' multiple times 764 765 compiler.warn.proc.illegal.file.name=\ 766 Cannot create file for illegal name ''{0}''. 767 768 compiler.warn.proc.file.create.last.round=\ 769 File for type ''{0}'' created in the last round will not be subject to annotation processing. 770 771 compiler.warn.proc.malformed.supported.string=\ 772 Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}'' 773 774 compiler.warn.proc.annotations.without.processors=\ 775 No processor claimed any of these annotations: {0} 776 777 compiler.warn.proc.processor.incompatible.source.version=\ 778 Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}'' 779 780 compiler.warn.proc.proc-only.requested.no.procs=\ 781 Annotation processing without compilation requested but no processors were found. 782 783 compiler.warn.proc.use.implicit=\ 784 Implicitly compiled files were not subject to annotation processing.\n\ 785 Use -implicit to specify a policy for implicit compilation. 786 787 compiler.warn.proc.use.proc.or.implicit=\ 788 Implicitly compiled files were not subject to annotation processing.\n\ 789 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. 790 791 # Print a client-generated warning; assumed to be localized, no translation required 792 compiler.warn.proc.messager=\ 793 {0} 794 795 compiler.warn.proc.unclosed.type.files=\ 796 Unclosed files for the types ''{0}''; these types will not undergo annotation processing 797 798 compiler.warn.proc.unmatched.processor.options=\ 799 The following options were not recognized by any processor: ''{0}'' 800 801 compiler.warn.unchecked.assign=\ 802 [unchecked] unchecked assignment: {0} to {1} 803 compiler.warn.unchecked.assign.to.var=\ 804 [unchecked] unchecked assignment to variable {0} as member of raw type {1} 805 compiler.warn.unchecked.call.mbr.of.raw.type=\ 806 [unchecked] unchecked call to {0} as a member of the raw type {1} 807 compiler.warn.unchecked.cast.to.type=\ 808 [unchecked] unchecked cast to type {0} 809 compiler.warn.unchecked.meth.invocation.applied=\ 810 [unchecked] unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\ 811 required: {2}\n\ 812 found: {3} 813 814 compiler.warn.unchecked.generic.array.creation=\ 815 [unchecked] unchecked generic array creation for varargs parameter of type {0} 816 817 compiler.warn.varargs.non.reifiable.type=\ 818 [varargs] Possible heap pollution from parameterized vararg type {0} 819 820 compiler.warn.missing.deprecated.annotation=\ 821 [dep-ann] deprecated item is not annotated with @Deprecated 822 823 compiler.warn.invalid.archive.file=\ 824 [path] Unexpected file on path: {0} 825 826 compiler.warn.unexpected.archive.file=\ 827 [path] Unexpected extension for archive file: {0} 828 829 compiler.warn.div.zero=\ 830 [divzero] division by zero 831 832 compiler.warn.empty.if=\ 833 [empty] empty statement after if 834 835 compiler.warn.annotation.method.not.found=\ 836 Cannot find annotation method ''{1}()'' in type ''{0}'' 837 838 compiler.warn.annotation.method.not.found.reason=\ 839 Cannot find annotation method ''{1}()'' in type ''{0}'': {2} 840 841 compiler.warn.raw.class.use=\ 842 [rawtypes] found raw type: {0}\n\ 843 missing type parameters for generic class {1} 844 845 ##### 846 847 ## The following are tokens which are non-terminals in the language. They should 848 ## be named as JLS3 calls them when translated to the appropriate language. 849 compiler.misc.token.identifier=\ 850 <identifier> 851 compiler.misc.token.character=\ 852 <character> 853 compiler.misc.token.string=\ 854 <string> 855 compiler.misc.token.integer=\ 856 <integer> 857 compiler.misc.token.long-integer=\ 858 <long integer> 859 compiler.misc.token.float=\ 860 <float> 861 compiler.misc.token.double=\ 862 <double> 863 compiler.misc.token.bad-symbol=\ 864 <bad symbol> 865 compiler.misc.token.end-of-input=\ 866 <end of input> 867 868 ## The argument to the following string will always be one of the following: 869 ## 1. one of the above non-terminals 870 ## 2. a keyword (JLS1.8) 871 ## 3. a boolean literal (JLS3.10.3) 872 ## 4. the null literal (JLS3.10.7) 873 ## 5. a Java separator (JLS3.11) 874 ## 6. an operator (JLS3.12) 875 ## 876 ## This is the only place these tokens will be used. 877 compiler.err.expected=\ 878 {0} expected 879 compiler.err.expected2=\ 880 {0} or {1} expected 881 compiler.err.expected3=\ 882 {0}, {1}, or {2} expected 883 884 compiler.err.premature.eof=\ 885 reached end of file while parsing 886 887 ## The following are related in form, but do not easily fit the above paradigm. 888 compiler.err.dot.class.expected=\ 889 ''.class'' expected 890 891 ## The argument to this string will always be either 'case' or 'default'. 892 compiler.err.orphaned=\ 893 orphaned {0} 894 895 compiler.misc.anonymous.class=\ 896 <anonymous {0}> 897 898 compiler.misc.type.captureof=\ 899 capture#{0} of {1} 900 901 compiler.misc.type.captureof.1=\ 902 capture#{0} 903 904 compiler.misc.type.none=\ 905 <none> 906 907 compiler.misc.unnamed.package=\ 908 unnamed package 909 910 ##### 911 912 compiler.err.cant.access=\ 913 cannot access {0}\n\ 914 {1} 915 916 compiler.misc.bad.class.file.header=\ 917 bad class file: {0}\n\ 918 {1}\n\ 919 Please remove or make sure it appears in the correct subdirectory of the classpath. 920 compiler.misc.bad.source.file.header=\ 921 bad source file: {0}\n\ 922 {1}\n\ 923 Please remove or make sure it appears in the correct subdirectory of the sourcepath. 924 925 ## The following are all possible strings for the second argument ({1}) of the 926 ## above strings. 927 compiler.misc.bad.class.signature=\ 928 bad class signature: {0} 929 compiler.misc.bad.enclosing.method=\ 930 bad enclosing method attribute: {0} 931 compiler.misc.bad.runtime.invisible.param.annotations=\ 932 bad RuntimeInvisibleParameterAnnotations attribute: {0} 933 compiler.misc.bad.const.pool.tag=\ 934 bad constant pool tag: {0} 935 compiler.misc.bad.const.pool.tag.at=\ 936 bad constant pool tag: {0} at {1} 937 compiler.misc.bad.signature=\ 938 bad signature: {0} 939 compiler.misc.bad.type.annotation.value=\ 940 bad type annotation target type value: {0} 941 compiler.misc.class.file.wrong.class=\ 942 class file contains wrong class: {0} 943 compiler.misc.class.file.not.found=\ 944 class file for {0} not found 945 compiler.misc.file.doesnt.contain.class=\ 946 file does not contain class {0} 947 compiler.misc.file.does.not.contain.package=\ 948 file does not contain package {0} 949 compiler.misc.illegal.start.of.class.file=\ 950 illegal start of class file 951 compiler.misc.unable.to.access.file=\ 952 unable to access file: {0} 953 compiler.misc.unicode.str.not.supported=\ 954 unicode string in class file not supported 955 compiler.misc.undecl.type.var=\ 956 undeclared type variable: {0} 957 compiler.misc.wrong.version=\ 958 class file has wrong version {0}.{1}, should be {2}.{3} 959 960 ##### 961 962 compiler.err.not.within.bounds=\ 963 type parameter {0} is not within its bound 964 965 compiler.err.not.within.bounds.explain=\ 966 type parameter {0} is not within its bound; {1} 967 968 ## The following are all possible strings for the second argument ({1}) of the 969 ## above string. 970 971 ## none yet... 972 973 ##### 974 975 compiler.err.prob.found.req=\ 976 {0}\n\ 977 required: {2}\n\ 978 found: {1} 979 compiler.warn.prob.found.req=\ 980 {0}\n\ 981 required: {2}\n\ 982 found: {1} 983 compiler.err.prob.found.req.1=\ 984 {0} {3}\n\ 985 required: {2}\n\ 986 found: {1} 987 988 ## The following are all possible strings for the first argument ({0}) of the 989 ## above strings. 990 compiler.misc.incompatible.types=\ 991 incompatible types 992 compiler.misc.incompatible.types.1=\ 993 incompatible types; {0} 994 compiler.misc.inconvertible.types=\ 995 inconvertible types 996 compiler.misc.possible.loss.of.precision=\ 997 possible loss of precision 998 999 compiler.misc.unchecked.assign=\ 1000 [unchecked] unchecked conversion 1001 # compiler.misc.storecheck=\ 1002 # [unchecked] assignment might cause later store checks to fail 1003 # compiler.misc.unchecked=\ 1004 # [unchecked] assigned array cannot dynamically check its stores 1005 compiler.misc.unchecked.cast.to.type=\ 1006 [unchecked] unchecked cast 1007 1008 compiler.misc.assignment.from.super-bound=\ 1009 assignment from super-bound type {0} 1010 compiler.misc.assignment.to.extends-bound=\ 1011 assignment to extends-bound type {0} 1012 # compiler.err.star.expected=\ 1013 # ''*'' expected 1014 # compiler.err.no.elem.type=\ 1015 # \[\*\] cannot have a type 1016 1017 ##### 1018 1019 compiler.err.type.found.req=\ 1020 unexpected type\n\ 1021 required: {1}\n\ 1022 found: {0} 1023 1024 ## The following are all possible strings for the first argument ({0}) of the 1025 ## above string. 1026 compiler.misc.type.req.class=\ 1027 class 1028 compiler.misc.type.req.class.array=\ 1029 class or array 1030 compiler.misc.type.req.ref=\ 1031 reference 1032 compiler.misc.type.req.exact=\ 1033 class or interface without bounds 1034 compiler.misc.type.parameter=\ 1035 type parameter {0} 1036 1037 ##### 1038 1039 ## The following are all possible strings for the last argument of all those 1040 ## diagnostics whose key ends in ".1" 1041 compiler.misc.undetermined.type=\ 1042 undetermined type 1043 ncompiler.misc.type.variable.has.undetermined.type=\ 1044 type variable {0} has undetermined type 1045 compiler.misc.no.unique.maximal.instance.exists=\ 1046 no unique maximal instance exists for type variable {0} with upper bounds {1} 1047 compiler.misc.no.unique.minimal.instance.exists=\ 1048 no unique minimal instance exists for type variable {0} with lower bounds {1} 1049 compiler.misc.no.conforming.instance.exists=\ 1050 no instance(s) of type variable(s) {0} exist so that {1} conforms to {2} 1051 compiler.misc.no.conforming.assignment.exists=\ 1052 no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to formal parameter type {2} 1053 compiler.misc.arg.length.mismatch=\ 1054 cannot instantiate from arguments because actual and formal argument lists differ in length 1055 compiler.misc.inferred.do.not.conform.to.bounds=\ 1056 inferred type does not conform to declared bound(s)\n\ 1057 inferred: {0}\n\ 1058 bound(s): {1} 1059 compiler.misc.inferred.do.not.conform.to.params=\ 1060 actual arguments do not conform to inferred formal arguments\n\ 1061 required: {0}\n\ 1062 found: {1} 1063 compiler.misc.diamond=\ 1064 {0}<> 1065 compiler.misc.diamond.invalid.arg=\ 1066 type argument {0} inferred for {1} is not allowed in this context 1067 compiler.misc.diamond.invalid.args=\ 1068 type arguments {0} inferred for {1} are not allowed in this context 1069 ##### 1070 1071 ## The first argument ({0}) is a "kindname". 1072 compiler.err.abstract.cant.be.accessed.directly=\ 1073 abstract {0} {1} in {2} cannot be accessed directly 1074 1075 ## The first argument ({0}) is a "kindname". 1076 compiler.err.non-static.cant.be.ref=\ 1077 non-static {0} {1} cannot be referenced from a static context 1078 1079 ## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list 1080 ## of kindnames (the list should be identical to that provided in source. 1081 compiler.err.unexpected.type=\ 1082 unexpected type\n\ 1083 required: {0}\n\ 1084 found: {1} 1085 1086 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.) 1087 ## The second argument {1} is the non-resolved symbol 1088 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method) 1089 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method) 1090 compiler.err.cant.resolve=\ 1091 cannot find symbol\n\ 1092 symbol: {0} {1} 1093 1094 compiler.err.cant.resolve.args=\ 1095 cannot find symbol\n\ 1096 symbol: {0} {1}({3}) 1097 1098 compiler.err.cant.resolve.args.params=\ 1099 cannot find symbol\n\ 1100 symbol: {0} <{2}>{1}({3}) 1101 1102 ## arguments from {0} to {3} have the same meaning as above 1103 ## The fifth argument {4} is the location "kindname" (e.g. 'constructor', 'field', etc.) 1104 ## The sixth argument {5} is the location type 1105 compiler.err.cant.resolve.location=\ 1106 cannot find symbol\n\ 1107 symbol: {0} {1}\n\ 1108 location: {4} {5} 1109 1110 compiler.err.cant.resolve.location.args=\ 1111 cannot find symbol\n\ 1112 symbol: {0} {1}({3})\n\ 1113 location: {4} {5} 1114 1115 compiler.err.cant.resolve.location.args.params=\ 1116 cannot find symbol\n\ 1117 symbol: {0} <{2}>{1}({3})\n\ 1118 location: {4} {5} 1119 1120 ## The following are all possible string for "kindname". 1121 ## They should be called whatever the JLS calls them after it been translated 1122 ## to the appropriate language. 1123 # compiler.misc.kindname.constructor=\ 1124 # static member 1125 compiler.misc.kindname.annotation=\ 1126 @interface 1127 compiler.misc.kindname.constructor=\ 1128 constructor 1129 compiler.misc.kindname.interface=\ 1130 interface 1131 compiler.misc.kindname.static=\ 1132 static 1133 compiler.misc.kindname.type.variable=\ 1134 type variable 1135 compiler.misc.kindname.type.variable.bound=\ 1136 bound of type variable 1137 compiler.misc.kindname.variable=\ 1138 variable 1139 compiler.misc.kindname.value=\ 1140 value 1141 compiler.misc.kindname.method=\ 1142 method 1143 compiler.misc.kindname.class=\ 1144 class 1145 compiler.misc.kindname.package=\ 1146 package 1147 ##### 1148 1149 compiler.misc.no.args=\ 1150 no arguments 1151 1152 compiler.err.override.static=\ 1153 {0}\n\ 1154 overriding method is static 1155 compiler.err.override.meth=\ 1156 {0}\n\ 1157 overridden method is {1} 1158 1159 compiler.err.override.meth.doesnt.throw=\ 1160 {0}\n\ 1161 overridden method does not throw {1} 1162 1163 # In the following string {1} is a space separated list of Java Keywords, as 1164 # they would have been declared in the source code 1165 compiler.err.override.weaker.access=\ 1166 {0}\n\ 1167 attempting to assign weaker access privileges; was {1} 1168 1169 compiler.err.override.incompatible.ret=\ 1170 {0}\n\ 1171 return type {1} is not compatible with {2} 1172 1173 compiler.warn.override.unchecked.ret=\ 1174 [unchecked] {0}\n\ 1175 return type requires unchecked conversion from {1} to {2} 1176 1177 compiler.warn.override.unchecked.thrown=\ 1178 [unchecked] {0}\n\ 1179 overridden method does not throw {1} 1180 1181 ## The following are all possible strings for the first argument ({0}) of the 1182 ## above strings. 1183 compiler.misc.cant.override=\ 1184 {0} in {1} cannot override {2} in {3} 1185 compiler.misc.cant.implement=\ 1186 {0} in {1} cannot implement {2} in {3} 1187 compiler.misc.clashes.with=\ 1188 {0} in {1} clashes with {2} in {3} 1189 compiler.misc.unchecked.override=\ 1190 {0} in {1} overrides {2} in {3} 1191 compiler.misc.unchecked.implement=\ 1192 {0} in {1} implements {2} in {3} 1193 compiler.misc.unchecked.clash.with=\ 1194 {0} in {1} overrides {2} in {3} 1195 compiler.misc.varargs.override=\ 1196 {0} in {1} overrides {2} in {3} 1197 compiler.misc.varargs.implement=\ 1198 {0} in {1} implements {2} in {3} 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 1246 compiler.err.varargs.not.supported.in.source=\ 1247 variable-arity methods are not supported in -source {0}\n\ 1248 (use -source 5 or higher to enable variable-arity methods) 1249 1250 compiler.err.annotations.not.supported.in.source=\ 1251 annotations are not supported in -source {0}\n\ 1252 (use -source 5 or higher to enable annotations) 1253 1254 compiler.err.type.annotations.not.supported.in.source=\ 1255 type annotations are not supported in -source {0}\n\ 1256 (use -source 7 or higher to enable type annotations) 1257 1258 compiler.err.foreach.not.supported.in.source=\ 1259 for-each loops are not supported in -source {0}\n\ 1260 (use -source 5 or higher to enable for-each loops) 1261 1262 compiler.err.static.import.not.supported.in.source=\ 1263 static import declarations are not supported in -source {0}\n\ 1264 (use -source 5 or higher to enable static import declarations) 1265 1266 compiler.err.enums.not.supported.in.source=\ 1267 enums are not supported in -source {0}\n\ 1268 (use -source 5 or higher to enable enums) 1269 1270 compiler.err.multicatch.not.supported.in.source=\ 1271 multi-catch statement is not supported in -source {0}\n\ 1272 (use -source 7 or higher to enable multi-catch statement) 1273 1274 compiler.err.string.switch.not.supported.in.source=\ 1275 strings in switch are not supported in -source {0}\n\ 1276 (use -source 7 or higher to enable strings in switch) 1277 1278 ######################################## 1279 # Diagnostics for where clause implementation 1280 # used by the RichDiagnosticFormatter. 1281 ######################################## 1282 1283 compiler.misc.type.null=\ 1284 <null> 1285 1286 # X#n (where n is an int id) is disambiguated tvar name 1287 compiler.misc.type.var=\ 1288 {0}#{1} 1289 1290 # CAP#n (where n is an int id) is an abbreviation for 'captured type' 1291 compiler.misc.captured.type=\ 1292 CAP#{0} 1293 1294 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type' 1295 compiler.misc.intersection.type=\ 1296 INT#{0} 1297 1298 # where clause for captured type: contains upper ('extends {1}') and lower 1299 # ('super {2}') bound along with the wildcard that generated this captured type ({3}) 1300 compiler.misc.where.captured=\ 1301 {0} extends {1} super: {2} from capture of {3} 1302 1303 # compact where clause for captured type: contains upper ('extends {1}') along 1304 # with the wildcard that generated this captured type ({3}) 1305 compiler.misc.where.captured.1=\ 1306 {0} extends {1} from capture of {3} 1307 1308 # where clause for type variable: contains upper bound(s) ('extends {1}') along with 1309 # the kindname ({2}) and location ({3}) in which the typevar has been declared 1310 compiler.misc.where.typevar=\ 1311 {0} extends {1} declared in {2} {3} 1312 1313 # compact where clause for type variable: contains the kindname ({2}) and location ({3}) 1314 # in which the typevar has been declared 1315 compiler.misc.where.typevar.1=\ 1316 {0} declared in {2} {3} 1317 1318 # where clause for type variable: contains all the upper bound(s) ('extends {1}') 1319 # of this intersection type 1320 compiler.misc.where.intersection=\ 1321 {0} extends {1} 1322 1323 ### Where clause headers ### 1324 compiler.misc.where.description.captured=\ 1325 where {0} is a fresh type-variable: 1326 compiler.misc.where.description.typevar=\ 1327 where {0} is a type-variable: 1328 compiler.misc.where.description.intersection=\ 1329 where {0} is an intersection type: 1330 compiler.misc.where.description.captured.1=\ 1331 where {0} are fresh type-variables: 1332 compiler.misc.where.description.typevar.1=\ 1333 where {0} are type-variables: 1334 compiler.misc.where.description.intersection.1=\ 1335 where {0} are intersection types: 1336 1337