1 # 2 # Copyright (c) 1999, 2019, 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 # Messages in this file which use "placeholders" for values (e.g. {0}, {1}) 27 # are preceded by a stylized comment describing the type of the corresponding 28 # values. 29 # The simple types currently in use are: 30 # 31 # annotation annotation compound 32 # boolean true or false 33 # diagnostic a sub-message; see compiler.misc.* 34 # fragment similar to 'message segment', but with more specific type 35 # modifier a Java modifier; e.g. public, private, protected 36 # file a file URL 37 # file object a file URL - similar to 'file' but typically used for source/class files, hence more specific 38 # flag a Flags.Flag instance 39 # name a name, typically a Java identifier 40 # number an integer 41 # option name the name of a command line option 42 # path a path 43 # profile a profile name 44 # source a source version number, such as 1.5, 1.6, 1.7, taken from a com.sun.tools.javac.code.Source 45 # source version a source version number, such as 1.5, 1.6, 1.7, taken from a javax.lang.model.SourceVersion 46 # string a general string 47 # symbol the name of a declared type 48 # symbol kind the kind of a symbol (i.e. method, variable) 49 # kind name an informative description of the kind of a declaration; see compiler.misc.kindname.* 50 # target a target version number, such as 1.5, 1.6, 1.7, taken from a com.sun.tools.javac.jvm.Target 51 # token the name of a non-terminal in source code; see compiler.misc.token.* 52 # tree tag the name of a non-terminal in source code; see compiler.misc.token.* 53 # type a Java type; e.g. int, X, X<T> 54 # url a URL 55 # object a Java object (unspecified) 56 # unused the value is not used in this message 57 # 58 # The following compound types are also used: 59 # 60 # collection of X a comma-separated collection of items; e.g. collection of type 61 # list of X a comma-separated list of items; e.g. list of type 62 # set of X a comma-separated set of items; e.g. set of modifier 63 # 64 # These may be composed: 65 # 66 # list of type or message segment 67 # 68 # The following type aliases are supported: 69 # 70 # message segment --> diagnostic or fragment 71 # file name --> file, path or file object 72 # 73 # Custom comments are supported in parenthesis i.e. 74 # 75 # number (classfile major version) 76 # 77 # These comments are used internally in order to generate an enum-like class declaration containing 78 # a method/field for each of the diagnostic keys listed here. Those methods/fields can then be used 79 # by javac code to build diagnostics in a type-safe fashion. 80 # 81 # In addition, these comments are verified by the jtreg test test/tools/javac/diags/MessageInfo, 82 # using info derived from the collected set of examples in test/tools/javac/diags/examples. 83 # MessageInfo can also be run as a standalone utility providing more facilities 84 # for manipulating this file. For more details, see MessageInfo.java. 85 86 ## 87 ## errors 88 ## 89 90 # 0: symbol 91 compiler.err.abstract.cant.be.instantiated=\ 92 {0} is abstract; cannot be instantiated 93 94 compiler.err.abstract.meth.cant.have.body=\ 95 abstract methods cannot have a body 96 97 # 0: kind name, 1: symbol 98 compiler.err.already.annotated=\ 99 {0} {1} has already been annotated 100 101 # 0: kind name, 1: symbol, 2: kind name, 3: symbol 102 compiler.err.already.defined=\ 103 {0} {1} is already defined in {2} {3} 104 105 # 0: kind name, 1: symbol, 2: kind name, 3: kind name, 4: symbol 106 compiler.err.already.defined.in.clinit=\ 107 {0} {1} is already defined in {2} of {3} {4} 108 109 # 0: symbol 110 compiler.err.already.defined.single.import=\ 111 a type with the same simple name is already defined by the single-type-import of {0} 112 113 # 0: symbol 114 compiler.err.already.defined.static.single.import=\ 115 a type with the same simple name is already defined by the static single-type-import of {0} 116 117 # 0: symbol 118 compiler.err.already.defined.this.unit=\ 119 {0} is already defined in this compilation unit 120 121 # 0: type, 1: list of name 122 compiler.err.annotation.missing.default.value=\ 123 annotation @{0} is missing a default value for the element ''{1}'' 124 125 # 0: type, 1: list of name 126 compiler.err.annotation.missing.default.value.1=\ 127 annotation @{0} is missing default values for elements {1} 128 129 # 0: type 130 compiler.err.annotation.not.valid.for.type=\ 131 annotation not valid for an element of type {0} 132 133 compiler.err.annotation.type.not.applicable=\ 134 annotation type not applicable to this kind of declaration 135 136 # 0: type 137 compiler.err.annotation.type.not.applicable.to.type=\ 138 annotation @{0} not applicable in this type context 139 140 compiler.err.annotation.value.must.be.annotation=\ 141 annotation value must be an annotation 142 143 compiler.err.annotation.value.must.be.class.literal=\ 144 annotation value must be a class literal 145 146 compiler.err.annotation.value.must.be.name.value=\ 147 annotation values must be of the form ''name=value'' 148 149 compiler.err.annotation.value.not.allowable.type=\ 150 annotation value not of an allowable type 151 152 compiler.err.expression.not.allowable.as.annotation.value=\ 153 expression not allowed as annotation value 154 155 compiler.err.anon.class.impl.intf.no.args=\ 156 anonymous class implements interface; cannot have arguments 157 158 compiler.err.anon.class.impl.intf.no.typeargs=\ 159 anonymous class implements interface; cannot have type arguments 160 161 compiler.err.anon.class.impl.intf.no.qual.for.new=\ 162 anonymous class implements interface; cannot have qualifier for new 163 164 compiler.err.cant.inherit.from.anon=\ 165 cannot inherit from anonymous class 166 167 # 0: symbol, 1: symbol, 2: symbol 168 compiler.err.array.and.varargs=\ 169 cannot declare both {0} and {1} in {2} 170 171 compiler.err.array.dimension.missing=\ 172 array dimension missing 173 174 compiler.err.illegal.array.creation.both.dimension.and.initialization=\ 175 array creation with both dimension expression and initialization is illegal 176 177 # 0: type 178 compiler.err.array.req.but.found=\ 179 array required, but {0} found 180 181 compiler.err.attribute.value.must.be.constant=\ 182 element value must be a constant expression 183 184 # 0: string (statement type) 185 compiler.err.bad.initializer=\ 186 bad initializer for {0} 187 188 compiler.err.break.outside.switch.loop=\ 189 break outside switch or loop 190 191 compiler.err.break.missing.value=\ 192 missing break value 193 194 compiler.err.break.outside.switch.expression=\ 195 break outside of enclosing switch expression 196 197 compiler.err.continue.outside.switch.expression=\ 198 continue outside of enclosing switch expression 199 200 compiler.err.return.outside.switch.expression=\ 201 return outside of enclosing switch expression 202 203 compiler.err.rule.completes.normally=\ 204 switch rule completes without providing a value\n\ 205 (switch rules in switch expressions must either provide a value or throw) 206 207 compiler.err.switch.expression.completes.normally=\ 208 switch expression completes without providing a value\n\ 209 (switch expressions must either provide a value or throw for all possible input values) 210 211 # 0: name 212 compiler.err.break.ambiguous.target=\ 213 ambiguous reference to ''{0}''\n\ 214 (''{0}'' is both a label and an expression) 215 216 # 0: tree tag 217 compiler.err.break.expr.not.immediate=\ 218 value break not supported in ''{0}'' 219 220 compiler.err.break.complex.value.no.switch.expression=\ 221 unexpected value break 222 223 compiler.err.switch.expression.empty=\ 224 switch expression does not have any case clauses 225 226 # 0: name 227 compiler.err.call.must.be.first.stmt.in.ctor=\ 228 call to {0} must be first statement in constructor 229 230 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment 231 compiler.err.cant.apply.symbol=\ 232 {0} {1} in {4} {5} cannot be applied to given types;\n\ 233 required: {2}\n\ 234 found: {3}\n\ 235 reason: {6} 236 237 # 0: symbol kind, 1: name, 2: list of type 238 compiler.err.cant.apply.symbols=\ 239 no suitable {0} found for {1}({2}) 240 241 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment 242 compiler.misc.cant.apply.symbol=\ 243 {0} {1} in {4} {5} cannot be applied to given types\n\ 244 required: {2}\n\ 245 found: {3}\n\ 246 reason: {6} 247 248 # 0: symbol kind, 1: name, 2: list of type 249 compiler.misc.cant.apply.symbols=\ 250 no suitable {0} found for {1}({2}) 251 252 # 0: kind name, 1: symbol 253 compiler.misc.no.abstracts=\ 254 no abstract method found in {0} {1} 255 256 # 0: kind name, 1: symbol 257 compiler.misc.incompatible.abstracts=\ 258 multiple non-overriding abstract methods found in {0} {1} 259 260 compiler.err.bad.functional.intf.anno=\ 261 Unexpected @FunctionalInterface annotation 262 263 # 0: message segment 264 compiler.err.bad.functional.intf.anno.1=\ 265 Unexpected @FunctionalInterface annotation\n\ 266 {0} 267 268 # 0: message segment 269 compiler.err.anonymous.diamond.method.does.not.override.superclass=\ 270 method does not override or implement a method from a supertype\n\ 271 {0} 272 273 # 0: symbol 274 compiler.misc.not.a.functional.intf=\ 275 {0} is not a functional interface 276 277 # 0: symbol, 1: message segment 278 compiler.misc.not.a.functional.intf.1=\ 279 {0} is not a functional interface\n\ 280 {1} 281 282 # 0: type, 1: kind name, 2: symbol 283 compiler.misc.invalid.generic.lambda.target=\ 284 invalid functional descriptor for lambda expression\n\ 285 method {0} in {1} {2} is generic 286 287 # 0: kind name, 1: symbol 288 compiler.misc.incompatible.descs.in.functional.intf=\ 289 incompatible function descriptors found in {0} {1} 290 291 # 0: name, 1: list of type, 2: type, 3: list of type 292 compiler.misc.descriptor=\ 293 descriptor: {2} {0}({1}) 294 295 # 0: name, 1: list of type, 2: type, 3: list of type 296 compiler.misc.descriptor.throws=\ 297 descriptor: {2} {0}({1}) throws {3} 298 299 # 0: type 300 compiler.misc.no.suitable.functional.intf.inst=\ 301 cannot infer functional interface descriptor for {0} 302 303 # 0: message segment 304 compiler.misc.bad.intersection.target.for.functional.expr=\ 305 bad intersection type target for lambda or method reference\n\ 306 {0} 307 308 # 0: symbol or type 309 compiler.misc.not.an.intf.component=\ 310 component type {0} is not an interface 311 312 # 0: kind name, 1: message segment 313 compiler.err.invalid.mref=\ 314 invalid {0} reference\n\ 315 {1} 316 317 # 0: kind name, 1: message segment 318 compiler.misc.invalid.mref=\ 319 invalid {0} reference\n\ 320 {1} 321 322 compiler.misc.static.mref.with.targs=\ 323 parameterized qualifier on static method reference 324 325 # 0: symbol 326 compiler.err.cant.assign.val.to.final.var=\ 327 cannot assign a value to final variable {0} 328 329 compiler.err.cant.assign.val.to.this=\ 330 cannot assign to ''this'' 331 332 # 0: symbol, 1: message segment 333 compiler.err.cant.ref.non.effectively.final.var=\ 334 local variables referenced from {1} must be final or effectively final 335 336 compiler.err.try.with.resources.expr.needs.var=\ 337 the try-with-resources resource must either be a variable declaration or an expression denoting \ 338 a reference to a final or effectively final variable 339 340 # 0: symbol 341 compiler.err.try.with.resources.expr.effectively.final.var=\ 342 variable {0} used as a try-with-resources resource neither final nor effectively final 343 344 345 compiler.misc.lambda=\ 346 a lambda expression 347 348 compiler.misc.inner.cls=\ 349 an inner class 350 351 # 0: type 352 compiler.err.cant.deref=\ 353 {0} cannot be dereferenced 354 355 compiler.err.cant.extend.intf.annotation=\ 356 ''extends'' not allowed for @interfaces 357 358 compiler.err.annotation.decl.not.allowed.here=\ 359 annotation type declaration not allowed here 360 361 # 0: symbol 362 compiler.err.cant.inherit.from.final=\ 363 cannot inherit from final {0} 364 365 # 0: symbol or string 366 compiler.err.cant.ref.before.ctor.called=\ 367 cannot reference {0} before supertype constructor has been called 368 369 compiler.err.cant.select.static.class.from.param.type=\ 370 cannot select a static class from a parameterized type 371 372 # 0: symbol, 1: string, 2: string 373 compiler.err.cant.inherit.diff.arg=\ 374 {0} cannot be inherited with different arguments: <{1}> and <{2}> 375 376 compiler.err.catch.without.try=\ 377 ''catch'' without ''try'' 378 379 # 0: kind name, 1: symbol 380 compiler.err.clash.with.pkg.of.same.name=\ 381 {0} {1} clashes with package of same name 382 383 compiler.err.class.not.allowed=\ 384 class, interface or enum declaration not allowed here 385 386 compiler.err.const.expr.req=\ 387 constant expression required 388 389 compiler.err.cont.outside.loop=\ 390 continue outside of loop 391 392 # 0: symbol or type 393 compiler.err.cyclic.inheritance=\ 394 cyclic inheritance involving {0} 395 396 # 0: symbol 397 compiler.err.cyclic.annotation.element=\ 398 type of element {0} is cyclic 399 400 # 0: symbol 401 compiler.err.call.to.super.not.allowed.in.enum.ctor=\ 402 call to super not allowed in enum constructor 403 404 # 0: type 405 compiler.err.no.superclass=\ 406 {0} has no superclass. 407 408 # 0: symbol, 1: type, 2: symbol, 3: type, 4: type 409 compiler.err.concrete.inheritance.conflict=\ 410 methods {0} from {1} and {2} from {3} are inherited with the same signature 411 412 compiler.err.default.allowed.in.intf.annotation.member=\ 413 default value only allowed in an annotation type declaration 414 415 # 0: symbol 416 compiler.err.doesnt.exist=\ 417 package {0} does not exist 418 419 # 0: type 420 compiler.err.duplicate.annotation.invalid.repeated=\ 421 annotation {0} is not a valid repeatable annotation 422 423 # 0: name, 1: type 424 compiler.err.duplicate.annotation.member.value=\ 425 duplicate element ''{0}'' in annotation @{1}. 426 427 # 0: type 428 compiler.err.duplicate.annotation.missing.container=\ 429 {0} is not a repeatable annotation type 430 431 # 0: symbol 432 compiler.err.invalid.repeatable.annotation=\ 433 duplicate annotation: {0} is annotated with an invalid @Repeatable annotation 434 435 # 0: symbol or type 436 compiler.err.invalid.repeatable.annotation.no.value=\ 437 {0} is not a valid @Repeatable, no value element method declared 438 439 # 0: type, 1: number 440 compiler.err.invalid.repeatable.annotation.multiple.values=\ 441 {0} is not a valid @Repeatable, {1} element methods named ''value'' declared 442 443 # 0: type 444 compiler.err.invalid.repeatable.annotation.invalid.value=\ 445 {0} is not a valid @Repeatable: invalid value element 446 447 # 0: symbol or type, 1: type, 2: type 448 compiler.err.invalid.repeatable.annotation.value.return=\ 449 containing annotation type ({0}) must declare an element named ''value'' of type {2} 450 451 # 0: symbol or type, 1: symbol 452 compiler.err.invalid.repeatable.annotation.elem.nondefault=\ 453 containing annotation type ({0}) does not have a default value for element {1} 454 455 # 0: symbol, 1: string, 2: symbol, 3: string 456 compiler.err.invalid.repeatable.annotation.retention=\ 457 retention of containing annotation type ({0}) is shorter than the retention of repeatable annotation type ({2}) 458 459 # 0: symbol, 1: symbol 460 compiler.err.invalid.repeatable.annotation.not.documented=\ 461 repeatable annotation type ({1}) is @Documented while containing annotation type ({0}) is not 462 463 # 0: symbol, 1: symbol 464 compiler.err.invalid.repeatable.annotation.not.inherited=\ 465 repeatable annotation type ({1}) is @Inherited while containing annotation type ({0}) is not 466 467 # 0: symbol, 1: symbol 468 compiler.err.invalid.repeatable.annotation.incompatible.target=\ 469 containing annotation type ({0}) is applicable to more targets than repeatable annotation type ({1}) 470 471 # 0: symbol 472 compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\ 473 container {0} must not be present at the same time as the element it contains 474 475 # 0: type, 1: symbol 476 compiler.err.invalid.repeatable.annotation.not.applicable=\ 477 container {0} is not applicable to element {1} 478 479 # 0: type 480 compiler.err.invalid.repeatable.annotation.not.applicable.in.context=\ 481 container {0} is not applicable in this type context 482 483 # 0: name 484 compiler.err.duplicate.class=\ 485 duplicate class: {0} 486 487 # 0: name, 1: name 488 compiler.err.same.binary.name=\ 489 classes: {0} and {1} have the same binary name 490 491 compiler.err.duplicate.case.label=\ 492 duplicate case label 493 494 compiler.err.duplicate.default.label=\ 495 duplicate default label 496 497 compiler.err.else.without.if=\ 498 ''else'' without ''if'' 499 500 compiler.err.empty.char.lit=\ 501 empty character literal 502 503 # 0: symbol 504 compiler.err.encl.class.required=\ 505 an enclosing instance that contains {0} is required 506 507 compiler.err.enum.annotation.must.be.enum.constant=\ 508 an enum annotation value must be an enum constant 509 510 compiler.err.enum.cant.be.instantiated=\ 511 enum types may not be instantiated 512 513 compiler.err.enum.label.must.be.unqualified.enum=\ 514 an enum switch case label must be the unqualified name of an enumeration constant 515 516 compiler.err.enum.no.subclassing=\ 517 classes cannot directly extend java.lang.Enum 518 519 compiler.err.enum.types.not.extensible=\ 520 enum types are not extensible 521 522 compiler.err.enum.no.finalize=\ 523 enums cannot have finalize methods 524 525 # 0: file name, 1: string 526 compiler.err.error.reading.file=\ 527 error reading {0}; {1} 528 529 # 0: type 530 compiler.err.except.already.caught=\ 531 exception {0} has already been caught 532 533 # 0: type 534 compiler.err.except.never.thrown.in.try=\ 535 exception {0} is never thrown in body of corresponding try statement 536 537 # 0: symbol 538 compiler.err.final.parameter.may.not.be.assigned=\ 539 final parameter {0} may not be assigned 540 541 # 0: symbol 542 compiler.err.try.resource.may.not.be.assigned=\ 543 auto-closeable resource {0} may not be assigned 544 545 # 0: symbol 546 compiler.err.multicatch.parameter.may.not.be.assigned=\ 547 multi-catch parameter {0} may not be assigned 548 549 # 0: type, 1: type 550 compiler.err.multicatch.types.must.be.disjoint=\ 551 Alternatives in a multi-catch statement cannot be related by subclassing\n\ 552 Alternative {0} is a subclass of alternative {1} 553 554 compiler.err.finally.without.try=\ 555 ''finally'' without ''try'' 556 557 # 0: type, 1: message segment 558 compiler.err.foreach.not.applicable.to.type=\ 559 for-each not applicable to expression type\n\ 560 required: {1}\n\ 561 found: {0} 562 563 compiler.err.fp.number.too.large=\ 564 floating point number too large 565 566 compiler.err.fp.number.too.small=\ 567 floating point number too small 568 569 compiler.err.generic.array.creation=\ 570 generic array creation 571 572 compiler.err.generic.throwable=\ 573 a generic class may not extend java.lang.Throwable 574 575 # 0: symbol 576 compiler.err.icls.cant.have.static.decl=\ 577 Illegal static declaration in inner class {0}\n\ 578 modifier \''static\'' is only allowed in constant variable declarations 579 580 # 0: string 581 compiler.err.illegal.char=\ 582 illegal character: ''{0}'' 583 584 # 0: string, 1: string 585 compiler.err.illegal.char.for.encoding=\ 586 unmappable character (0x{0}) for encoding {1} 587 588 # 0: set of flag, 1: set of flag 589 compiler.err.illegal.combination.of.modifiers=\ 590 illegal combination of modifiers: {0} and {1} 591 592 compiler.err.illegal.enum.static.ref=\ 593 illegal reference to static field from initializer 594 595 compiler.err.illegal.esc.char=\ 596 illegal escape character 597 598 compiler.err.illegal.forward.ref=\ 599 illegal forward reference 600 601 # 0: symbol, 1: object 602 compiler.err.not.in.profile=\ 603 {0} is not available in profile ''{1}'' 604 605 # 0: symbol 606 compiler.warn.forward.ref=\ 607 reference to variable ''{0}'' before it has been initialized 608 609 compiler.err.illegal.self.ref=\ 610 self-reference in initializer 611 612 # 0: symbol 613 compiler.warn.self.ref=\ 614 self-reference in initializer of variable ''{0}'' 615 616 compiler.err.illegal.generic.type.for.instof=\ 617 illegal generic type for instanceof 618 619 # 0: type 620 compiler.err.illegal.initializer.for.type=\ 621 illegal initializer for {0} 622 623 compiler.err.illegal.line.end.in.char.lit=\ 624 illegal line end in character literal 625 626 compiler.err.illegal.nonascii.digit=\ 627 illegal non-ASCII digit 628 629 compiler.err.illegal.underscore=\ 630 illegal underscore 631 632 compiler.err.illegal.dot=\ 633 illegal ''.'' 634 635 # 0: symbol 636 compiler.err.illegal.qual.not.icls=\ 637 illegal qualifier; {0} is not an inner class 638 639 compiler.err.illegal.start.of.expr=\ 640 illegal start of expression 641 642 compiler.err.illegal.start.of.stmt=\ 643 illegal start of statement 644 645 compiler.err.illegal.start.of.type=\ 646 illegal start of type 647 648 compiler.err.illegal.parenthesized.expression=\ 649 illegal parenthesized expression 650 651 compiler.err.illegal.unicode.esc=\ 652 illegal unicode escape 653 654 # 0: symbol 655 compiler.err.import.requires.canonical=\ 656 import requires canonical name for {0} 657 658 compiler.err.improperly.formed.type.param.missing=\ 659 improperly formed type, some parameters are missing 660 661 compiler.err.improperly.formed.type.inner.raw.param=\ 662 improperly formed type, type arguments given on a raw type 663 664 # 0: type, 1: type 665 compiler.err.incomparable.types=\ 666 incomparable types: {0} and {1} 667 668 # 0: string 669 compiler.err.int.number.too.large=\ 670 integer number too large 671 672 compiler.err.intf.annotation.members.cant.have.params=\ 673 elements in annotation type declarations cannot declare formal parameters 674 675 # 0: symbol 676 compiler.err.intf.annotation.cant.have.type.params=\ 677 annotation type {0} cannot be generic 678 679 compiler.err.intf.annotation.members.cant.have.type.params=\ 680 elements in annotation type declarations cannot be generic methods 681 682 # 0: symbol, 1: type 683 compiler.err.intf.annotation.member.clash=\ 684 annotation type {1} declares an element with the same name as method {0} 685 686 compiler.err.intf.expected.here=\ 687 interface expected here 688 689 compiler.err.intf.meth.cant.have.body=\ 690 interface abstract methods cannot have body 691 692 compiler.err.invalid.annotation.member.type=\ 693 invalid type for annotation type element 694 695 compiler.err.invalid.binary.number=\ 696 binary numbers must contain at least one binary digit 697 698 compiler.err.invalid.hex.number=\ 699 hexadecimal numbers must contain at least one hexadecimal digit 700 701 compiler.err.invalid.meth.decl.ret.type.req=\ 702 invalid method declaration; return type required 703 704 compiler.err.varargs.and.old.array.syntax=\ 705 legacy array notation not allowed on variable-arity parameter 706 707 compiler.err.varargs.and.receiver =\ 708 varargs notation not allowed on receiver parameter 709 710 compiler.err.varargs.must.be.last =\ 711 varargs parameter must be the last parameter 712 713 compiler.err.array.and.receiver =\ 714 legacy array notation not allowed on receiver parameter 715 716 compiler.err.wrong.receiver =\ 717 wrong receiver parameter name 718 719 compiler.err.variable.not.allowed=\ 720 variable declaration not allowed here 721 722 # 0: name 723 compiler.err.label.already.in.use=\ 724 label {0} already in use 725 726 # 0: symbol 727 compiler.err.local.var.accessed.from.icls.needs.final=\ 728 local variable {0} is accessed from within inner class; needs to be declared final 729 730 compiler.err.local.enum=\ 731 enum types must not be local 732 733 compiler.err.cannot.create.array.with.type.arguments=\ 734 cannot create array with type arguments 735 736 compiler.err.cannot.create.array.with.diamond=\ 737 cannot create array with ''<>'' 738 739 compiler.err.invalid.module.directive=\ 740 module directive keyword or ''}'' expected 741 742 # 743 # limits. We don't give the limits in the diagnostic because we expect 744 # them to change, yet we want to use the same diagnostic. These are all 745 # detected during code generation. 746 # 747 compiler.err.limit.code=\ 748 code too large 749 750 compiler.err.limit.code.too.large.for.try.stmt=\ 751 code too large for try statement 752 753 compiler.err.limit.dimensions=\ 754 array type has too many dimensions 755 756 compiler.err.limit.locals=\ 757 too many local variables 758 759 compiler.err.limit.parameters=\ 760 too many parameters 761 762 compiler.err.limit.pool=\ 763 too many constants 764 765 compiler.err.limit.pool.in.class=\ 766 too many constants in class {0} 767 768 compiler.err.limit.stack=\ 769 code requires too much stack 770 771 compiler.err.limit.string=\ 772 constant string too long 773 774 # 0: string 775 compiler.err.limit.string.overflow=\ 776 UTF8 representation for string \"{0}...\" is too long for the constant pool 777 778 compiler.err.malformed.fp.lit=\ 779 malformed floating point literal 780 781 compiler.err.method.does.not.override.superclass=\ 782 method does not override or implement a method from a supertype 783 784 compiler.err.static.methods.cannot.be.annotated.with.override=\ 785 static methods cannot be annotated with @Override 786 787 compiler.err.missing.meth.body.or.decl.abstract=\ 788 missing method body, or declare abstract 789 790 compiler.err.missing.ret.stmt=\ 791 missing return statement 792 793 # 0: type 794 compiler.misc.missing.ret.val=\ 795 missing return value 796 797 compiler.misc.unexpected.ret.val=\ 798 unexpected return value 799 800 # 0: set of flag 801 compiler.err.mod.not.allowed.here=\ 802 modifier {0} not allowed here 803 804 # 0: name 805 compiler.err.modifier.not.allowed.here=\ 806 modifier {0} not allowed here 807 808 compiler.err.intf.not.allowed.here=\ 809 interface not allowed here 810 811 compiler.err.enums.must.be.static=\ 812 enum declarations allowed only in static contexts 813 814 # 0: symbol, 1: symbol 815 compiler.err.name.clash.same.erasure=\ 816 name clash: {0} and {1} have the same erasure 817 818 # 0: name, 1: list of type, 2: symbol, 3: name, 4: list of type, 5: symbol 819 compiler.err.name.clash.same.erasure.no.override=\ 820 name clash: {0}({1}) in {2} and {3}({4}) in {5} have the same erasure, yet neither overrides the other 821 822 # 0: string, 1: name, 2: name, 3: list of type, 4: symbol, 5: name, 6: list of type, 7: symbol 823 compiler.err.name.clash.same.erasure.no.override.1=\ 824 name clash: {0} {1} has two methods with the same erasure, yet neither overrides the other\n\ 825 first method: {2}({3}) in {4}\n\ 826 second method: {5}({6}) in {7} 827 828 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 829 compiler.err.name.clash.same.erasure.no.hide=\ 830 name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither hides the other 831 832 compiler.err.name.reserved.for.internal.use=\ 833 {0} is reserved for internal use 834 835 compiler.err.native.meth.cant.have.body=\ 836 native methods cannot have a body 837 838 839 # 0: message segment 840 compiler.misc.incompatible.type.in.conditional=\ 841 bad type in conditional expression\n\ 842 {0} 843 844 compiler.misc.conditional.target.cant.be.void=\ 845 target-type for conditional expression cannot be void 846 847 compiler.misc.switch.expression.target.cant.be.void=\ 848 target-type for switch expression cannot be void 849 850 # 0: message segment 851 compiler.misc.incompatible.type.in.switch.expression=\ 852 bad type in switch expression\n\ 853 {0} 854 855 # 0: message segment 856 compiler.misc.incompatible.ret.type.in.lambda=\ 857 bad return type in lambda expression\n\ 858 {0} 859 860 compiler.misc.stat.expr.expected=\ 861 lambda body is not compatible with a void functional interface\n\ 862 (consider using a block lambda body, or use a statement expression instead) 863 864 # 0: message segment 865 compiler.misc.incompatible.ret.type.in.mref=\ 866 bad return type in method reference\n\ 867 {0} 868 869 compiler.err.lambda.body.neither.value.nor.void.compatible=\ 870 lambda body is neither value nor void compatible 871 872 # 0: list of type 873 compiler.err.incompatible.thrown.types.in.mref=\ 874 incompatible thrown types {0} in functional expression 875 876 compiler.misc.incompatible.arg.types.in.lambda=\ 877 incompatible parameter types in lambda expression 878 879 compiler.misc.incompatible.arg.types.in.mref=\ 880 incompatible parameter types in method reference 881 882 compiler.err.new.not.allowed.in.annotation=\ 883 ''new'' not allowed in an annotation 884 885 # 0: name, 1: type 886 compiler.err.no.annotation.member=\ 887 no annotation member {0} in {1} 888 889 # 0: symbol 890 compiler.err.no.encl.instance.of.type.in.scope=\ 891 no enclosing instance of type {0} is in scope 892 893 compiler.err.no.intf.expected.here=\ 894 no interface expected here 895 896 compiler.err.no.match.entry=\ 897 {0} has no match in entry in {1}; required {2} 898 899 # 0: type 900 compiler.err.not.annotation.type=\ 901 {0} is not an annotation type 902 903 # 0: symbol, 1: symbol, 2: message segment 904 compiler.err.not.def.access.package.cant.access=\ 905 {0} is not visible\n\ 906 ({2}) 907 908 # 0: symbol, 1: symbol, 2: message segment 909 compiler.misc.not.def.access.package.cant.access=\ 910 {0} is not visible\n\ 911 ({2}) 912 913 # 0: symbol, 1: message segment 914 compiler.err.package.not.visible=\ 915 package {0} is not visible\n\ 916 ({1}) 917 918 # 0: symbol, 1: message segment 919 compiler.misc.package.not.visible=\ 920 package {0} is not visible\n\ 921 ({1}) 922 923 # {0} - current module 924 # {1} - package in which the invisible class is declared 925 # {2} - module in which {1} is declared 926 # 0: symbol, 1: symbol, 2: symbol 927 compiler.misc.not.def.access.does.not.read=\ 928 package {1} is declared in module {2}, but module {0} does not read it 929 930 # {0} - package in which the invisible class is declared 931 # {1} - module in which {0} is declared 932 # 0: symbol, 1: symbol 933 compiler.misc.not.def.access.does.not.read.from.unnamed=\ 934 package {0} is declared in module {1}, which is not in the module graph 935 936 # {0} - package in which the invisible class is declared 937 # {1} - current module 938 # 0: symbol, 1: symbol 939 compiler.misc.not.def.access.does.not.read.unnamed=\ 940 package {0} is declared in the unnamed module, but module {0} does not read it 941 942 # {0} - package in which the invisible class is declared 943 # {1} - module in which {0} is declared 944 # 0: symbol, 1: symbol 945 compiler.misc.not.def.access.not.exported=\ 946 package {0} is declared in module {1}, which does not export it 947 948 # {0} - package in which the invisible class is declared 949 # {1} - module in which {0} is declared 950 # 0: symbol, 1: symbol 951 compiler.misc.not.def.access.not.exported.from.unnamed=\ 952 package {0} is declared in module {1}, which does not export it 953 954 # {0} - package in which the invisible class is declared 955 # {1} - module in which {0} is declared 956 # {2} - current module 957 # 0: symbol, 1: symbol, 2: symbol 958 compiler.misc.not.def.access.not.exported.to.module=\ 959 package {0} is declared in module {1}, which does not export it to module {2} 960 961 # {0} - package in which the invisible class is declared 962 # {1} - module in which {0} is declared 963 # 0: symbol, 1: symbol 964 compiler.misc.not.def.access.not.exported.to.module.from.unnamed=\ 965 package {0} is declared in module {1}, which does not export it to the unnamed module 966 967 # 0: symbol, 1: symbol 968 compiler.err.not.def.access.class.intf.cant.access=\ 969 {1}.{0} is defined in an inaccessible class or interface 970 971 # 0: symbol, 1: symbol 972 compiler.misc.not.def.access.class.intf.cant.access=\ 973 {1}.{0} is defined in an inaccessible class or interface 974 975 # 0: symbol, 1: symbol, 2: symbol, 3: message segment 976 compiler.err.not.def.access.class.intf.cant.access.reason=\ 977 {1}.{0} in package {2} is not accessible\n\ 978 ({3}) 979 980 # 0: symbol, 1: symbol, 2: symbol, 3: message segment 981 compiler.misc.not.def.access.class.intf.cant.access.reason=\ 982 {1}.{0} in package {2} is not accessible\n\ 983 ({3}) 984 985 # 0: symbol, 1: list of type, 2: type 986 compiler.misc.cant.access.inner.cls.constr=\ 987 cannot access constructor {0}({1})\n\ 988 an enclosing instance of type {2} is not in scope 989 990 # 0: symbol, 1: symbol 991 compiler.err.not.def.public.cant.access=\ 992 {0} is not public in {1}; cannot be accessed from outside package 993 994 # 0: symbol, 1: symbol 995 compiler.err.not.def.public=\ 996 {0} is not public in {1} 997 998 # 0: symbol, 1: symbol 999 compiler.misc.not.def.public.cant.access=\ 1000 {0} is not public in {1}; cannot be accessed from outside package 1001 1002 # 0: name 1003 compiler.err.not.loop.label=\ 1004 not a loop label: {0} 1005 1006 compiler.err.not.stmt=\ 1007 not a statement 1008 1009 # 0: symbol 1010 compiler.err.not.encl.class=\ 1011 not an enclosing class: {0} 1012 1013 # 0: name, 1: type 1014 compiler.err.operator.cant.be.applied=\ 1015 bad operand type {1} for unary operator ''{0}'' 1016 1017 # 0: name, 1: type, 2: type 1018 compiler.err.operator.cant.be.applied.1=\ 1019 bad operand types for binary operator ''{0}''\n\ 1020 first type: {1}\n\ 1021 second type: {2} 1022 1023 compiler.err.pkg.annotations.sb.in.package-info.java=\ 1024 package annotations should be in file package-info.java 1025 1026 compiler.err.no.pkg.in.module-info.java=\ 1027 package declarations not allowed in file module-info.java 1028 1029 # 0: symbol 1030 compiler.err.pkg.clashes.with.class.of.same.name=\ 1031 package {0} clashes with class of same name 1032 1033 compiler.err.warnings.and.werror=\ 1034 warnings found and -Werror specified 1035 1036 # Errors related to annotation processing 1037 1038 # 0: symbol, 1: message segment, 2: string (stack-trace) 1039 compiler.err.proc.cant.access=\ 1040 cannot access {0}\n\ 1041 {1}\n\ 1042 Consult the following stack trace for details.\n\ 1043 {2} 1044 1045 # 0: symbol, 1: message segment 1046 compiler.err.proc.cant.access.1=\ 1047 cannot access {0}\n\ 1048 {1} 1049 1050 # 0: string 1051 compiler.err.proc.cant.find.class=\ 1052 Could not find class file for ''{0}''. 1053 1054 # 0: string 1055 compiler.err.proc.cant.load.class=\ 1056 Could not load processor class file due to ''{0}''. 1057 1058 # Print a client-generated error message; assumed to be localized, no translation required 1059 # 0: string 1060 compiler.err.proc.messager=\ 1061 {0} 1062 1063 # 0: string 1064 compiler.misc.exception.message=\ 1065 {0} 1066 1067 compiler.misc.user.selected.completion.failure=\ 1068 user-selected completion failure by class name 1069 1070 # 0: collection of string 1071 compiler.err.proc.no.explicit.annotation.processing.requested=\ 1072 Class names, ''{0}'', are only accepted if annotation processing is explicitly requested 1073 1074 compiler.err.proc.no.service=\ 1075 A ServiceLoader was not usable and is required for annotation processing. 1076 1077 # 0: string, 1: string 1078 compiler.err.proc.processor.bad.option.name=\ 1079 Bad option name ''{0}'' provided by processor ''{1}'' 1080 1081 # 0: string 1082 compiler.err.proc.processor.cant.instantiate=\ 1083 Could not instantiate an instance of processor ''{0}'' 1084 1085 # 0: string 1086 compiler.err.proc.processor.not.found=\ 1087 Annotation processor ''{0}'' not found 1088 1089 # 0: string 1090 compiler.err.proc.processor.wrong.type=\ 1091 Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor 1092 1093 compiler.err.proc.service.problem=\ 1094 Error creating a service loader to load Processors. 1095 1096 # 0: string 1097 compiler.err.proc.bad.config.file=\ 1098 Bad service configuration file, or exception thrown while constructing Processor object: {0} 1099 1100 compiler.err.proc.cant.create.loader=\ 1101 Could not create class loader for annotation processors: {0} 1102 1103 # 0: symbol 1104 compiler.err.qualified.new.of.static.class=\ 1105 qualified new of static class 1106 1107 compiler.err.recursive.ctor.invocation=\ 1108 recursive constructor invocation 1109 1110 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol 1111 compiler.err.ref.ambiguous=\ 1112 reference to {0} is ambiguous\n\ 1113 both {1} {2} in {3} and {4} {5} in {6} match 1114 1115 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol 1116 compiler.misc.ref.ambiguous=\ 1117 reference to {0} is ambiguous\n\ 1118 both {1} {2} in {3} and {4} {5} in {6} match 1119 1120 compiler.err.repeated.annotation.target=\ 1121 repeated annotation target 1122 1123 compiler.err.repeated.interface=\ 1124 repeated interface 1125 1126 compiler.err.repeated.modifier=\ 1127 repeated modifier 1128 1129 # 0: symbol, 1: set of modifier, 2: symbol 1130 compiler.err.report.access=\ 1131 {0} has {1} access in {2} 1132 1133 # 0: symbol, 1: set of modifier, 2: symbol 1134 compiler.misc.report.access=\ 1135 {0} has {1} access in {2} 1136 1137 compiler.err.ret.outside.meth=\ 1138 return outside method 1139 1140 compiler.err.signature.doesnt.match.supertype=\ 1141 signature does not match {0}; incompatible supertype 1142 1143 compiler.err.signature.doesnt.match.intf=\ 1144 signature does not match {0}; incompatible interfaces 1145 1146 # 0: symbol, 1: symbol, 2: symbol 1147 compiler.err.does.not.override.abstract=\ 1148 {0} is not abstract and does not override abstract method {1} in {2} 1149 1150 # 0: file object 1151 compiler.err.source.cant.overwrite.input.file=\ 1152 error writing source; cannot overwrite input file {0} 1153 1154 # 0: symbol 1155 compiler.err.stack.sim.error=\ 1156 Internal error: stack sim error on {0} 1157 1158 compiler.err.static.imp.only.classes.and.interfaces=\ 1159 static import only from classes and interfaces 1160 1161 compiler.err.string.const.req=\ 1162 constant string expression required 1163 1164 # 0: symbol, 1: fragment 1165 compiler.err.cannot.generate.class=\ 1166 error while generating class {0}\n\ 1167 ({1}) 1168 1169 # 0: symbol, 1: symbol 1170 compiler.misc.synthetic.name.conflict=\ 1171 the symbol {0} conflicts with a compiler-synthesized symbol in {1} 1172 1173 # 0: symbol, 1: type 1174 compiler.misc.illegal.signature=\ 1175 illegal signature attribute for type {1} 1176 1177 compiler.err.throws.not.allowed.in.intf.annotation=\ 1178 throws clause not allowed in @interface members 1179 1180 compiler.err.try.without.catch.finally.or.resource.decls=\ 1181 ''try'' without ''catch'', ''finally'' or resource declarations 1182 1183 # 0: symbol 1184 compiler.err.type.doesnt.take.params=\ 1185 type {0} does not take parameters 1186 1187 compiler.err.type.var.cant.be.deref=\ 1188 cannot select from a type variable 1189 1190 compiler.err.type.var.may.not.be.followed.by.other.bounds=\ 1191 a type variable may not be followed by other bounds 1192 1193 compiler.err.type.var.more.than.once=\ 1194 type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated 1195 1196 compiler.err.type.var.more.than.once.in.result=\ 1197 type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated 1198 1199 # 0: type, 1: type, 2: fragment 1200 compiler.err.types.incompatible=\ 1201 types {0} and {1} are incompatible;\n\ 1202 {2} 1203 1204 # 0: name, 1: list of type 1205 compiler.misc.incompatible.diff.ret=\ 1206 both define {0}({1}), but with unrelated return types 1207 1208 # 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol 1209 compiler.misc.incompatible.unrelated.defaults=\ 1210 {0} {1} inherits unrelated defaults for {2}({3}) from types {4} and {5} 1211 1212 # 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol 1213 compiler.misc.incompatible.abstract.default=\ 1214 {0} {1} inherits abstract and default for {2}({3}) from types {4} and {5} 1215 1216 # 0: name, 1: kind name, 2: symbol 1217 compiler.err.default.overrides.object.member=\ 1218 default method {0} in {1} {2} overrides a member of java.lang.Object 1219 1220 # 0: type 1221 compiler.err.illegal.static.intf.meth.call=\ 1222 illegal static interface method call\n\ 1223 the receiver expression should be replaced with the type qualifier ''{0}'' 1224 1225 # 0: symbol or type, 1: message segment 1226 compiler.err.illegal.default.super.call=\ 1227 bad type qualifier {0} in default super call\n\ 1228 {1} 1229 1230 # 0: symbol, 1: type 1231 compiler.misc.overridden.default=\ 1232 method {0} is overridden in {1} 1233 1234 # 0: symbol, 1: type or symbol 1235 compiler.misc.redundant.supertype=\ 1236 redundant interface {0} is extended by {1} 1237 1238 compiler.err.unclosed.char.lit=\ 1239 unclosed character literal 1240 1241 compiler.err.unclosed.comment=\ 1242 unclosed comment 1243 1244 compiler.err.unclosed.str.lit=\ 1245 unclosed string literal 1246 1247 # 0: string 1248 compiler.err.unsupported.encoding=\ 1249 unsupported encoding: {0} 1250 1251 compiler.err.io.exception=\ 1252 error reading source file: {0} 1253 1254 # 0: name 1255 compiler.err.undef.label=\ 1256 undefined label: {0} 1257 1258 compiler.err.illegal.ref.to.var.type=\ 1259 illegal reference to restricted type ''var'' 1260 1261 compiler.err.var.not.allowed=\ 1262 ''var'' not allowed here\n\ 1263 as of release 10, ''var'' is a restricted local variable type and cannot be used for type declarations 1264 1265 compiler.warn.var.not.allowed=\ 1266 as of release 10, ''var'' is a restricted local variable type and cannot be used for type declarations or as the element type of an array 1267 1268 # 0: name (variable), 1: message segment 1269 compiler.err.cant.infer.local.var.type=\ 1270 cannot infer type for local variable {0}\n\ 1271 ({1}) 1272 1273 compiler.err.var.not.allowed.here=\ 1274 ''var'' is not allowed here 1275 1276 compiler.err.var.not.allowed.array=\ 1277 ''var'' is not allowed as an element type of an array 1278 1279 compiler.err.var.not.allowed.compound=\ 1280 ''var'' is not allowed in a compound declaration 1281 1282 # 0: fragment 1283 compiler.err.invalid.lambda.parameter.declaration=\ 1284 invalid lambda parameter declaration\n\ 1285 ({0}) 1286 1287 compiler.misc.implicit.and.explicit.not.allowed=\ 1288 cannot mix implicitly-typed and explicitly-typed parameters 1289 1290 compiler.misc.var.and.explicit.not.allowed=\ 1291 cannot mix ''var'' and explicitly-typed parameters 1292 1293 compiler.misc.var.and.implicit.not.allowed=\ 1294 cannot mix ''var'' and implicitly-typed parameters 1295 1296 compiler.misc.local.cant.infer.null=\ 1297 variable initializer is ''null'' 1298 1299 compiler.misc.local.cant.infer.void=\ 1300 variable initializer is ''void'' 1301 1302 compiler.misc.local.missing.init=\ 1303 cannot use ''var'' on variable without initializer 1304 1305 compiler.misc.local.lambda.missing.target=\ 1306 lambda expression needs an explicit target-type 1307 1308 compiler.misc.local.mref.missing.target=\ 1309 method reference needs an explicit target-type 1310 1311 compiler.misc.local.array.missing.target=\ 1312 array initializer needs an explicit target-type 1313 1314 compiler.misc.local.self.ref=\ 1315 cannot use ''var'' on self-referencing variable 1316 1317 # 0: message segment, 1: unused 1318 compiler.err.cant.apply.diamond=\ 1319 cannot infer type arguments for {0} 1320 1321 # 0: message segment or type, 1: message segment 1322 compiler.err.cant.apply.diamond.1=\ 1323 cannot infer type arguments for {0}\n\ 1324 reason: {1} 1325 1326 # 0: message segment or type, 1: message segment 1327 compiler.misc.cant.apply.diamond.1=\ 1328 cannot infer type arguments for {0}\n\ 1329 reason: {1} 1330 1331 compiler.err.unreachable.stmt=\ 1332 unreachable statement 1333 1334 compiler.err.not.exhaustive=\ 1335 the switch expression does not cover all possible input values 1336 1337 compiler.err.initializer.must.be.able.to.complete.normally=\ 1338 initializer must be able to complete normally 1339 1340 compiler.err.initializer.not.allowed=\ 1341 initializers not allowed in interfaces 1342 1343 # 0: type 1344 compiler.err.unreported.exception.need.to.catch.or.throw=\ 1345 unreported exception {0}; must be caught or declared to be thrown 1346 1347 # 0: type 1348 compiler.err.unreported.exception.default.constructor=\ 1349 unreported exception {0} in default constructor 1350 1351 # 0: type, 1: name 1352 compiler.err.unreported.exception.implicit.close=\ 1353 unreported exception {0}; must be caught or declared to be thrown\n\ 1354 exception thrown from implicit call to close() on resource variable ''{1}'' 1355 1356 compiler.err.unsupported.cross.fp.lit=\ 1357 hexadecimal floating-point literals are not supported on this VM 1358 1359 compiler.err.void.not.allowed.here=\ 1360 ''void'' type not allowed here 1361 1362 # 0: string 1363 compiler.err.wrong.number.type.args=\ 1364 wrong number of type arguments; required {0} 1365 1366 # 0: symbol 1367 compiler.err.var.might.already.be.assigned=\ 1368 variable {0} might already have been assigned 1369 1370 # 0: symbol 1371 compiler.err.var.might.not.have.been.initialized=\ 1372 variable {0} might not have been initialized 1373 1374 # 0: symbol 1375 compiler.err.var.not.initialized.in.default.constructor=\ 1376 variable {0} not initialized in the default constructor 1377 1378 # 0: symbol 1379 compiler.err.var.might.be.assigned.in.loop=\ 1380 variable {0} might be assigned in loop 1381 1382 # 0: symbol, 1: message segment 1383 compiler.err.varargs.invalid.trustme.anno=\ 1384 Invalid {0} annotation. {1} 1385 1386 # 0: type 1387 compiler.misc.varargs.trustme.on.reifiable.varargs=\ 1388 Varargs element type {0} is reifiable. 1389 1390 # 0: symbol 1391 compiler.misc.varargs.trustme.on.non.varargs.meth=\ 1392 Method {0} is not a varargs method. 1393 1394 # 0: symbol 1395 compiler.misc.varargs.trustme.on.virtual.varargs=\ 1396 Instance method {0} is neither final nor private. 1397 1398 # 0: symbol 1399 compiler.misc.varargs.trustme.on.virtual.varargs.final.only=\ 1400 Instance method {0} is not final. 1401 1402 # 0: type, 1: symbol kind, 2: symbol 1403 compiler.misc.inaccessible.varargs.type=\ 1404 formal varargs element type {0} is not accessible from {1} {2} 1405 1406 # In the following string, {1} will always be the detail message from 1407 # java.io.IOException. 1408 # 0: symbol, 1: string 1409 compiler.err.class.cant.write=\ 1410 error while writing {0}: {1} 1411 1412 # In the following string, {0} is the name of the class in the Java source. 1413 # It really should be used two times.. 1414 # 0: kind name, 1: name 1415 compiler.err.class.public.should.be.in.file=\ 1416 {0} {1} is public, should be declared in a file named {1}.java 1417 1418 ## All errors which do not refer to a particular line in the source code are 1419 ## preceded by this string. 1420 compiler.err.error=\ 1421 error:\u0020 1422 1423 # The following error messages do not refer to a line in the source code. 1424 compiler.err.cant.read.file=\ 1425 cannot read: {0} 1426 1427 # 0: string 1428 compiler.err.plugin.not.found=\ 1429 plug-in not found: {0} 1430 1431 # 0: path 1432 compiler.warn.locn.unknown.file.on.module.path=\ 1433 unknown file on module path: {0} 1434 1435 1436 # 0: path 1437 compiler.err.locn.bad.module-info=\ 1438 problem reading module-info.class in {0} 1439 1440 # 0: path 1441 compiler.err.locn.cant.read.directory=\ 1442 cannot read directory {0} 1443 1444 # 0: path 1445 compiler.err.locn.cant.read.file=\ 1446 cannot read file {0} 1447 1448 # 0: path 1449 compiler.err.locn.cant.get.module.name.for.jar=\ 1450 cannot determine module name for {0} 1451 1452 # 0: path 1453 compiler.err.multi-module.outdir.cannot.be.exploded.module=\ 1454 in multi-module mode, the output directory cannot be an exploded module: {0} 1455 1456 # 0: path 1457 compiler.warn.outdir.is.in.exploded.module=\ 1458 the output directory is within an exploded module: {0} 1459 1460 # 0: file object 1461 compiler.err.locn.module-info.not.allowed.on.patch.path=\ 1462 module-info.class not allowed on patch path: {0} 1463 1464 # 0: string 1465 compiler.err.locn.invalid.arg.for.xpatch=\ 1466 invalid argument for --patch-module option: {0} 1467 1468 compiler.err.file.sb.on.source.or.patch.path.for.module=\ 1469 file should be on source path, or on patch path for module 1470 1471 ##### 1472 1473 # Fatal Errors 1474 1475 compiler.misc.fatal.err.no.java.lang=\ 1476 Fatal Error: Unable to find package java.lang in classpath or bootclasspath 1477 1478 # 0: name 1479 compiler.misc.fatal.err.cant.locate.meth=\ 1480 Fatal Error: Unable to find method {0} 1481 1482 # 0: name 1483 compiler.misc.fatal.err.cant.locate.field=\ 1484 Fatal Error: Unable to find field {0} 1485 1486 # 0: type 1487 compiler.misc.fatal.err.cant.locate.ctor=\ 1488 Fatal Error: Unable to find constructor for {0} 1489 1490 compiler.misc.fatal.err.cant.close=\ 1491 Fatal Error: Cannot close compiler resources 1492 1493 ##### 1494 1495 ## 1496 ## miscellaneous strings 1497 ## 1498 1499 compiler.misc.diamond.anonymous.methods.implicitly.override=\ 1500 (due to <>, every non-private method declared in this anonymous class must override or implement a method from a supertype) 1501 1502 compiler.misc.source.unavailable=\ 1503 (source unavailable) 1504 1505 compiler.misc.base.membership=\ 1506 all your base class are belong to us 1507 1508 # 0: string, 1: string, 2: boolean 1509 compiler.misc.x.print.processor.info=\ 1510 Processor {0} matches {1} and returns {2}. 1511 1512 # 0: number, 1: string, 2: set of symbol, 3: boolean 1513 compiler.misc.x.print.rounds=\ 1514 Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3} 1515 1516 # 0: file name 1517 compiler.warn.file.from.future=\ 1518 Modification date is in the future for file {0} 1519 1520 ##### 1521 1522 ## The following string will appear before all messages keyed as: 1523 ## "compiler.note". 1524 1525 compiler.note.compressed.diags=\ 1526 Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1527 1528 # 0: boolean, 1: symbol 1529 compiler.note.lambda.stat=\ 1530 Translating lambda expression\n\ 1531 alternate metafactory = {0}\n\ 1532 synthetic method = {1} 1533 1534 # 0: boolean, 1: unused 1535 compiler.note.mref.stat=\ 1536 Translating method reference\n\ 1537 alternate metafactory = {0}\n\ 1538 1539 # 0: boolean, 1: symbol 1540 compiler.note.mref.stat.1=\ 1541 Translating method reference\n\ 1542 alternate metafactory = {0}\n\ 1543 bridge method = {1} 1544 1545 compiler.note.note=\ 1546 Note:\u0020 1547 1548 # 0: file name 1549 compiler.note.deprecated.filename=\ 1550 {0} uses or overrides a deprecated API. 1551 1552 compiler.note.deprecated.plural=\ 1553 Some input files use or override a deprecated API. 1554 1555 # The following string may appear after one of the above deprecation 1556 # messages. 1557 compiler.note.deprecated.recompile=\ 1558 Recompile with -Xlint:deprecation for details. 1559 1560 # 0: file name 1561 compiler.note.deprecated.filename.additional=\ 1562 {0} has additional uses or overrides of a deprecated API. 1563 1564 compiler.note.deprecated.plural.additional=\ 1565 Some input files additionally use or override a deprecated API. 1566 1567 # 0: file name 1568 compiler.note.removal.filename=\ 1569 {0} uses or overrides a deprecated API that is marked for removal. 1570 1571 compiler.note.removal.plural=\ 1572 Some input files use or override a deprecated API that is marked for removal. 1573 1574 # The following string may appear after one of the above removal messages. 1575 compiler.note.removal.recompile=\ 1576 Recompile with -Xlint:removal for details. 1577 1578 # 0: file name 1579 compiler.note.removal.filename.additional=\ 1580 {0} has additional uses or overrides of a deprecated API that is marked for removal. 1581 1582 compiler.note.removal.plural.additional=\ 1583 Some input files additionally use or override a deprecated API that is marked for removal. 1584 1585 # 0: file name 1586 compiler.note.unchecked.filename=\ 1587 {0} uses unchecked or unsafe operations. 1588 1589 compiler.note.unchecked.plural=\ 1590 Some input files use unchecked or unsafe operations. 1591 1592 # The following string may appear after one of the above unchecked messages. 1593 compiler.note.unchecked.recompile=\ 1594 Recompile with -Xlint:unchecked for details. 1595 1596 # 0: file name 1597 compiler.note.unchecked.filename.additional=\ 1598 {0} has additional unchecked or unsafe operations. 1599 1600 compiler.note.unchecked.plural.additional=\ 1601 Some input files additionally use unchecked or unsafe operations. 1602 1603 # 0: file name 1604 compiler.note.preview.filename=\ 1605 {0} uses preview language features. 1606 1607 compiler.note.preview.plural=\ 1608 Some input files use preview language features. 1609 1610 # The following string may appear after one of the above deprecation 1611 # messages. 1612 compiler.note.preview.recompile=\ 1613 Recompile with -Xlint:preview for details. 1614 1615 # 0: file name 1616 compiler.note.preview.filename.additional=\ 1617 {0} has additional uses of preview language features. 1618 1619 compiler.note.preview.plural.additional=\ 1620 Some input files additionally use preview language features. 1621 1622 # Notes related to annotation processing 1623 1624 # Print a client-generated note; assumed to be localized, no translation required 1625 # 0: string 1626 compiler.note.proc.messager=\ 1627 {0} 1628 1629 # 0: string, 1: string, 2: string 1630 compiler.note.multiple.elements=\ 1631 Multiple elements named ''{1}'' in modules ''{2}'' were found by javax.lang.model.util.Elements.{0}. 1632 1633 ##### 1634 1635 # 0: number 1636 compiler.misc.count.error=\ 1637 {0} error 1638 1639 # 0: number 1640 compiler.misc.count.error.plural=\ 1641 {0} errors 1642 1643 # 0: number, 1: number 1644 compiler.misc.count.error.recompile=\ 1645 only showing the first {0} errors, of {1} total; use -Xmaxerrs if you would like to see more 1646 1647 # 0: number, 1: number 1648 compiler.misc.count.warn.recompile=\ 1649 only showing the first {0} warnings, of {1} total; use -Xmaxwarns if you would like to see more 1650 1651 # 0: number 1652 compiler.misc.count.warn=\ 1653 {0} warning 1654 1655 # 0: number 1656 compiler.misc.count.warn.plural=\ 1657 {0} warnings 1658 1659 compiler.misc.version.not.available=\ 1660 (version info not available) 1661 1662 ## extra output when using -verbose (JavaCompiler) 1663 1664 # 0: symbol 1665 compiler.misc.verbose.checking.attribution=\ 1666 [checking {0}] 1667 1668 # 0: string 1669 compiler.misc.verbose.parsing.done=\ 1670 [parsing completed {0}ms] 1671 1672 # 0: file name 1673 compiler.misc.verbose.parsing.started=\ 1674 [parsing started {0}] 1675 1676 # 0: string 1677 compiler.misc.verbose.total=\ 1678 [total {0}ms] 1679 1680 # 0: file name 1681 compiler.misc.verbose.wrote.file=\ 1682 [wrote {0}] 1683 1684 ## extra output when using -verbose (code/ClassReader) 1685 # 0: string 1686 compiler.misc.verbose.loading=\ 1687 [loading {0}] 1688 1689 # 0: string 1690 compiler.misc.verbose.sourcepath=\ 1691 [search path for source files: {0}] 1692 1693 # 0: string 1694 compiler.misc.verbose.classpath=\ 1695 [search path for class files: {0}] 1696 1697 ## extra output when using -prompt (util/Log) 1698 compiler.misc.resume.abort=\ 1699 R)esume, A)bort> 1700 1701 ##### 1702 1703 ## 1704 ## warnings 1705 ## 1706 1707 ## All warning messages are preceded by the following string. 1708 compiler.warn.warning=\ 1709 warning:\u0020 1710 1711 ## Warning messages may also include the following prefix to identify a 1712 ## lint option 1713 # 0: option name 1714 compiler.warn.lintOption=\ 1715 [{0}]\u0020 1716 1717 # 0: symbol 1718 compiler.warn.constant.SVUID=\ 1719 serialVersionUID must be constant in class {0} 1720 1721 # 0: path 1722 compiler.warn.dir.path.element.not.found=\ 1723 bad path element "{0}": no such directory 1724 1725 # 0: file name 1726 compiler.warn.dir.path.element.not.directory=\ 1727 bad path element "{0}": not a directory 1728 1729 compiler.warn.finally.cannot.complete=\ 1730 finally clause cannot complete normally 1731 1732 # 0: name 1733 compiler.warn.poor.choice.for.module.name=\ 1734 module name component {0} should avoid terminal digits 1735 1736 # 0: string 1737 compiler.warn.incubating.modules=\ 1738 using incubating module(s): {0} 1739 1740 # 0: symbol, 1: symbol 1741 compiler.warn.has.been.deprecated=\ 1742 {0} in {1} has been deprecated 1743 1744 # 0: symbol, 1: symbol 1745 compiler.warn.has.been.deprecated.for.removal=\ 1746 {0} in {1} has been deprecated and marked for removal 1747 1748 # 0: symbol 1749 compiler.warn.has.been.deprecated.module=\ 1750 module {0} has been deprecated 1751 1752 # 0: symbol 1753 compiler.warn.has.been.deprecated.for.removal.module=\ 1754 module {0} has been deprecated and marked for removal 1755 1756 # 0: symbol 1757 compiler.warn.sun.proprietary=\ 1758 {0} is internal proprietary API and may be removed in a future release 1759 1760 compiler.warn.illegal.char.for.encoding=\ 1761 unmappable character for encoding {0} 1762 1763 # 0: symbol 1764 compiler.warn.improper.SVUID=\ 1765 serialVersionUID must be declared static final in class {0} 1766 1767 # 0: type, 1: type 1768 compiler.warn.inexact.non-varargs.call=\ 1769 non-varargs call of varargs method with inexact argument type for last parameter;\n\ 1770 cast to {0} for a varargs call\n\ 1771 cast to {1} for a non-varargs call and to suppress this warning 1772 1773 # 0: list of type 1774 compiler.warn.unreachable.catch=\ 1775 unreachable catch clause\n\ 1776 thrown type {0} has already been caught 1777 1778 # 0: list of type 1779 compiler.warn.unreachable.catch.1=\ 1780 unreachable catch clause\n\ 1781 thrown types {0} have already been caught 1782 1783 # 0: symbol 1784 compiler.warn.long.SVUID=\ 1785 serialVersionUID must be of type long in class {0} 1786 1787 # 0: symbol 1788 compiler.warn.missing.SVUID=\ 1789 serializable class {0} has no definition of serialVersionUID 1790 1791 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 1792 compiler.warn.potentially.ambiguous.overload=\ 1793 {0} in {1} is potentially ambiguous with {2} in {3} 1794 1795 # 0: message segment 1796 compiler.warn.override.varargs.missing=\ 1797 {0}; overridden method has no ''...'' 1798 1799 # 0: message segment 1800 compiler.warn.override.varargs.extra=\ 1801 {0}; overriding method is missing ''...'' 1802 1803 # 0: message segment 1804 compiler.warn.override.bridge=\ 1805 {0}; overridden method is a bridge method 1806 1807 # 0: symbol 1808 compiler.warn.pkg-info.already.seen=\ 1809 a package-info.java file has already been seen for package {0} 1810 1811 # 0: path 1812 compiler.warn.path.element.not.found=\ 1813 bad path element "{0}": no such file or directory 1814 1815 compiler.warn.possible.fall-through.into.case=\ 1816 possible fall-through into case 1817 1818 # 0: type 1819 compiler.warn.redundant.cast=\ 1820 redundant cast to {0} 1821 1822 # 0: number 1823 compiler.warn.position.overflow=\ 1824 Position encoding overflows at line {0} 1825 1826 # 0: file name, 1: number, 2: number 1827 compiler.warn.big.major.version=\ 1828 {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\ 1829 It is recommended that the compiler be upgraded. 1830 1831 # 0: kind name, 1: symbol 1832 compiler.warn.static.not.qualified.by.type=\ 1833 static {0} should be qualified by type name, {1}, instead of by an expression 1834 1835 # 0: string 1836 compiler.warn.source.no.bootclasspath=\ 1837 bootstrap class path not set in conjunction with -source {0} 1838 1839 # 0: string 1840 compiler.warn.option.obsolete.source=\ 1841 source value {0} is obsolete and will be removed in a future release 1842 1843 # 0: target 1844 compiler.warn.option.obsolete.target=\ 1845 target value {0} is obsolete and will be removed in a future release 1846 1847 # 0: string, 1: string 1848 compiler.err.option.removed.source=\ 1849 Source option {0} is no longer supported. Use {1} or later. 1850 1851 # 0: target, 1: target 1852 compiler.err.option.removed.target=\ 1853 Target option {0} is no longer supported. Use {1} or later. 1854 1855 1856 # 0: target, 1: target 1857 compiler.warn.option.parameters.unsupported=\ 1858 -parameters is not supported for target value {0}. Use {1} or later. 1859 1860 compiler.warn.option.obsolete.suppression=\ 1861 To suppress warnings about obsolete options, use -Xlint:-options. 1862 1863 # 0: name, 1: number, 2: number, 3: number, 4: number 1864 compiler.warn.future.attr=\ 1865 {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files 1866 1867 compiler.warn.requires.automatic=\ 1868 requires directive for an automatic module 1869 1870 compiler.warn.requires.transitive.automatic=\ 1871 requires transitive directive for an automatic module 1872 1873 # Warnings related to annotation processing 1874 # 0: string 1875 compiler.warn.proc.package.does.not.exist=\ 1876 package {0} does not exist 1877 1878 # 0: string 1879 compiler.warn.proc.file.reopening=\ 1880 Attempt to create a file for ''{0}'' multiple times 1881 1882 # 0: string 1883 compiler.warn.proc.type.already.exists=\ 1884 A file for type ''{0}'' already exists on the sourcepath or classpath 1885 1886 # 0: string 1887 compiler.warn.proc.type.recreate=\ 1888 Attempt to create a file for type ''{0}'' multiple times 1889 1890 # 0: string 1891 compiler.warn.proc.illegal.file.name=\ 1892 Cannot create file for illegal name ''{0}''. 1893 1894 # 0: string, 1: string 1895 compiler.warn.proc.suspicious.class.name=\ 1896 Creating file for a type whose name ends in {1}: ''{0}'' 1897 1898 # 0: string 1899 compiler.warn.proc.file.create.last.round=\ 1900 File for type ''{0}'' created in the last round will not be subject to annotation processing. 1901 1902 # 0: string, 1: string 1903 compiler.warn.proc.malformed.supported.string=\ 1904 Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}'' 1905 1906 # 0: set of string 1907 compiler.warn.proc.annotations.without.processors=\ 1908 No processor claimed any of these annotations: {0} 1909 1910 # 0: source version, 1: string, 2: string 1911 compiler.warn.proc.processor.incompatible.source.version=\ 1912 Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}'' 1913 1914 # 0: string, 1: string 1915 compiler.warn.proc.duplicate.option.name=\ 1916 Duplicate supported option ''{0}'' returned by annotation processor ''{1}'' 1917 1918 # 0: string, 1: string 1919 compiler.warn.proc.duplicate.supported.annotation=\ 1920 Duplicate supported annotation type ''{0}'' returned by annotation processor ''{1}'' 1921 1922 # 0: string 1923 compiler.warn.proc.redundant.types.with.wildcard=\ 1924 Annotation processor ''{0}'' redundantly supports both ''*'' and other annotation types 1925 1926 compiler.warn.proc.proc-only.requested.no.procs=\ 1927 Annotation processing without compilation requested but no processors were found. 1928 1929 compiler.warn.proc.use.implicit=\ 1930 Implicitly compiled files were not subject to annotation processing.\n\ 1931 Use -implicit to specify a policy for implicit compilation. 1932 1933 compiler.warn.proc.use.proc.or.implicit=\ 1934 Implicitly compiled files were not subject to annotation processing.\n\ 1935 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. 1936 1937 # Print a client-generated warning; assumed to be localized, no translation required 1938 # 0: string 1939 compiler.warn.proc.messager=\ 1940 {0} 1941 1942 # 0: set of string 1943 compiler.warn.proc.unclosed.type.files=\ 1944 Unclosed files for the types ''{0}''; these types will not undergo annotation processing 1945 1946 # 0: string 1947 compiler.warn.proc.unmatched.processor.options=\ 1948 The following options were not recognized by any processor: ''{0}'' 1949 1950 compiler.warn.try.explicit.close.call=\ 1951 explicit call to close() on an auto-closeable resource 1952 1953 # 0: symbol 1954 compiler.warn.try.resource.not.referenced=\ 1955 auto-closeable resource {0} is never referenced in body of corresponding try statement 1956 1957 # 0: type 1958 compiler.warn.try.resource.throws.interrupted.exc=\ 1959 auto-closeable resource {0} has a member method close() that could throw InterruptedException 1960 1961 compiler.warn.unchecked.assign=\ 1962 unchecked assignment: {0} to {1} 1963 1964 # 0: symbol, 1: type 1965 compiler.warn.unchecked.assign.to.var=\ 1966 unchecked assignment to variable {0} as member of raw type {1} 1967 1968 # 0: symbol, 1: type 1969 compiler.warn.unchecked.call.mbr.of.raw.type=\ 1970 unchecked call to {0} as a member of the raw type {1} 1971 1972 compiler.warn.unchecked.cast.to.type=\ 1973 unchecked cast to type {0} 1974 1975 # 0: kind name, 1: name, 2: object, 3: object, 4: kind name, 5: symbol 1976 compiler.warn.unchecked.meth.invocation.applied=\ 1977 unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\ 1978 required: {2}\n\ 1979 found: {3} 1980 1981 # 0: type 1982 compiler.warn.unchecked.generic.array.creation=\ 1983 unchecked generic array creation for varargs parameter of type {0} 1984 1985 # 0: type 1986 compiler.warn.unchecked.varargs.non.reifiable.type=\ 1987 Possible heap pollution from parameterized vararg type {0} 1988 1989 # 0: symbol 1990 compiler.warn.varargs.unsafe.use.varargs.param=\ 1991 Varargs method could cause heap pollution from non-reifiable varargs parameter {0} 1992 1993 compiler.warn.missing.deprecated.annotation=\ 1994 deprecated item is not annotated with @Deprecated 1995 1996 # 0: kind name 1997 compiler.warn.deprecated.annotation.has.no.effect=\ 1998 @Deprecated annotation has no effect on this {0} declaration 1999 2000 # 0: string 2001 compiler.warn.invalid.path=\ 2002 Invalid filename: {0} 2003 2004 # 0: string 2005 compiler.err.invalid.path=\ 2006 Invalid filename: {0} 2007 2008 2009 # 0: path 2010 compiler.warn.invalid.archive.file=\ 2011 Unexpected file on path: {0} 2012 2013 # 0: path 2014 compiler.warn.unexpected.archive.file=\ 2015 Unexpected extension for archive file: {0} 2016 2017 # 0: path 2018 compiler.err.no.zipfs.for.archive=\ 2019 No file system provider is available to handle this file: {0} 2020 2021 compiler.warn.div.zero=\ 2022 division by zero 2023 2024 compiler.warn.empty.if=\ 2025 empty statement after if 2026 2027 # 0: type, 1: name 2028 compiler.warn.annotation.method.not.found=\ 2029 Cannot find annotation method ''{1}()'' in type ''{0}'' 2030 2031 # 0: type, 1: name, 2: message segment 2032 compiler.warn.annotation.method.not.found.reason=\ 2033 Cannot find annotation method ''{1}()'' in type ''{0}'': {2} 2034 2035 # 0: file object, 1: symbol, 2: name 2036 compiler.warn.unknown.enum.constant=\ 2037 unknown enum constant {1}.{2} 2038 2039 # 0: file object, 1: symbol, 2: name, 3: message segment 2040 compiler.warn.unknown.enum.constant.reason=\ 2041 unknown enum constant {1}.{2}\n\ 2042 reason: {3} 2043 2044 # 0: type, 1: type 2045 compiler.warn.raw.class.use=\ 2046 found raw type: {0}\n\ 2047 missing type arguments for generic class {1} 2048 2049 compiler.warn.diamond.redundant.args=\ 2050 Redundant type arguments in new expression (use diamond operator instead). 2051 2052 compiler.warn.local.redundant.type=\ 2053 Redundant type for local variable (replace explicit type with ''var''). 2054 2055 compiler.warn.potential.lambda.found=\ 2056 This anonymous inner class creation can be turned into a lambda expression. 2057 2058 compiler.warn.method.redundant.typeargs=\ 2059 Redundant type arguments in method call. 2060 2061 # 0: symbol, 1: message segment 2062 compiler.warn.varargs.redundant.trustme.anno=\ 2063 Redundant {0} annotation. {1} 2064 2065 # 0: symbol 2066 compiler.warn.access.to.member.from.serializable.element=\ 2067 access to member {0} from serializable element can be publicly accessible to untrusted code 2068 2069 # 0: symbol 2070 compiler.warn.access.to.member.from.serializable.lambda=\ 2071 access to member {0} from serializable lambda can be publicly accessible to untrusted code 2072 2073 ##### 2074 2075 ## The following are tokens which are non-terminals in the language. They should 2076 ## be named as JLS3 calls them when translated to the appropriate language. 2077 compiler.misc.token.identifier=\ 2078 <identifier> 2079 2080 compiler.misc.token.character=\ 2081 <character> 2082 2083 compiler.misc.token.string=\ 2084 <string> 2085 2086 compiler.misc.token.integer=\ 2087 <integer> 2088 2089 compiler.misc.token.long-integer=\ 2090 <long integer> 2091 2092 compiler.misc.token.float=\ 2093 <float> 2094 2095 compiler.misc.token.double=\ 2096 <double> 2097 2098 compiler.misc.token.bad-symbol=\ 2099 <bad symbol> 2100 2101 compiler.misc.token.end-of-input=\ 2102 <end of input> 2103 2104 ## The argument to the following string will always be one of the following: 2105 ## 1. one of the above non-terminals 2106 ## 2. a keyword (JLS1.8) 2107 ## 3. a boolean literal (JLS3.10.3) 2108 ## 4. the null literal (JLS3.10.7) 2109 ## 5. a Java separator (JLS3.11) 2110 ## 6. an operator (JLS3.12) 2111 ## 2112 ## This is the only place these tokens will be used. 2113 # 0: token 2114 compiler.err.expected=\ 2115 {0} expected 2116 2117 # 0: string 2118 compiler.err.expected.str=\ 2119 {0} expected 2120 2121 # 0: token, 1: token 2122 compiler.err.expected2=\ 2123 {0} or {1} expected 2124 2125 # 0: token, 1: token, 2: token 2126 compiler.err.expected3=\ 2127 {0}, {1}, or {2} expected 2128 2129 compiler.err.premature.eof=\ 2130 reached end of file while parsing 2131 2132 ## The following are related in form, but do not easily fit the above paradigm. 2133 compiler.err.expected.module=\ 2134 ''module'' expected 2135 2136 compiler.err.expected.module.or.open=\ 2137 ''module'' or ''open'' expected 2138 2139 compiler.err.dot.class.expected=\ 2140 ''.class'' expected 2141 2142 ## The argument to this string will always be either 'case' or 'default'. 2143 # 0: token 2144 compiler.err.orphaned=\ 2145 orphaned {0} 2146 2147 # 0: name 2148 compiler.misc.anonymous.class=\ 2149 <anonymous {0}> 2150 2151 # 0: name, 1: type 2152 compiler.misc.type.captureof=\ 2153 capture#{0} of {1} 2154 2155 compiler.misc.type.captureof.1=\ 2156 capture#{0} 2157 2158 compiler.misc.type.none=\ 2159 <none> 2160 2161 compiler.misc.unnamed.package=\ 2162 unnamed package 2163 2164 compiler.misc.unnamed.module=\ 2165 unnamed module 2166 2167 ##### 2168 2169 # 0: symbol, 1: message segment 2170 compiler.err.cant.access=\ 2171 cannot access {0}\n\ 2172 {1} 2173 2174 # 0: name 2175 compiler.misc.bad.class.file=\ 2176 class file is invalid for class {0} 2177 2178 # 0: file name, 1: string (expected constant pool entry type), 2: number (constant pool index) 2179 compiler.misc.bad.const.pool.entry=\ 2180 bad constant pool entry in {0}\n\ 2181 expected {1} at index {2} 2182 2183 # 0: file name, 1: number (constant pool index), 2: number (constant pool size) 2184 compiler.misc.bad.const.pool.index=\ 2185 bad constant pool index in {0}\n\ 2186 index {1} is not within pool size {2}. 2187 2188 # 0: file name, 1: message segment 2189 compiler.misc.bad.class.file.header=\ 2190 bad class file: {0}\n\ 2191 {1}\n\ 2192 Please remove or make sure it appears in the correct subdirectory of the classpath. 2193 2194 # 0: file name, 1: message segment 2195 compiler.misc.bad.source.file.header=\ 2196 bad source file: {0}\n\ 2197 {1}\n\ 2198 Please remove or make sure it appears in the correct subdirectory of the sourcepath. 2199 2200 ## The following are all possible strings for the second argument ({1}) of the 2201 ## above strings. 2202 compiler.misc.bad.class.signature=\ 2203 bad class signature: {0} 2204 2205 #0: symbol, 1: symbol 2206 compiler.misc.bad.enclosing.class=\ 2207 bad enclosing class for {0}: {1} 2208 2209 # 0: symbol 2210 compiler.misc.bad.enclosing.method=\ 2211 bad enclosing method attribute for class {0} 2212 2213 compiler.misc.bad.runtime.invisible.param.annotations=\ 2214 bad RuntimeInvisibleParameterAnnotations attribute: {0} 2215 2216 compiler.misc.bad.const.pool.tag=\ 2217 bad constant pool tag: {0} 2218 2219 compiler.misc.bad.const.pool.tag.at=\ 2220 bad constant pool tag: {0} at {1} 2221 2222 compiler.misc.bad.signature=\ 2223 bad signature: {0} 2224 2225 compiler.misc.bad.type.annotation.value=\ 2226 bad type annotation target type value: {0} 2227 2228 compiler.misc.bad.module-info.name=\ 2229 bad class name 2230 2231 compiler.misc.class.file.wrong.class=\ 2232 class file contains wrong class: {0} 2233 2234 compiler.misc.module.info.invalid.super.class=\ 2235 module-info with invalid super class 2236 2237 # 0: name 2238 compiler.misc.class.file.not.found=\ 2239 class file for {0} not found 2240 2241 # 0: string (constant value), 1: symbol (constant field), 2: type (field type) 2242 compiler.misc.bad.constant.range=\ 2243 constant value ''{0}'' for {1} is outside the expected range for {2} 2244 2245 # 0: string (constant value), 1: symbol (constant field), 2: string (expected class) 2246 compiler.misc.bad.constant.value=\ 2247 bad constant value ''{0}'' for {1}, expected {2} 2248 2249 # 0: string (classfile major version), 1: string (classfile minor version) 2250 compiler.misc.invalid.default.interface=\ 2251 default method found in version {0}.{1} classfile 2252 2253 # 0: string (classfile major version), 1: string (classfile minor version) 2254 compiler.misc.invalid.static.interface=\ 2255 static method found in version {0}.{1} classfile 2256 2257 # 0: string (classfile major version), 1: string (classfile minor version) 2258 compiler.misc.anachronistic.module.info=\ 2259 module declaration found in version {0}.{1} classfile 2260 2261 # 0: name 2262 compiler.misc.file.doesnt.contain.class=\ 2263 file does not contain class {0} 2264 2265 # 0: symbol 2266 compiler.misc.file.does.not.contain.package=\ 2267 file does not contain package {0} 2268 2269 compiler.misc.file.does.not.contain.module=\ 2270 file does not contain module declaration 2271 2272 compiler.misc.illegal.start.of.class.file=\ 2273 illegal start of class file 2274 2275 compiler.misc.unable.to.access.file=\ 2276 unable to access file: {0} 2277 2278 compiler.misc.unicode.str.not.supported=\ 2279 unicode string in class file not supported 2280 2281 compiler.misc.undecl.type.var=\ 2282 undeclared type variable: {0} 2283 2284 compiler.misc.malformed.vararg.method=\ 2285 class file contains malformed variable arity method: {0} 2286 2287 compiler.misc.wrong.version=\ 2288 class file has wrong version {0}.{1}, should be {2}.{3} 2289 2290 ##### 2291 2292 # 0: type, 1: type or symbol 2293 compiler.err.not.within.bounds=\ 2294 type argument {0} is not within bounds of type-variable {1} 2295 2296 ## The following are all possible strings for the second argument ({1}) of the 2297 ## above string. 2298 2299 ## none yet... 2300 2301 ##### 2302 2303 # 0: message segment 2304 compiler.err.prob.found.req=\ 2305 incompatible types: {0} 2306 2307 # 0: message segment 2308 compiler.misc.prob.found.req=\ 2309 incompatible types: {0} 2310 2311 # 0: message segment, 1: type, 2: type 2312 compiler.warn.prob.found.req=\ 2313 {0}\n\ 2314 required: {2}\n\ 2315 found: {1} 2316 2317 # 0: type, 1: type 2318 compiler.misc.inconvertible.types=\ 2319 {0} cannot be converted to {1} 2320 2321 # 0: type, 1: type 2322 compiler.misc.possible.loss.of.precision=\ 2323 possible lossy conversion from {0} to {1} 2324 2325 compiler.misc.unchecked.assign=\ 2326 unchecked conversion 2327 2328 # compiler.misc.storecheck=\ 2329 # assignment might cause later store checks to fail 2330 # compiler.misc.unchecked=\ 2331 # assigned array cannot dynamically check its stores 2332 compiler.misc.unchecked.cast.to.type=\ 2333 unchecked cast 2334 2335 # compiler.err.star.expected=\ 2336 # ''*'' expected 2337 # compiler.err.no.elem.type=\ 2338 # \[\*\] cannot have a type 2339 2340 # 0: message segment 2341 compiler.misc.try.not.applicable.to.type=\ 2342 try-with-resources not applicable to variable type\n\ 2343 ({0}) 2344 2345 ##### 2346 2347 # 0: object, 1: message segment 2348 compiler.err.type.found.req=\ 2349 unexpected type\n\ 2350 required: {1}\n\ 2351 found: {0} 2352 2353 ## The following are all possible strings for the first argument ({0}) of the 2354 ## above string. 2355 compiler.misc.type.req.class=\ 2356 class 2357 2358 compiler.misc.type.req.class.array=\ 2359 class or array 2360 2361 compiler.misc.type.req.array.or.iterable=\ 2362 array or java.lang.Iterable 2363 2364 compiler.misc.type.req.ref=\ 2365 reference 2366 2367 compiler.misc.type.req.exact=\ 2368 class or interface without bounds 2369 2370 # 0: type 2371 compiler.misc.type.parameter=\ 2372 type parameter {0} 2373 2374 ##### 2375 2376 ## The following are all possible strings for the last argument of all those 2377 ## diagnostics whose key ends in ".1" 2378 2379 # 0: type, 1: list of type 2380 compiler.misc.no.unique.maximal.instance.exists=\ 2381 no unique maximal instance exists for type variable {0} with upper bounds {1} 2382 2383 # 0: type, 1: list of type 2384 compiler.misc.no.unique.minimal.instance.exists=\ 2385 no unique minimal instance exists for type variable {0} with lower bounds {1} 2386 2387 # 0: type, 1: list of type 2388 compiler.misc.incompatible.upper.bounds=\ 2389 inference variable {0} has incompatible upper bounds {1} 2390 2391 # 0: type, 1: list of type 2392 compiler.misc.incompatible.eq.bounds=\ 2393 inference variable {0} has incompatible equality constraints {1} 2394 2395 # 0: type, 1: fragment, 2: fragment 2396 compiler.misc.incompatible.bounds=\ 2397 inference variable {0} has incompatible bounds\n\ 2398 {1}\n\ 2399 {2} 2400 2401 # 0: list of type 2402 compiler.misc.lower.bounds=\ 2403 lower bounds: {0} 2404 2405 # 0: list of type 2406 compiler.misc.eq.bounds=\ 2407 equality constraints: {0} 2408 2409 # 0: list of type 2410 compiler.misc.upper.bounds=\ 2411 lower bounds: {0} 2412 2413 # 0: list of type, 1: type, 2: type 2414 compiler.misc.infer.no.conforming.instance.exists=\ 2415 no instance(s) of type variable(s) {0} exist so that {1} conforms to {2} 2416 2417 # 0: list of type, 1: message segment 2418 compiler.misc.infer.no.conforming.assignment.exists=\ 2419 cannot infer type-variable(s) {0}\n\ 2420 (argument mismatch; {1}) 2421 2422 # 0: list of type 2423 compiler.misc.infer.arg.length.mismatch=\ 2424 cannot infer type-variable(s) {0}\n\ 2425 (actual and formal argument lists differ in length) 2426 2427 # 0: list of type, 1: message segment 2428 compiler.misc.infer.varargs.argument.mismatch=\ 2429 cannot infer type-variable(s) {0}\n\ 2430 (varargs mismatch; {1}) 2431 2432 # 0: type, 1: list of type 2433 compiler.misc.inferred.do.not.conform.to.upper.bounds=\ 2434 inferred type does not conform to upper bound(s)\n\ 2435 inferred: {0}\n\ 2436 upper bound(s): {1} 2437 2438 # 0: type, 1: list of type 2439 compiler.misc.inferred.do.not.conform.to.lower.bounds=\ 2440 inferred type does not conform to lower bound(s)\n\ 2441 inferred: {0}\n\ 2442 lower bound(s): {1} 2443 2444 # 0: type, 1: list of type 2445 compiler.misc.inferred.do.not.conform.to.eq.bounds=\ 2446 inferred type does not conform to equality constraint(s)\n\ 2447 inferred: {0}\n\ 2448 equality constraints(s): {1} 2449 2450 # 0: symbol 2451 compiler.misc.diamond=\ 2452 {0}<> 2453 2454 # 0: type 2455 compiler.misc.diamond.non.generic=\ 2456 cannot use ''<>'' with non-generic class {0} 2457 2458 # 0: list of type, 1: message segment 2459 compiler.misc.diamond.invalid.arg=\ 2460 type argument {0} inferred for {1} is not allowed in this context\n\ 2461 inferred argument is not expressible in the Signature attribute 2462 2463 # 0: list of type, 1: message segment 2464 compiler.misc.diamond.invalid.args=\ 2465 type arguments {0} inferred for {1} are not allowed in this context\n\ 2466 inferred arguments are not expressible in the Signature attribute 2467 2468 # 0: type 2469 compiler.misc.diamond.and.explicit.params=\ 2470 cannot use ''<>'' with explicit type parameters for constructor 2471 2472 compiler.misc.mref.infer.and.explicit.params=\ 2473 cannot use raw constructor reference with explicit type parameters for constructor 2474 2475 # 0: type, 1: list of type 2476 compiler.misc.explicit.param.do.not.conform.to.bounds=\ 2477 explicit type argument {0} does not conform to declared bound(s) {1} 2478 2479 compiler.misc.arg.length.mismatch=\ 2480 actual and formal argument lists differ in length 2481 2482 # 0: string 2483 compiler.misc.wrong.number.type.args=\ 2484 wrong number of type arguments; required {0} 2485 2486 # 0: message segment 2487 compiler.misc.no.conforming.assignment.exists=\ 2488 argument mismatch; {0} 2489 2490 # 0: message segment 2491 compiler.misc.varargs.argument.mismatch=\ 2492 varargs mismatch; {0} 2493 2494 ##### 2495 2496 # 0: symbol or type, 1: file name 2497 compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\ 2498 auxiliary class {0} in {1} should not be accessed from outside its own source file 2499 2500 ## The first argument ({0}) is a "kindname". 2501 # 0: kind name, 1: symbol, 2: symbol 2502 compiler.err.abstract.cant.be.accessed.directly=\ 2503 abstract {0} {1} in {2} cannot be accessed directly 2504 2505 ## The first argument ({0}) is a "kindname". 2506 # 0: symbol kind, 1: symbol 2507 compiler.err.non-static.cant.be.ref=\ 2508 non-static {0} {1} cannot be referenced from a static context 2509 2510 # 0: symbol kind, 1: symbol 2511 compiler.misc.bad.static.method.in.unbound.lookup=\ 2512 unexpected static {0} {1} found in unbound lookup 2513 2514 # 0: symbol kind, 1: symbol 2515 compiler.misc.bad.instance.method.in.unbound.lookup=\ 2516 unexpected instance {0} {1} found in unbound lookup 2517 2518 # 0: symbol kind, 1: symbol 2519 compiler.misc.bad.static.method.in.bound.lookup=\ 2520 unexpected static {0} {1} found in bound lookup 2521 2522 ## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list 2523 ## of kindnames (the list should be identical to that provided in source. 2524 # 0: set of kind name, 1: set of kind name 2525 compiler.err.unexpected.type=\ 2526 unexpected type\n\ 2527 required: {0}\n\ 2528 found: {1} 2529 2530 compiler.err.unexpected.lambda=\ 2531 lambda expression not expected here 2532 2533 compiler.err.unexpected.mref=\ 2534 method reference not expected here 2535 2536 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.) 2537 ## The second argument {1} is the non-resolved symbol 2538 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method) 2539 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method) 2540 # 0: kind name, 1: name, 2: unused, 3: unused 2541 compiler.err.cant.resolve=\ 2542 cannot find symbol\n\ 2543 symbol: {0} {1} 2544 2545 # 0: kind name, 1: name, 2: unused, 3: list of type 2546 compiler.err.cant.resolve.args=\ 2547 cannot find symbol\n\ 2548 symbol: {0} {1}({3}) 2549 2550 # 0: kind name, 1: name, 2: unused, 3: list of type 2551 compiler.misc.cant.resolve.args=\ 2552 cannot find symbol\n\ 2553 symbol: {0} {1}({3}) 2554 2555 # 0: kind name, 1: name, 2: list of type, 3: list of type 2556 compiler.err.cant.resolve.args.params=\ 2557 cannot find symbol\n\ 2558 symbol: {0} <{2}>{1}({3}) 2559 2560 ## arguments from {0} to {3} have the same meaning as above 2561 ## The fifth argument {4} is a location subdiagnostic (see below) 2562 # 0: kind name, 1: name, 2: unused, 3: unused, 4: message segment 2563 compiler.err.cant.resolve.location=\ 2564 cannot find symbol\n\ 2565 symbol: {0} {1}\n\ 2566 location: {4} 2567 2568 # 0: kind name, 1: name, 2: unused, 3: list of type, 4: message segment 2569 compiler.err.cant.resolve.location.args=\ 2570 cannot find symbol\n\ 2571 symbol: {0} {1}({3})\n\ 2572 location: {4} 2573 2574 # 0: kind name, 1: name, 2: list of type, 3: list, 4: message segment 2575 compiler.err.cant.resolve.location.args.params=\ 2576 cannot find symbol\n\ 2577 symbol: {0} <{2}>{1}({3})\n\ 2578 location: {4} 2579 2580 ### Following are replicated/used for method reference diagnostics 2581 2582 # 0: kind name, 1: name, 2: unused, 3: list of type, 4: message segment 2583 compiler.misc.cant.resolve.location.args=\ 2584 cannot find symbol\n\ 2585 symbol: {0} {1}({3})\n\ 2586 location: {4} 2587 2588 # 0: kind name, 1: name, 2: list of type, 3: list, 4: message segment 2589 compiler.misc.cant.resolve.location.args.params=\ 2590 cannot find symbol\n\ 2591 symbol: {0} <{2}>{1}({3})\n\ 2592 location: {4} 2593 2594 ##a location subdiagnostic is composed as follows: 2595 ## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.) 2596 ## The second argument {1} is the location name 2597 ## The third argument {2} is the location type (only when {1} is a variable name) 2598 2599 # 0: kind name, 1: type or symbol, 2: unused 2600 compiler.misc.location=\ 2601 {0} {1} 2602 2603 # 0: kind name, 1: symbol, 2: type 2604 compiler.misc.location.1=\ 2605 {0} {1} of type {2} 2606 2607 ## The following are all possible string for "kindname". 2608 ## They should be called whatever the JLS calls them after it been translated 2609 ## to the appropriate language. 2610 # compiler.misc.kindname.constructor=\ 2611 # static member 2612 compiler.misc.kindname.annotation=\ 2613 @interface 2614 2615 compiler.misc.kindname.constructor=\ 2616 constructor 2617 2618 compiler.misc.kindname.enum=\ 2619 enum 2620 2621 compiler.misc.kindname.interface=\ 2622 interface 2623 2624 compiler.misc.kindname.static=\ 2625 static 2626 2627 compiler.misc.kindname.type.variable=\ 2628 type variable 2629 2630 compiler.misc.kindname.type.variable.bound=\ 2631 bound of type variable 2632 2633 compiler.misc.kindname.variable=\ 2634 variable 2635 2636 compiler.misc.kindname.value=\ 2637 value 2638 2639 compiler.misc.kindname.method=\ 2640 method 2641 2642 compiler.misc.kindname.class=\ 2643 class 2644 2645 compiler.misc.kindname.package=\ 2646 package 2647 2648 compiler.misc.kindname.module=\ 2649 module 2650 2651 compiler.misc.kindname.static.init=\ 2652 static initializer 2653 2654 compiler.misc.kindname.instance.init=\ 2655 instance initializer 2656 2657 # the following are names of tree kinds: 2658 compiler.misc.tree.tag.forloop=\ 2659 for 2660 2661 compiler.misc.tree.tag.foreachloop=\ 2662 for 2663 2664 compiler.misc.tree.tag.whileloop=\ 2665 while 2666 2667 compiler.misc.tree.tag.doloop=\ 2668 do 2669 2670 compiler.misc.tree.tag.switch=\ 2671 switch 2672 2673 ##### 2674 2675 compiler.misc.no.args=\ 2676 no arguments 2677 2678 # 0: message segment 2679 compiler.err.override.static=\ 2680 {0}\n\ 2681 overriding method is static 2682 2683 # 0: message segment, 1: set of flag 2684 compiler.err.override.meth=\ 2685 {0}\n\ 2686 overridden method is {1} 2687 2688 # 0: message segment, 1: type 2689 compiler.err.override.meth.doesnt.throw=\ 2690 {0}\n\ 2691 overridden method does not throw {1} 2692 2693 # In the following string {1} is a space separated list of Java Keywords, as 2694 # they would have been declared in the source code 2695 # 0: message segment, 1: set of flag or string 2696 compiler.err.override.weaker.access=\ 2697 {0}\n\ 2698 attempting to assign weaker access privileges; was {1} 2699 2700 # 0: message segment, 1: type, 2: type 2701 compiler.err.override.incompatible.ret=\ 2702 {0}\n\ 2703 return type {1} is not compatible with {2} 2704 2705 # 0: message segment, 1: type, 2: type 2706 compiler.warn.override.unchecked.ret=\ 2707 {0}\n\ 2708 return type requires unchecked conversion from {1} to {2} 2709 2710 # 0: message segment, 1: type 2711 compiler.warn.override.unchecked.thrown=\ 2712 {0}\n\ 2713 overridden method does not throw {1} 2714 2715 # 0: symbol 2716 compiler.warn.override.equals.but.not.hashcode=\ 2717 Class {0} overrides equals, but neither it nor any superclass overrides hashCode method 2718 2719 ## The following are all possible strings for the first argument ({0}) of the 2720 ## above strings. 2721 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2722 compiler.misc.cant.override=\ 2723 {0} in {1} cannot override {2} in {3} 2724 2725 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2726 compiler.misc.cant.hide=\ 2727 {0} in {1} cannot hide {2} in {3} 2728 2729 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2730 compiler.misc.cant.implement=\ 2731 {0} in {1} cannot implement {2} in {3} 2732 2733 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2734 compiler.misc.clashes.with=\ 2735 {0} in {1} clashes with {2} in {3} 2736 2737 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2738 compiler.misc.unchecked.override=\ 2739 {0} in {1} overrides {2} in {3} 2740 2741 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2742 compiler.misc.unchecked.implement=\ 2743 {0} in {1} implements {2} in {3} 2744 2745 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2746 compiler.misc.unchecked.clash.with=\ 2747 {0} in {1} overrides {2} in {3} 2748 2749 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2750 compiler.misc.varargs.override=\ 2751 {0} in {1} overrides {2} in {3} 2752 2753 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2754 compiler.misc.varargs.implement=\ 2755 {0} in {1} implements {2} in {3} 2756 2757 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2758 compiler.misc.varargs.clash.with=\ 2759 {0} in {1} overrides {2} in {3} 2760 2761 # 0: kind name, 1: symbol, 2: symbol, 3: message segment 2762 compiler.misc.inapplicable.method=\ 2763 {0} {1}.{2} is not applicable\n\ 2764 ({3}) 2765 2766 ######################################## 2767 # Diagnostics for language feature changes. 2768 # Such diagnostics have a common template which can be customized by using a feature 2769 # diagnostic fragment (one of those given below). 2770 ######################################## 2771 2772 # 0: message segment (feature), 1: string (found version), 2: string (expected version) 2773 compiler.err.feature.not.supported.in.source=\ 2774 {0} is not supported in -source {1}\n\ 2775 (use -source {2} or higher to enable {0}) 2776 2777 # 0: message segment (feature), 1: string (found version), 2: string (expected version) 2778 compiler.err.feature.not.supported.in.source.plural=\ 2779 {0} are not supported in -source {1}\n\ 2780 (use -source {2} or higher to enable {0}) 2781 2782 # 0: message segment (feature), 1: string (found version), 2: string (expected version) 2783 compiler.misc.feature.not.supported.in.source=\ 2784 {0} is not supported in -source {1}\n\ 2785 (use -source {2} or higher to enable {0}) 2786 2787 # 0: message segment (feature), 1: string (found version), 2: string (expected version) 2788 compiler.misc.feature.not.supported.in.source.plural=\ 2789 {0} are not supported in -source {1}\n\ 2790 (use -source {2} or higher to enable {0}) 2791 2792 # 0: message segment (feature) 2793 compiler.err.preview.feature.disabled=\ 2794 {0} is a preview feature and is disabled by default.\n\ 2795 (use --enable-preview to enable {0}) 2796 2797 # 0: message segment (feature) 2798 compiler.err.preview.feature.disabled.plural=\ 2799 {0} are a preview feature and are disabled by default.\n\ 2800 (use --enable-preview to enable {0}) 2801 2802 # 0: file object (classfile), 1: string (expected version) 2803 compiler.err.preview.feature.disabled.classfile=\ 2804 classfile for {0} uses preview features of Java SE {1}.\n\ 2805 (use --enable-preview to allow loading of classfiles which contain preview features) 2806 2807 # 0: message segment (feature) 2808 compiler.warn.preview.feature.use=\ 2809 {0} is a preview feature and may be removed in a future release. 2810 2811 # 0: message segment (feature) 2812 compiler.warn.preview.feature.use.plural=\ 2813 {0} are a preview feature and may be removed in a future release. 2814 2815 # 0: file object (classfile), 1: string (expected version) 2816 compiler.warn.preview.feature.use.classfile=\ 2817 classfile for {0} uses preview features of Java SE {1}. 2818 2819 2820 compiler.misc.feature.modules=\ 2821 modules 2822 2823 compiler.misc.feature.diamond.and.anon.class=\ 2824 ''<>'' with anonymous inner classes 2825 2826 compiler.misc.feature.var.in.try.with.resources=\ 2827 variables in try-with-resources 2828 2829 compiler.misc.feature.type.annotations=\ 2830 type annotations 2831 2832 compiler.misc.feature.annotations.after.type.params=\ 2833 annotations after method type parameters 2834 2835 compiler.misc.feature.repeatable.annotations=\ 2836 repeated annotations 2837 2838 compiler.misc.feature.diamond=\ 2839 diamond operator 2840 2841 compiler.misc.feature.lambda=\ 2842 lambda expressions 2843 2844 compiler.misc.feature.method.references=\ 2845 method references 2846 2847 compiler.misc.feature.default.methods=\ 2848 default methods 2849 2850 compiler.misc.feature.intersection.types.in.cast=\ 2851 intersection types 2852 2853 compiler.misc.feature.static.intf.methods=\ 2854 static interface methods 2855 2856 compiler.misc.feature.static.intf.method.invoke=\ 2857 static interface method invocations 2858 2859 compiler.misc.feature.private.intf.methods=\ 2860 private interface methods 2861 2862 compiler.misc.feature.multiple.case.labels=\ 2863 multiple case labels 2864 2865 compiler.misc.feature.switch.rules=\ 2866 switch rules 2867 2868 compiler.misc.feature.switch.expressions=\ 2869 switch expressions 2870 2871 compiler.misc.feature.var.syntax.in.implicit.lambda=\ 2872 var syntax in implicit lambdas 2873 2874 compiler.warn.underscore.as.identifier=\ 2875 as of release 9, ''_'' is a keyword, and may not be used as an identifier 2876 2877 compiler.err.underscore.as.identifier=\ 2878 as of release 9, ''_'' is a keyword, and may not be used as an identifier 2879 2880 compiler.err.underscore.as.identifier.in.lambda=\ 2881 ''_'' used as an identifier\n\ 2882 (use of ''_'' as an identifier is forbidden for lambda parameters) 2883 2884 compiler.err.enum.as.identifier=\ 2885 as of release 5, ''enum'' is a keyword, and may not be used as an identifier 2886 2887 compiler.err.assert.as.identifier=\ 2888 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier 2889 2890 # TODO 308: make a better error message 2891 compiler.err.this.as.identifier=\ 2892 as of release 8, ''this'' is allowed as the parameter name for the receiver type only\n\ 2893 which has to be the first parameter, and cannot be a lambda parameter 2894 2895 compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\ 2896 receiver parameter not applicable for constructor of top-level class 2897 2898 # TODO 308: make a better error message 2899 # 0: annotation 2900 compiler.err.cant.type.annotate.scoping.1=\ 2901 scoping construct cannot be annotated with type-use annotation: {0} 2902 2903 # TODO 308: make a better error message 2904 # 0: list of annotation 2905 compiler.err.cant.type.annotate.scoping=\ 2906 scoping construct cannot be annotated with type-use annotations: {0} 2907 2908 # 0: type, 1: type 2909 compiler.err.incorrect.receiver.name=\ 2910 the receiver name does not match the enclosing class type\n\ 2911 required: {0}\n\ 2912 found: {1} 2913 2914 # 0: type, 1: type 2915 compiler.err.incorrect.receiver.type=\ 2916 the receiver type does not match the enclosing class type\n\ 2917 required: {0}\n\ 2918 found: {1} 2919 2920 # 0: type, 1: type 2921 compiler.err.incorrect.constructor.receiver.type=\ 2922 the receiver type does not match the enclosing outer class type\n\ 2923 required: {0}\n\ 2924 found: {1} 2925 2926 # 0: type, 1: type 2927 compiler.err.incorrect.constructor.receiver.name=\ 2928 the receiver name does not match the enclosing outer class type\n\ 2929 required: {0}\n\ 2930 found: {1} 2931 2932 compiler.err.no.annotations.on.dot.class=\ 2933 no annotations are allowed in the type of a class literal 2934 2935 ######################################## 2936 # Diagnostics for verbose resolution 2937 # used by Resolve (debug only) 2938 ######################################## 2939 2940 # 0: number, 1: symbol, 2: unused 2941 compiler.misc.applicable.method.found=\ 2942 #{0} applicable method found: {1} 2943 2944 # 0: number, 1: symbol, 2: message segment 2945 compiler.misc.applicable.method.found.1=\ 2946 #{0} applicable method found: {1}\n\ 2947 ({2}) 2948 2949 # 0: number, 1: symbol, 2: message segment 2950 compiler.misc.not.applicable.method.found=\ 2951 #{0} not applicable method found: {1}\n\ 2952 ({2}) 2953 2954 # 0: type 2955 compiler.misc.partial.inst.sig=\ 2956 partially instantiated to: {0} 2957 2958 # 0: name, 1: symbol, 2: number, 3: string (method resolution phase), 4: list of type or message segment, 5: list of type or message segment 2959 compiler.note.verbose.resolve.multi=\ 2960 resolving method {0} in type {1} to candidate {2}\n\ 2961 phase: {3}\n\ 2962 with actuals: {4}\n\ 2963 with type-args: {5}\n\ 2964 candidates: 2965 2966 # 0: name, 1: symbol, 2: unused, 3: string (method resolution phase), 4: list of type or message segment, 5: list of type or message segment 2967 compiler.note.verbose.resolve.multi.1=\ 2968 erroneous resolution for method {0} in type {1}\n\ 2969 phase: {3}\n\ 2970 with actuals: {4}\n\ 2971 with type-args: {5}\n\ 2972 candidates: 2973 2974 # 0: symbol, 1: type, 2: type 2975 compiler.note.deferred.method.inst=\ 2976 Deferred instantiation of method {0}\n\ 2977 instantiated signature: {1}\n\ 2978 target-type: {2} 2979 2980 ######################################## 2981 # Diagnostics for lambda deduplication 2982 # used by LambdaToMethod (debug only) 2983 ######################################## 2984 2985 # 0: symbol 2986 compiler.note.verbose.l2m.deduplicate=\ 2987 deduplicating lambda implementation method {0} 2988 2989 ######################################## 2990 # Diagnostics for where clause implementation 2991 # used by the RichDiagnosticFormatter. 2992 ######################################## 2993 2994 compiler.misc.type.null=\ 2995 <null> 2996 2997 # X#n (where n is an int id) is disambiguated tvar name 2998 # 0: name, 1: number 2999 compiler.misc.type.var=\ 3000 {0}#{1} 3001 3002 # CAP#n (where n is an int id) is an abbreviation for 'captured type' 3003 # 0: number 3004 compiler.misc.captured.type=\ 3005 CAP#{0} 3006 3007 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type' 3008 # 0: number 3009 compiler.misc.intersection.type=\ 3010 INT#{0} 3011 3012 # where clause for captured type: contains upper ('extends {1}') and lower 3013 # ('super {2}') bound along with the wildcard that generated this captured type ({3}) 3014 # 0: type, 1: type, 2: type, 3: type 3015 compiler.misc.where.captured=\ 3016 {0} extends {1} super: {2} from capture of {3} 3017 3018 # compact where clause for captured type: contains upper ('extends {1}') along 3019 # with the wildcard that generated this captured type ({3}) 3020 # 0: type, 1: type, 2: unused, 3: type 3021 compiler.misc.where.captured.1=\ 3022 {0} extends {1} from capture of {3} 3023 3024 # where clause for type variable: contains upper bound(s) ('extends {1}') along with 3025 # the kindname ({2}) and location ({3}) in which the typevar has been declared 3026 # 0: type, 1: list of type, 2: symbol kind, 3: symbol 3027 compiler.misc.where.typevar=\ 3028 {0} extends {1} declared in {2} {3} 3029 3030 # compact where clause for type variable: contains the kindname ({2}) and location ({3}) 3031 # in which the typevar has been declared 3032 # 0: type, 1: list of type, 2: symbol kind, 3: symbol 3033 compiler.misc.where.typevar.1=\ 3034 {0} declared in {2} {3} 3035 3036 # where clause for fresh type variable: contains upper bound(s) ('extends {1}'). 3037 # Since a fresh type-variable is synthetic - there's no location/kindname here. 3038 # 0: type, 1: list of type 3039 compiler.misc.where.fresh.typevar=\ 3040 {0} extends {1} 3041 3042 # where clause for type variable: contains all the upper bound(s) ('extends {1}') 3043 # of this intersection type 3044 # 0: type, 1: list of type 3045 compiler.misc.where.intersection=\ 3046 {0} extends {1} 3047 3048 ### Where clause headers ### 3049 compiler.misc.where.description.captured=\ 3050 where {0} is a fresh type-variable: 3051 3052 # 0: set of type 3053 compiler.misc.where.description.typevar=\ 3054 where {0} is a type-variable: 3055 3056 # 0: set of type 3057 compiler.misc.where.description.intersection=\ 3058 where {0} is an intersection type: 3059 3060 # 0: set of type 3061 compiler.misc.where.description.captured.1=\ 3062 where {0} are fresh type-variables: 3063 3064 # 0: set of type 3065 compiler.misc.where.description.typevar.1=\ 3066 where {0} are type-variables: 3067 3068 # 0: set of type 3069 compiler.misc.where.description.intersection.1=\ 3070 where {0} are intersection types: 3071 3072 ### 3073 # errors related to doc comments 3074 3075 compiler.err.dc.bad.entity=\ 3076 bad HTML entity 3077 3078 compiler.err.dc.bad.gt=\ 3079 bad use of ''>'' 3080 3081 compiler.err.dc.bad.inline.tag=\ 3082 incorrect use of inline tag 3083 3084 compiler.err.dc.identifier.expected=\ 3085 identifier expected 3086 3087 compiler.err.dc.malformed.html=\ 3088 malformed HTML 3089 3090 compiler.err.dc.missing.semicolon=\ 3091 semicolon missing 3092 3093 compiler.err.dc.no.content=\ 3094 no content 3095 3096 compiler.err.dc.no.tag.name=\ 3097 no tag name after '@' 3098 3099 compiler.err.dc.gt.expected=\ 3100 ''>'' expected 3101 3102 compiler.err.dc.ref.bad.parens=\ 3103 '')'' missing in reference 3104 3105 compiler.err.dc.ref.syntax.error=\ 3106 syntax error in reference 3107 3108 compiler.err.dc.ref.unexpected.input=\ 3109 unexpected text 3110 3111 compiler.err.dc.unexpected.content=\ 3112 unexpected content 3113 3114 compiler.err.dc.unterminated.inline.tag=\ 3115 unterminated inline tag 3116 3117 compiler.err.dc.unterminated.signature=\ 3118 unterminated signature 3119 3120 compiler.err.dc.unterminated.string=\ 3121 unterminated string 3122 3123 ### 3124 # errors related to modules 3125 3126 compiler.err.expected.module=\ 3127 expected ''module'' 3128 3129 # 0: symbol 3130 compiler.err.module.not.found=\ 3131 module not found: {0} 3132 3133 # 0: symbol 3134 compiler.warn.module.not.found=\ 3135 module not found: {0} 3136 3137 compiler.err.too.many.modules=\ 3138 too many module declarations found 3139 3140 compiler.err.module.not.found.on.module.source.path=\ 3141 module not found on module source path 3142 3143 compiler.err.not.in.module.on.module.source.path=\ 3144 not in a module on the module source path 3145 3146 # 0: symbol 3147 compiler.err.duplicate.module=\ 3148 duplicate module: {0} 3149 3150 # 0: symbol 3151 compiler.err.duplicate.requires=\ 3152 duplicate requires: {0} 3153 3154 # 0: symbol 3155 compiler.err.conflicting.exports=\ 3156 duplicate or conflicting exports: {0} 3157 3158 # 0: symbol 3159 compiler.err.conflicting.opens=\ 3160 duplicate or conflicting opens: {0} 3161 3162 # 0: symbol 3163 compiler.err.conflicting.exports.to.module=\ 3164 duplicate or conflicting exports to module: {0} 3165 3166 # 0: symbol 3167 compiler.err.conflicting.opens.to.module=\ 3168 duplicate or conflicting opens to module: {0} 3169 3170 compiler.err.no.opens.unless.strong=\ 3171 ''opens'' only allowed in strong modules 3172 3173 # 0: symbol 3174 compiler.err.repeated.provides.for.service=\ 3175 multiple ''provides'' for service {0} 3176 3177 # 0: symbol, 1: symbol 3178 compiler.err.duplicate.provides=\ 3179 duplicate provides: service {0}, implementation {1} 3180 3181 # 0: symbol 3182 compiler.err.duplicate.uses=\ 3183 duplicate uses: {0} 3184 3185 # 0: symbol 3186 compiler.err.service.implementation.is.abstract=\ 3187 the service implementation is an abstract class: {0} 3188 3189 compiler.err.service.implementation.must.be.subtype.of.service.interface=\ 3190 the service implementation type must be a subtype of the service interface type, or \ 3191 have a public static no-args method named "provider" returning the service implementation 3192 3193 compiler.err.service.implementation.provider.return.must.be.subtype.of.service.interface=\ 3194 the "provider" method return type must be a subtype of the service interface type 3195 3196 # 0: symbol 3197 compiler.err.service.implementation.is.inner=\ 3198 the service implementation is an inner class: {0} 3199 3200 # 0: symbol 3201 compiler.err.service.definition.is.enum=\ 3202 the service definition is an enum: {0} 3203 3204 # 0: symbol 3205 compiler.err.service.implementation.doesnt.have.a.no.args.constructor=\ 3206 the service implementation does not have a default constructor: {0} 3207 3208 # 0: symbol 3209 compiler.err.service.implementation.no.args.constructor.not.public=\ 3210 the no arguments constructor of the service implementation is not public: {0} 3211 3212 # 0: symbol 3213 compiler.err.package.empty.or.not.found=\ 3214 package is empty or does not exist: {0} 3215 3216 # 0: symbol 3217 compiler.warn.package.empty.or.not.found=\ 3218 package is empty or does not exist: {0} 3219 3220 compiler.err.no.output.dir=\ 3221 no class output directory specified 3222 3223 compiler.err.unnamed.pkg.not.allowed.named.modules=\ 3224 unnamed package is not allowed in named modules 3225 3226 # 0: name, 1: name 3227 compiler.err.module.name.mismatch=\ 3228 module name {0} does not match expected name {1} 3229 3230 # 0: name, 1: name 3231 compiler.misc.module.name.mismatch=\ 3232 module name {0} does not match expected name {1} 3233 3234 # 0: name 3235 compiler.err.module.non.zero.opens=\ 3236 open module {0} has non-zero opens_count 3237 3238 # 0: name 3239 compiler.misc.module.non.zero.opens=\ 3240 open module {0} has non-zero opens_count 3241 3242 compiler.err.module.decl.sb.in.module-info.java=\ 3243 module declarations should be in a file named module-info.java 3244 3245 # 0: set of string 3246 compiler.err.too.many.patched.modules=\ 3247 too many patched modules ({0}), use --module-source-path 3248 3249 # 0: name, 1: name 3250 compiler.err.file.patched.and.msp=\ 3251 file accessible from both --patch-module and --module-source-path, \ 3252 but belongs to a different module on each path: {0}, {1} 3253 3254 compiler.err.processorpath.no.processormodulepath=\ 3255 illegal combination of -processorpath and --processor-module-path 3256 3257 # 0: symbol 3258 compiler.err.package.in.other.module=\ 3259 package exists in another module: {0} 3260 3261 # 0: symbol, 1: name, 2: symbol, 3: symbol 3262 compiler.err.package.clash.from.requires=\ 3263 module {0} reads package {1} from both {2} and {3} 3264 3265 # 0: name, 1: symbol, 2: symbol 3266 compiler.err.package.clash.from.requires.in.unnamed=\ 3267 the unnamed module reads package {0} from both {1} and {2} 3268 3269 # 0: string 3270 compiler.err.module.not.found.in.module.source.path=\ 3271 module {0} not found in module source path 3272 3273 compiler.err.output.dir.must.be.specified.with.dash.m.option=\ 3274 class output directory must be specified if -m option is used 3275 3276 compiler.err.modulesourcepath.must.be.specified.with.dash.m.option=\ 3277 module source path must be specified if -m option is used 3278 3279 # 0: symbol 3280 compiler.err.service.implementation.not.in.right.module=\ 3281 service implementation must be defined in the same module as the provides directive 3282 3283 # 0: symbol 3284 compiler.err.cyclic.requires=\ 3285 cyclic dependence involving {0} 3286 3287 # 0: fragment, 1: name 3288 compiler.err.duplicate.module.on.path=\ 3289 duplicate module on {0}\nmodule in {1} 3290 3291 # 0: option name, 1: string 3292 compiler.warn.bad.name.for.option=\ 3293 bad name in value for {0} option: ''{1}'' 3294 3295 # 0: option name, 1: string 3296 compiler.err.bad.name.for.option=\ 3297 bad name in value for {0} option: ''{1}'' 3298 3299 # 0: option name, 1: symbol 3300 compiler.warn.module.for.option.not.found=\ 3301 module name in {0} option not found: {1} 3302 3303 compiler.err.addmods.all.module.path.invalid=\ 3304 --add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module 3305 3306 # 0: symbol 3307 compiler.err.add.exports.with.release=\ 3308 exporting a package from system module {0} is not allowed with --release 3309 3310 # 0: symbol 3311 compiler.err.add.reads.with.release=\ 3312 adding read edges for system module {0} is not allowed with --release 3313 3314 compiler.warn.addopens.ignored=\ 3315 --add-opens has no effect at compile time 3316 3317 compiler.misc.locn.module_source_path=\ 3318 module source path 3319 3320 compiler.misc.locn.upgrade_module_path=\ 3321 upgrade module path 3322 3323 compiler.misc.locn.system_modules=\ 3324 system modules 3325 3326 compiler.misc.locn.module_path=\ 3327 application module path 3328 3329 compiler.misc.cant.resolve.modules=\ 3330 cannot resolve modules 3331 3332 compiler.misc.bad.requires.flag=\ 3333 bad requires flag: {0} 3334 3335 # 0: string 3336 compiler.err.invalid.module.specifier=\ 3337 module specifier not allowed: {0} 3338 3339 # 0: symbol 3340 compiler.warn.service.provided.but.not.exported.or.used=\ 3341 service interface provided but not exported or used 3342 3343 # 0: kind name, 1: symbol, 2: symbol 3344 compiler.warn.leaks.not.accessible=\ 3345 {0} {1} in module {2} is not accessible to clients that require this module 3346 # 0: kind name, 1: symbol, 2: symbol 3347 compiler.warn.leaks.not.accessible.unexported=\ 3348 {0} {1} in module {2} is not exported 3349 # 0: kind name, 1: symbol, 2: symbol 3350 compiler.warn.leaks.not.accessible.not.required.transitive=\ 3351 {0} {1} in module {2} is not indirectly exported using 'requires transitive' 3352 # 0: kind name, 1: symbol, 2: symbol 3353 compiler.warn.leaks.not.accessible.unexported.qualified=\ 3354 {0} {1} in module {2} may not be visible to all clients that require this module 3355 3356 ### 3357 # errors related to options 3358 3359 # 0: string, 1: string 3360 compiler.err.illegal.argument.for.option=\ 3361 illegal argument for {0}: {1} 3362 3363 compiler.err.switch.null.not.allowed=\ 3364 null label in case is not allowed 3365 3366 compiler.err.switch.case.unexpected.statement=\ 3367 unexpected statement in case, expected is an expression, a block or a throw statement 3368 3369 compiler.err.switch.mixing.case.types=\ 3370 different case kinds used in the switch 3371 3372 ############################################ 3373 # messages previouly at javac.properties 3374 3375 compiler.err.empty.A.argument=\ 3376 -A requires an argument; use ''-Akey'' or ''-Akey=value'' 3377 3378 # 0: string 3379 compiler.err.invalid.A.key=\ 3380 key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers 3381 3382 # 0: string 3383 compiler.err.invalid.flag=\ 3384 invalid flag: {0} 3385 3386 compiler.err.profile.bootclasspath.conflict=\ 3387 profile and bootclasspath options cannot be used together 3388 3389 # 0: string 3390 compiler.err.invalid.profile=\ 3391 invalid profile: {0} 3392 3393 # 0: string 3394 compiler.err.invalid.target=\ 3395 invalid target release: {0} 3396 3397 # 0: option name, 1: target 3398 compiler.err.option.not.allowed.with.target=\ 3399 option {0} not allowed with target {1} 3400 3401 # 0: string 3402 compiler.err.option.too.many=\ 3403 option {0} can only be specified once 3404 3405 compiler.err.no.source.files=\ 3406 no source files 3407 3408 compiler.err.no.source.files.classes=\ 3409 no source files or class names 3410 3411 # 0: string 3412 compiler.err.req.arg=\ 3413 {0} requires an argument 3414 3415 # 0: string 3416 compiler.err.invalid.source=\ 3417 invalid source release: {0} 3418 3419 # 0: string, 1: string 3420 compiler.err.error.writing.file=\ 3421 error writing {0}; {1} 3422 3423 compiler.err.sourcepath.modulesourcepath.conflict=\ 3424 cannot specify both --source-path and --module-source-path 3425 3426 # 0: string, 1: target 3427 compiler.warn.source.target.conflict=\ 3428 source release {0} requires target release {1} 3429 3430 # 0: string, 1: target 3431 compiler.warn.target.default.source.conflict=\ 3432 target release {0} conflicts with default source release {1} 3433 3434 # 0: profile, 1: target 3435 compiler.warn.profile.target.conflict=\ 3436 profile {0} is not valid for target release {1} 3437 3438 # 0: string 3439 compiler.err.file.not.directory=\ 3440 not a directory: {0} 3441 3442 # 0: object 3443 compiler.err.file.not.file=\ 3444 not a file: {0} 3445 3446 compiler.err.two.class.loaders.1=\ 3447 javac is split between multiple class loaders: check your configuration 3448 3449 # 0: url, 1: url 3450 compiler.err.two.class.loaders.2=\ 3451 javac is split between multiple class loaders:\n\ 3452 one class comes from file: {0}\n\ 3453 while javac comes from {1} 3454 3455 # 0: string, 1: string 3456 compiler.err.bad.value.for.option=\ 3457 bad value for {0} option: ''{1}'' 3458 3459 # 0: string 3460 compiler.err.no.value.for.option=\ 3461 no value for {0} option 3462 3463 # 0: string 3464 compiler.err.repeated.value.for.patch.module=\ 3465 --patch-module specified more than once for module {0} 3466 3467 # 0: string 3468 compiler.err.repeated.value.for.module.source.path=\ 3469 --module-source-path specified more than once for module {0} 3470 3471 compiler.err.multiple.values.for.module.source.path=\ 3472 --module-source-path specified more than once with a pattern argument 3473 3474 # 0: string 3475 compiler.err.unmatched.quote=\ 3476 unmatched quote in environment variable {0} 3477 3478 # 0: option name 3479 compiler.err.release.bootclasspath.conflict=\ 3480 option {0} cannot be used together with --release 3481 3482 # 0: string 3483 compiler.err.unsupported.release.version=\ 3484 release version {0} not supported 3485 3486 # 0: string 3487 compiler.err.file.not.found=\ 3488 file not found: {0} 3489 3490 # 0: string, 1: source 3491 compiler.err.preview.not.latest=\ 3492 invalid source release {0} with --enable-preview\n\ 3493 (preview language features are only supported for release {1}) 3494 3495 compiler.err.preview.without.source.or.release=\ 3496 --enable-preview must be used with either -source or --release