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