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