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