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: number (constant pool index), 2: number (constant pool size) 2172 compiler.misc.bad.const.pool.index=\ 2173 bad constant pool index in {0}\n\ 2174 index {1} is not within pool size {2}. 2175 2176 # 0: file name, 1: message segment 2177 compiler.misc.bad.class.file.header=\ 2178 bad class file: {0}\n\ 2179 {1}\n\ 2180 Please remove or make sure it appears in the correct subdirectory of the classpath. 2181 2182 # 0: file name, 1: message segment 2183 compiler.misc.bad.source.file.header=\ 2184 bad source file: {0}\n\ 2185 {1}\n\ 2186 Please remove or make sure it appears in the correct subdirectory of the sourcepath. 2187 2188 ## The following are all possible strings for the second argument ({1}) of the 2189 ## above strings. 2190 compiler.misc.bad.class.signature=\ 2191 bad class signature: {0} 2192 2193 #0: symbol, 1: symbol 2194 compiler.misc.bad.enclosing.class=\ 2195 bad enclosing class for {0}: {1} 2196 2197 # 0: symbol 2198 compiler.misc.bad.enclosing.method=\ 2199 bad enclosing method attribute for class {0} 2200 2201 compiler.misc.bad.runtime.invisible.param.annotations=\ 2202 bad RuntimeInvisibleParameterAnnotations attribute: {0} 2203 2204 compiler.misc.bad.const.pool.tag=\ 2205 bad constant pool tag: {0} 2206 2207 compiler.misc.bad.const.pool.tag.at=\ 2208 bad constant pool tag: {0} at {1} 2209 2210 compiler.misc.bad.signature=\ 2211 bad signature: {0} 2212 2213 compiler.misc.bad.type.annotation.value=\ 2214 bad type annotation target type value: {0} 2215 2216 compiler.misc.bad.module-info.name=\ 2217 bad class name 2218 2219 compiler.misc.class.file.wrong.class=\ 2220 class file contains wrong class: {0} 2221 2222 compiler.misc.module.info.invalid.super.class=\ 2223 module-info with invalid super class 2224 2225 # 0: name 2226 compiler.misc.class.file.not.found=\ 2227 class file for {0} not found 2228 2229 # 0: string (constant value), 1: symbol (constant field), 2: type (field type) 2230 compiler.misc.bad.constant.range=\ 2231 constant value ''{0}'' for {1} is outside the expected range for {2} 2232 2233 # 0: string (constant value), 1: symbol (constant field), 2: string (expected class) 2234 compiler.misc.bad.constant.value=\ 2235 bad constant value ''{0}'' for {1}, expected {2} 2236 2237 # 0: string (classfile major version), 1: string (classfile minor version) 2238 compiler.misc.invalid.default.interface=\ 2239 default method found in version {0}.{1} classfile 2240 2241 # 0: string (classfile major version), 1: string (classfile minor version) 2242 compiler.misc.invalid.static.interface=\ 2243 static method found in version {0}.{1} classfile 2244 2245 # 0: string (classfile major version), 1: string (classfile minor version) 2246 compiler.misc.anachronistic.module.info=\ 2247 module declaration found in version {0}.{1} classfile 2248 2249 # 0: name 2250 compiler.misc.file.doesnt.contain.class=\ 2251 file does not contain class {0} 2252 2253 # 0: symbol 2254 compiler.misc.file.does.not.contain.package=\ 2255 file does not contain package {0} 2256 2257 compiler.misc.file.does.not.contain.module=\ 2258 file does not contain module declaration 2259 2260 compiler.misc.illegal.start.of.class.file=\ 2261 illegal start of class file 2262 2263 compiler.misc.unable.to.access.file=\ 2264 unable to access file: {0} 2265 2266 compiler.misc.unicode.str.not.supported=\ 2267 unicode string in class file not supported 2268 2269 compiler.misc.undecl.type.var=\ 2270 undeclared type variable: {0} 2271 2272 compiler.misc.malformed.vararg.method=\ 2273 class file contains malformed variable arity method: {0} 2274 2275 compiler.misc.wrong.version=\ 2276 class file has wrong version {0}.{1}, should be {2}.{3} 2277 2278 ##### 2279 2280 # 0: type, 1: type or symbol 2281 compiler.err.not.within.bounds=\ 2282 type argument {0} is not within bounds of type-variable {1} 2283 2284 ## The following are all possible strings for the second argument ({1}) of the 2285 ## above string. 2286 2287 ## none yet... 2288 2289 ##### 2290 2291 # 0: message segment 2292 compiler.err.prob.found.req=\ 2293 incompatible types: {0} 2294 2295 # 0: message segment 2296 compiler.misc.prob.found.req=\ 2297 incompatible types: {0} 2298 2299 # 0: message segment, 1: type, 2: type 2300 compiler.warn.prob.found.req=\ 2301 {0}\n\ 2302 required: {2}\n\ 2303 found: {1} 2304 2305 # 0: type, 1: type 2306 compiler.misc.inconvertible.types=\ 2307 {0} cannot be converted to {1} 2308 2309 # 0: type, 1: type 2310 compiler.misc.possible.loss.of.precision=\ 2311 possible lossy conversion from {0} to {1} 2312 2313 compiler.misc.unchecked.assign=\ 2314 unchecked conversion 2315 2316 # compiler.misc.storecheck=\ 2317 # assignment might cause later store checks to fail 2318 # compiler.misc.unchecked=\ 2319 # assigned array cannot dynamically check its stores 2320 compiler.misc.unchecked.cast.to.type=\ 2321 unchecked cast 2322 2323 # compiler.err.star.expected=\ 2324 # ''*'' expected 2325 # compiler.err.no.elem.type=\ 2326 # \[\*\] cannot have a type 2327 2328 # 0: message segment 2329 compiler.misc.try.not.applicable.to.type=\ 2330 try-with-resources not applicable to variable type\n\ 2331 ({0}) 2332 2333 ##### 2334 2335 # 0: object, 1: message segment 2336 compiler.err.type.found.req=\ 2337 unexpected type\n\ 2338 required: {1}\n\ 2339 found: {0} 2340 2341 ## The following are all possible strings for the first argument ({0}) of the 2342 ## above string. 2343 compiler.misc.type.req.class=\ 2344 class 2345 2346 compiler.misc.type.req.class.array=\ 2347 class or array 2348 2349 compiler.misc.type.req.array.or.iterable=\ 2350 array or java.lang.Iterable 2351 2352 compiler.misc.type.req.ref=\ 2353 reference 2354 2355 compiler.misc.type.req.exact=\ 2356 class or interface without bounds 2357 2358 # 0: type 2359 compiler.misc.type.parameter=\ 2360 type parameter {0} 2361 2362 ##### 2363 2364 ## The following are all possible strings for the last argument of all those 2365 ## diagnostics whose key ends in ".1" 2366 2367 # 0: type, 1: list of type 2368 compiler.misc.no.unique.maximal.instance.exists=\ 2369 no unique maximal instance exists for type variable {0} with upper bounds {1} 2370 2371 # 0: type, 1: list of type 2372 compiler.misc.no.unique.minimal.instance.exists=\ 2373 no unique minimal instance exists for type variable {0} with lower bounds {1} 2374 2375 # 0: type, 1: list of type 2376 compiler.misc.incompatible.upper.bounds=\ 2377 inference variable {0} has incompatible upper bounds {1} 2378 2379 # 0: type, 1: list of type 2380 compiler.misc.incompatible.eq.bounds=\ 2381 inference variable {0} has incompatible equality constraints {1} 2382 2383 # 0: type, 1: fragment, 2: fragment 2384 compiler.misc.incompatible.bounds=\ 2385 inference variable {0} has incompatible bounds\n\ 2386 {1}\n\ 2387 {2} 2388 2389 # 0: list of type 2390 compiler.misc.lower.bounds=\ 2391 lower bounds: {0} 2392 2393 # 0: list of type 2394 compiler.misc.eq.bounds=\ 2395 equality constraints: {0} 2396 2397 # 0: list of type 2398 compiler.misc.upper.bounds=\ 2399 lower bounds: {0} 2400 2401 # 0: list of type, 1: type, 2: type 2402 compiler.misc.infer.no.conforming.instance.exists=\ 2403 no instance(s) of type variable(s) {0} exist so that {1} conforms to {2} 2404 2405 # 0: list of type, 1: message segment 2406 compiler.misc.infer.no.conforming.assignment.exists=\ 2407 cannot infer type-variable(s) {0}\n\ 2408 (argument mismatch; {1}) 2409 2410 # 0: list of type 2411 compiler.misc.infer.arg.length.mismatch=\ 2412 cannot infer type-variable(s) {0}\n\ 2413 (actual and formal argument lists differ in length) 2414 2415 # 0: list of type, 1: message segment 2416 compiler.misc.infer.varargs.argument.mismatch=\ 2417 cannot infer type-variable(s) {0}\n\ 2418 (varargs mismatch; {1}) 2419 2420 # 0: type, 1: list of type 2421 compiler.misc.inferred.do.not.conform.to.upper.bounds=\ 2422 inferred type does not conform to upper bound(s)\n\ 2423 inferred: {0}\n\ 2424 upper bound(s): {1} 2425 2426 # 0: type, 1: list of type 2427 compiler.misc.inferred.do.not.conform.to.lower.bounds=\ 2428 inferred type does not conform to lower bound(s)\n\ 2429 inferred: {0}\n\ 2430 lower bound(s): {1} 2431 2432 # 0: type, 1: list of type 2433 compiler.misc.inferred.do.not.conform.to.eq.bounds=\ 2434 inferred type does not conform to equality constraint(s)\n\ 2435 inferred: {0}\n\ 2436 equality constraints(s): {1} 2437 2438 # 0: symbol 2439 compiler.misc.diamond=\ 2440 {0}<> 2441 2442 # 0: type 2443 compiler.misc.diamond.non.generic=\ 2444 cannot use ''<>'' with non-generic class {0} 2445 2446 # 0: list of type, 1: message segment 2447 compiler.misc.diamond.invalid.arg=\ 2448 type argument {0} inferred for {1} is not allowed in this context\n\ 2449 inferred argument is not expressible in the Signature attribute 2450 2451 # 0: list of type, 1: message segment 2452 compiler.misc.diamond.invalid.args=\ 2453 type arguments {0} inferred for {1} are not allowed in this context\n\ 2454 inferred arguments are not expressible in the Signature attribute 2455 2456 # 0: type 2457 compiler.misc.diamond.and.explicit.params=\ 2458 cannot use ''<>'' with explicit type parameters for constructor 2459 2460 compiler.misc.mref.infer.and.explicit.params=\ 2461 cannot use raw constructor reference with explicit type parameters for constructor 2462 2463 # 0: type, 1: list of type 2464 compiler.misc.explicit.param.do.not.conform.to.bounds=\ 2465 explicit type argument {0} does not conform to declared bound(s) {1} 2466 2467 compiler.misc.arg.length.mismatch=\ 2468 actual and formal argument lists differ in length 2469 2470 # 0: string 2471 compiler.misc.wrong.number.type.args=\ 2472 wrong number of type arguments; required {0} 2473 2474 # 0: message segment 2475 compiler.misc.no.conforming.assignment.exists=\ 2476 argument mismatch; {0} 2477 2478 # 0: message segment 2479 compiler.misc.varargs.argument.mismatch=\ 2480 varargs mismatch; {0} 2481 2482 ##### 2483 2484 # 0: symbol or type, 1: file name 2485 compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\ 2486 auxiliary class {0} in {1} should not be accessed from outside its own source file 2487 2488 ## The first argument ({0}) is a "kindname". 2489 # 0: kind name, 1: symbol, 2: symbol 2490 compiler.err.abstract.cant.be.accessed.directly=\ 2491 abstract {0} {1} in {2} cannot be accessed directly 2492 2493 ## The first argument ({0}) is a "kindname". 2494 # 0: symbol kind, 1: symbol 2495 compiler.err.non-static.cant.be.ref=\ 2496 non-static {0} {1} cannot be referenced from a static context 2497 2498 # 0: symbol kind, 1: symbol 2499 compiler.misc.bad.static.method.in.unbound.lookup=\ 2500 unexpected static {0} {1} found in unbound lookup 2501 2502 # 0: symbol kind, 1: symbol 2503 compiler.misc.bad.instance.method.in.unbound.lookup=\ 2504 unexpected instance {0} {1} found in unbound lookup 2505 2506 # 0: symbol kind, 1: symbol 2507 compiler.misc.bad.static.method.in.bound.lookup=\ 2508 unexpected static {0} {1} found in bound lookup 2509 2510 ## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list 2511 ## of kindnames (the list should be identical to that provided in source. 2512 # 0: set of kind name, 1: set of kind name 2513 compiler.err.unexpected.type=\ 2514 unexpected type\n\ 2515 required: {0}\n\ 2516 found: {1} 2517 2518 compiler.err.unexpected.lambda=\ 2519 lambda expression not expected here 2520 2521 compiler.err.unexpected.mref=\ 2522 method reference not expected here 2523 2524 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.) 2525 ## The second argument {1} is the non-resolved symbol 2526 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method) 2527 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method) 2528 # 0: kind name, 1: name, 2: unused, 3: unused 2529 compiler.err.cant.resolve=\ 2530 cannot find symbol\n\ 2531 symbol: {0} {1} 2532 2533 # 0: kind name, 1: name, 2: unused, 3: list of type 2534 compiler.err.cant.resolve.args=\ 2535 cannot find symbol\n\ 2536 symbol: {0} {1}({3}) 2537 2538 # 0: kind name, 1: name, 2: unused, 3: list of type 2539 compiler.misc.cant.resolve.args=\ 2540 cannot find symbol\n\ 2541 symbol: {0} {1}({3}) 2542 2543 # 0: kind name, 1: name, 2: list of type, 3: list of type 2544 compiler.err.cant.resolve.args.params=\ 2545 cannot find symbol\n\ 2546 symbol: {0} <{2}>{1}({3}) 2547 2548 ## arguments from {0} to {3} have the same meaning as above 2549 ## The fifth argument {4} is a location subdiagnostic (see below) 2550 # 0: kind name, 1: name, 2: unused, 3: unused, 4: message segment 2551 compiler.err.cant.resolve.location=\ 2552 cannot find symbol\n\ 2553 symbol: {0} {1}\n\ 2554 location: {4} 2555 2556 # 0: kind name, 1: name, 2: unused, 3: list of type, 4: message segment 2557 compiler.err.cant.resolve.location.args=\ 2558 cannot find symbol\n\ 2559 symbol: {0} {1}({3})\n\ 2560 location: {4} 2561 2562 # 0: kind name, 1: name, 2: list of type, 3: list, 4: message segment 2563 compiler.err.cant.resolve.location.args.params=\ 2564 cannot find symbol\n\ 2565 symbol: {0} <{2}>{1}({3})\n\ 2566 location: {4} 2567 2568 ### Following are replicated/used for method reference diagnostics 2569 2570 # 0: kind name, 1: name, 2: unused, 3: list of type, 4: message segment 2571 compiler.misc.cant.resolve.location.args=\ 2572 cannot find symbol\n\ 2573 symbol: {0} {1}({3})\n\ 2574 location: {4} 2575 2576 # 0: kind name, 1: name, 2: list of type, 3: list, 4: message segment 2577 compiler.misc.cant.resolve.location.args.params=\ 2578 cannot find symbol\n\ 2579 symbol: {0} <{2}>{1}({3})\n\ 2580 location: {4} 2581 2582 ##a location subdiagnostic is composed as follows: 2583 ## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.) 2584 ## The second argument {1} is the location name 2585 ## The third argument {2} is the location type (only when {1} is a variable name) 2586 2587 # 0: kind name, 1: type or symbol, 2: unused 2588 compiler.misc.location=\ 2589 {0} {1} 2590 2591 # 0: kind name, 1: symbol, 2: type 2592 compiler.misc.location.1=\ 2593 {0} {1} of type {2} 2594 2595 ## The following are all possible string for "kindname". 2596 ## They should be called whatever the JLS calls them after it been translated 2597 ## to the appropriate language. 2598 # compiler.misc.kindname.constructor=\ 2599 # static member 2600 compiler.misc.kindname.annotation=\ 2601 @interface 2602 2603 compiler.misc.kindname.constructor=\ 2604 constructor 2605 2606 compiler.misc.kindname.enum=\ 2607 enum 2608 2609 compiler.misc.kindname.interface=\ 2610 interface 2611 2612 compiler.misc.kindname.static=\ 2613 static 2614 2615 compiler.misc.kindname.type.variable=\ 2616 type variable 2617 2618 compiler.misc.kindname.type.variable.bound=\ 2619 bound of type variable 2620 2621 compiler.misc.kindname.variable=\ 2622 variable 2623 2624 compiler.misc.kindname.value=\ 2625 value 2626 2627 compiler.misc.kindname.method=\ 2628 method 2629 2630 compiler.misc.kindname.class=\ 2631 class 2632 2633 compiler.misc.kindname.package=\ 2634 package 2635 2636 compiler.misc.kindname.module=\ 2637 module 2638 2639 compiler.misc.kindname.static.init=\ 2640 static initializer 2641 2642 compiler.misc.kindname.instance.init=\ 2643 instance initializer 2644 2645 # the following are names of tree kinds: 2646 compiler.misc.tree.tag.forloop=\ 2647 for 2648 2649 compiler.misc.tree.tag.foreachloop=\ 2650 for 2651 2652 compiler.misc.tree.tag.whileloop=\ 2653 while 2654 2655 compiler.misc.tree.tag.doloop=\ 2656 do 2657 2658 compiler.misc.tree.tag.switch=\ 2659 switch 2660 2661 ##### 2662 2663 compiler.misc.no.args=\ 2664 no arguments 2665 2666 # 0: message segment 2667 compiler.err.override.static=\ 2668 {0}\n\ 2669 overriding method is static 2670 2671 # 0: message segment, 1: set of flag 2672 compiler.err.override.meth=\ 2673 {0}\n\ 2674 overridden method is {1} 2675 2676 # 0: message segment, 1: type 2677 compiler.err.override.meth.doesnt.throw=\ 2678 {0}\n\ 2679 overridden method does not throw {1} 2680 2681 # In the following string {1} is a space separated list of Java Keywords, as 2682 # they would have been declared in the source code 2683 # 0: message segment, 1: set of flag or string 2684 compiler.err.override.weaker.access=\ 2685 {0}\n\ 2686 attempting to assign weaker access privileges; was {1} 2687 2688 # 0: message segment, 1: type, 2: type 2689 compiler.err.override.incompatible.ret=\ 2690 {0}\n\ 2691 return type {1} is not compatible with {2} 2692 2693 # 0: message segment, 1: type, 2: type 2694 compiler.warn.override.unchecked.ret=\ 2695 {0}\n\ 2696 return type requires unchecked conversion from {1} to {2} 2697 2698 # 0: message segment, 1: type 2699 compiler.warn.override.unchecked.thrown=\ 2700 {0}\n\ 2701 overridden method does not throw {1} 2702 2703 # 0: symbol 2704 compiler.warn.override.equals.but.not.hashcode=\ 2705 Class {0} overrides equals, but neither it nor any superclass overrides hashCode method 2706 2707 ## The following are all possible strings for the first argument ({0}) of the 2708 ## above strings. 2709 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2710 compiler.misc.cant.override=\ 2711 {0} in {1} cannot override {2} in {3} 2712 2713 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2714 compiler.misc.cant.hide=\ 2715 {0} in {1} cannot hide {2} in {3} 2716 2717 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2718 compiler.misc.cant.implement=\ 2719 {0} in {1} cannot implement {2} in {3} 2720 2721 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2722 compiler.misc.clashes.with=\ 2723 {0} in {1} clashes with {2} in {3} 2724 2725 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2726 compiler.misc.unchecked.override=\ 2727 {0} in {1} overrides {2} in {3} 2728 2729 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2730 compiler.misc.unchecked.implement=\ 2731 {0} in {1} implements {2} in {3} 2732 2733 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2734 compiler.misc.unchecked.clash.with=\ 2735 {0} in {1} overrides {2} in {3} 2736 2737 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2738 compiler.misc.varargs.override=\ 2739 {0} in {1} overrides {2} in {3} 2740 2741 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2742 compiler.misc.varargs.implement=\ 2743 {0} in {1} implements {2} in {3} 2744 2745 # 0: symbol, 1: symbol, 2: symbol, 3: symbol 2746 compiler.misc.varargs.clash.with=\ 2747 {0} in {1} overrides {2} in {3} 2748 2749 # 0: kind name, 1: symbol, 2: symbol, 3: message segment 2750 compiler.misc.inapplicable.method=\ 2751 {0} {1}.{2} is not applicable\n\ 2752 ({3}) 2753 2754 ######################################## 2755 # Diagnostics for language feature changes. 2756 # Such diagnostics have a common template which can be customized by using a feature 2757 # diagnostic fragment (one of those given below). 2758 ######################################## 2759 2760 # 0: message segment (feature), 1: string (found version), 2: string (expected version) 2761 compiler.err.feature.not.supported.in.source=\ 2762 {0} is 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.err.feature.not.supported.in.source.plural=\ 2767 {0} are 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=\ 2772 {0} is not supported in -source {1}\n\ 2773 (use -source {2} or higher to enable {0}) 2774 2775 # 0: message segment (feature), 1: string (found version), 2: string (expected version) 2776 compiler.misc.feature.not.supported.in.source.plural=\ 2777 {0} are not supported in -source {1}\n\ 2778 (use -source {2} or higher to enable {0}) 2779 2780 # 0: message segment (feature) 2781 compiler.err.preview.feature.disabled=\ 2782 {0} is a preview feature and is disabled by default.\n\ 2783 (use --enable-preview to enable {0}) 2784 2785 # 0: message segment (feature) 2786 compiler.err.preview.feature.disabled.plural=\ 2787 {0} are a preview feature and are disabled by default.\n\ 2788 (use --enable-preview to enable {0}) 2789 2790 # 0: file object (classfile), 1: string (expected version) 2791 compiler.err.preview.feature.disabled.classfile=\ 2792 classfile for {0} uses preview features of Java SE {1}.\n\ 2793 (use --enable-preview to allow loading of classfiles which contain preview features) 2794 2795 # 0: message segment (feature) 2796 compiler.warn.preview.feature.use=\ 2797 {0} is a preview feature and may be removed in a future release. 2798 2799 # 0: message segment (feature) 2800 compiler.warn.preview.feature.use.plural=\ 2801 {0} are a preview feature and may be removed in a future release. 2802 2803 # 0: file object (classfile), 1: string (expected version) 2804 compiler.warn.preview.feature.use.classfile=\ 2805 classfile for {0} uses preview features of Java SE {1}. 2806 2807 2808 compiler.misc.feature.modules=\ 2809 modules 2810 2811 compiler.misc.feature.diamond.and.anon.class=\ 2812 ''<>'' with anonymous inner classes 2813 2814 compiler.misc.feature.var.in.try.with.resources=\ 2815 variables in try-with-resources 2816 2817 compiler.misc.feature.type.annotations=\ 2818 type annotations 2819 2820 compiler.misc.feature.annotations.after.type.params=\ 2821 annotations after method type parameters 2822 2823 compiler.misc.feature.repeatable.annotations=\ 2824 repeated annotations 2825 2826 compiler.misc.feature.diamond=\ 2827 diamond operator 2828 2829 compiler.misc.feature.lambda=\ 2830 lambda expressions 2831 2832 compiler.misc.feature.method.references=\ 2833 method references 2834 2835 compiler.misc.feature.default.methods=\ 2836 default methods 2837 2838 compiler.misc.feature.intersection.types.in.cast=\ 2839 intersection types 2840 2841 compiler.misc.feature.static.intf.methods=\ 2842 static interface methods 2843 2844 compiler.misc.feature.static.intf.method.invoke=\ 2845 static interface method invocations 2846 2847 compiler.misc.feature.private.intf.methods=\ 2848 private interface methods 2849 2850 compiler.misc.feature.multiple.case.labels=\ 2851 multiple case labels 2852 2853 compiler.misc.feature.switch.rules=\ 2854 switch rules 2855 2856 compiler.misc.feature.switch.expressions=\ 2857 switch expressions 2858 2859 compiler.misc.feature.var.syntax.in.implicit.lambda=\ 2860 var syntax in implicit lambdas 2861 2862 compiler.warn.underscore.as.identifier=\ 2863 as of release 9, ''_'' is a keyword, and may not be used as an identifier 2864 2865 compiler.err.underscore.as.identifier=\ 2866 as of release 9, ''_'' is a keyword, and may not be used as an identifier 2867 2868 compiler.err.underscore.as.identifier.in.lambda=\ 2869 ''_'' used as an identifier\n\ 2870 (use of ''_'' as an identifier is forbidden for lambda parameters) 2871 2872 compiler.err.enum.as.identifier=\ 2873 as of release 5, ''enum'' is a keyword, and may not be used as an identifier 2874 2875 compiler.err.assert.as.identifier=\ 2876 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier 2877 2878 # TODO 308: make a better error message 2879 compiler.err.this.as.identifier=\ 2880 as of release 8, ''this'' is allowed as the parameter name for the receiver type only\n\ 2881 which has to be the first parameter, and cannot be a lambda parameter 2882 2883 compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\ 2884 receiver parameter not applicable for constructor of top-level class 2885 2886 # TODO 308: make a better error message 2887 # 0: annotation 2888 compiler.err.cant.type.annotate.scoping.1=\ 2889 scoping construct cannot be annotated with type-use annotation: {0} 2890 2891 # TODO 308: make a better error message 2892 # 0: list of annotation 2893 compiler.err.cant.type.annotate.scoping=\ 2894 scoping construct cannot be annotated with type-use annotations: {0} 2895 2896 # 0: type, 1: type 2897 compiler.err.incorrect.receiver.name=\ 2898 the receiver name does not match the enclosing class type\n\ 2899 required: {0}\n\ 2900 found: {1} 2901 2902 # 0: type, 1: type 2903 compiler.err.incorrect.receiver.type=\ 2904 the receiver type does not match the enclosing class type\n\ 2905 required: {0}\n\ 2906 found: {1} 2907 2908 # 0: type, 1: type 2909 compiler.err.incorrect.constructor.receiver.type=\ 2910 the receiver type does not match the enclosing outer class type\n\ 2911 required: {0}\n\ 2912 found: {1} 2913 2914 # 0: type, 1: type 2915 compiler.err.incorrect.constructor.receiver.name=\ 2916 the receiver name does not match the enclosing outer class type\n\ 2917 required: {0}\n\ 2918 found: {1} 2919 2920 compiler.err.no.annotations.on.dot.class=\ 2921 no annotations are allowed in the type of a class literal 2922 2923 ######################################## 2924 # Diagnostics for verbose resolution 2925 # used by Resolve (debug only) 2926 ######################################## 2927 2928 # 0: number, 1: symbol, 2: unused 2929 compiler.misc.applicable.method.found=\ 2930 #{0} applicable method found: {1} 2931 2932 # 0: number, 1: symbol, 2: message segment 2933 compiler.misc.applicable.method.found.1=\ 2934 #{0} applicable method found: {1}\n\ 2935 ({2}) 2936 2937 # 0: number, 1: symbol, 2: message segment 2938 compiler.misc.not.applicable.method.found=\ 2939 #{0} not applicable method found: {1}\n\ 2940 ({2}) 2941 2942 # 0: type 2943 compiler.misc.partial.inst.sig=\ 2944 partially instantiated to: {0} 2945 2946 # 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 2947 compiler.note.verbose.resolve.multi=\ 2948 resolving method {0} in type {1} to candidate {2}\n\ 2949 phase: {3}\n\ 2950 with actuals: {4}\n\ 2951 with type-args: {5}\n\ 2952 candidates: 2953 2954 # 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 2955 compiler.note.verbose.resolve.multi.1=\ 2956 erroneous resolution for method {0} in type {1}\n\ 2957 phase: {3}\n\ 2958 with actuals: {4}\n\ 2959 with type-args: {5}\n\ 2960 candidates: 2961 2962 # 0: symbol, 1: type, 2: type 2963 compiler.note.deferred.method.inst=\ 2964 Deferred instantiation of method {0}\n\ 2965 instantiated signature: {1}\n\ 2966 target-type: {2} 2967 2968 ######################################## 2969 # Diagnostics for lambda deduplication 2970 # used by LambdaToMethod (debug only) 2971 ######################################## 2972 2973 # 0: symbol 2974 compiler.note.verbose.l2m.deduplicate=\ 2975 deduplicating lambda implementation method {0} 2976 2977 ######################################## 2978 # Diagnostics for where clause implementation 2979 # used by the RichDiagnosticFormatter. 2980 ######################################## 2981 2982 compiler.misc.type.null=\ 2983 <null> 2984 2985 # X#n (where n is an int id) is disambiguated tvar name 2986 # 0: name, 1: number 2987 compiler.misc.type.var=\ 2988 {0}#{1} 2989 2990 # CAP#n (where n is an int id) is an abbreviation for 'captured type' 2991 # 0: number 2992 compiler.misc.captured.type=\ 2993 CAP#{0} 2994 2995 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type' 2996 # 0: number 2997 compiler.misc.intersection.type=\ 2998 INT#{0} 2999 3000 # where clause for captured type: contains upper ('extends {1}') and lower 3001 # ('super {2}') bound along with the wildcard that generated this captured type ({3}) 3002 # 0: type, 1: type, 2: type, 3: type 3003 compiler.misc.where.captured=\ 3004 {0} extends {1} super: {2} from capture of {3} 3005 3006 # compact where clause for captured type: contains upper ('extends {1}') along 3007 # with the wildcard that generated this captured type ({3}) 3008 # 0: type, 1: type, 2: unused, 3: type 3009 compiler.misc.where.captured.1=\ 3010 {0} extends {1} from capture of {3} 3011 3012 # where clause for type variable: contains upper bound(s) ('extends {1}') along with 3013 # the kindname ({2}) and location ({3}) in which the typevar has been declared 3014 # 0: type, 1: list of type, 2: symbol kind, 3: symbol 3015 compiler.misc.where.typevar=\ 3016 {0} extends {1} declared in {2} {3} 3017 3018 # compact where clause for type variable: contains the kindname ({2}) and location ({3}) 3019 # in which the typevar has been declared 3020 # 0: type, 1: list of type, 2: symbol kind, 3: symbol 3021 compiler.misc.where.typevar.1=\ 3022 {0} declared in {2} {3} 3023 3024 # where clause for fresh type variable: contains upper bound(s) ('extends {1}'). 3025 # Since a fresh type-variable is synthetic - there's no location/kindname here. 3026 # 0: type, 1: list of type 3027 compiler.misc.where.fresh.typevar=\ 3028 {0} extends {1} 3029 3030 # where clause for type variable: contains all the upper bound(s) ('extends {1}') 3031 # of this intersection type 3032 # 0: type, 1: list of type 3033 compiler.misc.where.intersection=\ 3034 {0} extends {1} 3035 3036 ### Where clause headers ### 3037 compiler.misc.where.description.captured=\ 3038 where {0} is a fresh type-variable: 3039 3040 # 0: set of type 3041 compiler.misc.where.description.typevar=\ 3042 where {0} is a type-variable: 3043 3044 # 0: set of type 3045 compiler.misc.where.description.intersection=\ 3046 where {0} is an intersection type: 3047 3048 # 0: set of type 3049 compiler.misc.where.description.captured.1=\ 3050 where {0} are fresh type-variables: 3051 3052 # 0: set of type 3053 compiler.misc.where.description.typevar.1=\ 3054 where {0} are type-variables: 3055 3056 # 0: set of type 3057 compiler.misc.where.description.intersection.1=\ 3058 where {0} are intersection types: 3059 3060 ### 3061 # errors related to doc comments 3062 3063 compiler.err.dc.bad.entity=\ 3064 bad HTML entity 3065 3066 compiler.err.dc.bad.gt=\ 3067 bad use of ''>'' 3068 3069 compiler.err.dc.bad.inline.tag=\ 3070 incorrect use of inline tag 3071 3072 compiler.err.dc.identifier.expected=\ 3073 identifier expected 3074 3075 compiler.err.dc.malformed.html=\ 3076 malformed HTML 3077 3078 compiler.err.dc.missing.semicolon=\ 3079 semicolon missing 3080 3081 compiler.err.dc.no.content=\ 3082 no content 3083 3084 compiler.err.dc.no.tag.name=\ 3085 no tag name after '@' 3086 3087 compiler.err.dc.gt.expected=\ 3088 ''>'' expected 3089 3090 compiler.err.dc.ref.bad.parens=\ 3091 '')'' missing in reference 3092 3093 compiler.err.dc.ref.syntax.error=\ 3094 syntax error in reference 3095 3096 compiler.err.dc.ref.unexpected.input=\ 3097 unexpected text 3098 3099 compiler.err.dc.unexpected.content=\ 3100 unexpected content 3101 3102 compiler.err.dc.unterminated.inline.tag=\ 3103 unterminated inline tag 3104 3105 compiler.err.dc.unterminated.signature=\ 3106 unterminated signature 3107 3108 compiler.err.dc.unterminated.string=\ 3109 unterminated string 3110 3111 ### 3112 # errors related to modules 3113 3114 compiler.err.expected.module=\ 3115 expected ''module'' 3116 3117 # 0: symbol 3118 compiler.err.module.not.found=\ 3119 module not found: {0} 3120 3121 # 0: symbol 3122 compiler.warn.module.not.found=\ 3123 module not found: {0} 3124 3125 compiler.err.too.many.modules=\ 3126 too many module declarations found 3127 3128 compiler.err.module.not.found.on.module.source.path=\ 3129 module not found on module source path 3130 3131 compiler.err.not.in.module.on.module.source.path=\ 3132 not in a module on the module source path 3133 3134 # 0: symbol 3135 compiler.err.duplicate.module=\ 3136 duplicate module: {0} 3137 3138 # 0: symbol 3139 compiler.err.duplicate.requires=\ 3140 duplicate requires: {0} 3141 3142 # 0: symbol 3143 compiler.err.conflicting.exports=\ 3144 duplicate or conflicting exports: {0} 3145 3146 # 0: symbol 3147 compiler.err.conflicting.opens=\ 3148 duplicate or conflicting opens: {0} 3149 3150 # 0: symbol 3151 compiler.err.conflicting.exports.to.module=\ 3152 duplicate or conflicting exports to module: {0} 3153 3154 # 0: symbol 3155 compiler.err.conflicting.opens.to.module=\ 3156 duplicate or conflicting opens to module: {0} 3157 3158 compiler.err.no.opens.unless.strong=\ 3159 ''opens'' only allowed in strong modules 3160 3161 # 0: symbol 3162 compiler.err.repeated.provides.for.service=\ 3163 multiple ''provides'' for service {0} 3164 3165 # 0: symbol, 1: symbol 3166 compiler.err.duplicate.provides=\ 3167 duplicate provides: service {0}, implementation {1} 3168 3169 # 0: symbol 3170 compiler.err.duplicate.uses=\ 3171 duplicate uses: {0} 3172 3173 # 0: symbol 3174 compiler.err.service.implementation.is.abstract=\ 3175 the service implementation is an abstract class: {0} 3176 3177 compiler.err.service.implementation.must.be.subtype.of.service.interface=\ 3178 the service implementation type must be a subtype of the service interface type, or \ 3179 have a public static no-args method named "provider" returning the service implementation 3180 3181 compiler.err.service.implementation.provider.return.must.be.subtype.of.service.interface=\ 3182 the "provider" method return type must be a subtype of the service interface type 3183 3184 # 0: symbol 3185 compiler.err.service.implementation.is.inner=\ 3186 the service implementation is an inner class: {0} 3187 3188 # 0: symbol 3189 compiler.err.service.definition.is.enum=\ 3190 the service definition is an enum: {0} 3191 3192 # 0: symbol 3193 compiler.err.service.implementation.doesnt.have.a.no.args.constructor=\ 3194 the service implementation does not have a default constructor: {0} 3195 3196 # 0: symbol 3197 compiler.err.service.implementation.no.args.constructor.not.public=\ 3198 the no arguments constructor of the service implementation is not public: {0} 3199 3200 # 0: symbol 3201 compiler.err.package.empty.or.not.found=\ 3202 package is empty or does not exist: {0} 3203 3204 # 0: symbol 3205 compiler.warn.package.empty.or.not.found=\ 3206 package is empty or does not exist: {0} 3207 3208 compiler.err.no.output.dir=\ 3209 no class output directory specified 3210 3211 compiler.err.unnamed.pkg.not.allowed.named.modules=\ 3212 unnamed package is not allowed in named modules 3213 3214 # 0: name, 1: name 3215 compiler.err.module.name.mismatch=\ 3216 module name {0} does not match expected name {1} 3217 3218 # 0: name, 1: name 3219 compiler.misc.module.name.mismatch=\ 3220 module name {0} does not match expected name {1} 3221 3222 # 0: name 3223 compiler.err.module.non.zero.opens=\ 3224 open module {0} has non-zero opens_count 3225 3226 # 0: name 3227 compiler.misc.module.non.zero.opens=\ 3228 open module {0} has non-zero opens_count 3229 3230 compiler.err.module.decl.sb.in.module-info.java=\ 3231 module declarations should be in a file named module-info.java 3232 3233 # 0: set of string 3234 compiler.err.too.many.patched.modules=\ 3235 too many patched modules ({0}), use --module-source-path 3236 3237 # 0: name, 1: name 3238 compiler.err.file.patched.and.msp=\ 3239 file accessible from both --patch-module and --module-source-path, \ 3240 but belongs to a different module on each path: {0}, {1} 3241 3242 compiler.err.processorpath.no.processormodulepath=\ 3243 illegal combination of -processorpath and --processor-module-path 3244 3245 # 0: symbol 3246 compiler.err.package.in.other.module=\ 3247 package exists in another module: {0} 3248 3249 # 0: symbol, 1: name, 2: symbol, 3: symbol 3250 compiler.err.package.clash.from.requires=\ 3251 module {0} reads package {1} from both {2} and {3} 3252 3253 # 0: name, 1: symbol, 2: symbol 3254 compiler.err.package.clash.from.requires.in.unnamed=\ 3255 the unnamed module reads package {0} from both {1} and {2} 3256 3257 # 0: string 3258 compiler.err.module.not.found.in.module.source.path=\ 3259 module {0} not found in module source path 3260 3261 compiler.err.output.dir.must.be.specified.with.dash.m.option=\ 3262 class output directory must be specified if -m option is used 3263 3264 compiler.err.modulesourcepath.must.be.specified.with.dash.m.option=\ 3265 module source path must be specified if -m option is used 3266 3267 # 0: symbol 3268 compiler.err.service.implementation.not.in.right.module=\ 3269 service implementation must be defined in the same module as the provides directive 3270 3271 # 0: symbol 3272 compiler.err.cyclic.requires=\ 3273 cyclic dependence involving {0} 3274 3275 # 0: fragment, 1: name 3276 compiler.err.duplicate.module.on.path=\ 3277 duplicate module on {0}\nmodule in {1} 3278 3279 # 0: option name, 1: string 3280 compiler.warn.bad.name.for.option=\ 3281 bad name in value for {0} option: ''{1}'' 3282 3283 # 0: option name, 1: string 3284 compiler.err.bad.name.for.option=\ 3285 bad name in value for {0} option: ''{1}'' 3286 3287 # 0: option name, 1: symbol 3288 compiler.warn.module.for.option.not.found=\ 3289 module name in {0} option not found: {1} 3290 3291 compiler.err.addmods.all.module.path.invalid=\ 3292 --add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module 3293 3294 # 0: symbol 3295 compiler.err.add.exports.with.release=\ 3296 exporting a package from system module {0} is not allowed with --release 3297 3298 # 0: symbol 3299 compiler.err.add.reads.with.release=\ 3300 adding read edges for system module {0} is not allowed with --release 3301 3302 compiler.warn.addopens.ignored=\ 3303 --add-opens has no effect at compile time 3304 3305 compiler.misc.locn.module_source_path=\ 3306 module source path 3307 3308 compiler.misc.locn.upgrade_module_path=\ 3309 upgrade module path 3310 3311 compiler.misc.locn.system_modules=\ 3312 system modules 3313 3314 compiler.misc.locn.module_path=\ 3315 application module path 3316 3317 compiler.misc.cant.resolve.modules=\ 3318 cannot resolve modules 3319 3320 compiler.misc.bad.requires.flag=\ 3321 bad requires flag: {0} 3322 3323 # 0: string 3324 compiler.err.invalid.module.specifier=\ 3325 module specifier not allowed: {0} 3326 3327 # 0: symbol 3328 compiler.warn.service.provided.but.not.exported.or.used=\ 3329 service interface provided but not exported or used 3330 3331 # 0: kind name, 1: symbol, 2: symbol 3332 compiler.warn.leaks.not.accessible=\ 3333 {0} {1} in module {2} is not accessible to clients that require this module 3334 # 0: kind name, 1: symbol, 2: symbol 3335 compiler.warn.leaks.not.accessible.unexported=\ 3336 {0} {1} in module {2} is not exported 3337 # 0: kind name, 1: symbol, 2: symbol 3338 compiler.warn.leaks.not.accessible.not.required.transitive=\ 3339 {0} {1} in module {2} is not indirectly exported using 'requires transitive' 3340 # 0: kind name, 1: symbol, 2: symbol 3341 compiler.warn.leaks.not.accessible.unexported.qualified=\ 3342 {0} {1} in module {2} may not be visible to all clients that require this module 3343 3344 ### 3345 # errors related to options 3346 3347 # 0: string, 1: string 3348 compiler.err.illegal.argument.for.option=\ 3349 illegal argument for {0}: {1} 3350 3351 compiler.err.switch.null.not.allowed=\ 3352 null label in case is not allowed 3353 3354 compiler.err.switch.case.unexpected.statement=\ 3355 unexpected statement in case, expected is an expression, a block or a throw statement 3356 3357 compiler.err.switch.mixing.case.types=\ 3358 different case kinds used in the switch 3359 3360 ############################################ 3361 # messages previouly at javac.properties 3362 3363 compiler.err.empty.A.argument=\ 3364 -A requires an argument; use ''-Akey'' or ''-Akey=value'' 3365 3366 # 0: string 3367 compiler.err.invalid.A.key=\ 3368 key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers 3369 3370 # 0: string 3371 compiler.err.invalid.flag=\ 3372 invalid flag: {0} 3373 3374 compiler.err.profile.bootclasspath.conflict=\ 3375 profile and bootclasspath options cannot be used together 3376 3377 # 0: string 3378 compiler.err.invalid.profile=\ 3379 invalid profile: {0} 3380 3381 # 0: string 3382 compiler.err.invalid.target=\ 3383 invalid target release: {0} 3384 3385 # 0: option name, 1: target 3386 compiler.err.option.not.allowed.with.target=\ 3387 option {0} not allowed with target {1} 3388 3389 # 0: string 3390 compiler.err.option.too.many=\ 3391 option {0} can only be specified once 3392 3393 compiler.err.no.source.files=\ 3394 no source files 3395 3396 compiler.err.no.source.files.classes=\ 3397 no source files or class names 3398 3399 # 0: string 3400 compiler.err.req.arg=\ 3401 {0} requires an argument 3402 3403 # 0: string 3404 compiler.err.invalid.source=\ 3405 invalid source release: {0} 3406 3407 # 0: string, 1: string 3408 compiler.err.error.writing.file=\ 3409 error writing {0}; {1} 3410 3411 compiler.err.sourcepath.modulesourcepath.conflict=\ 3412 cannot specify both --source-path and --module-source-path 3413 3414 # 0: string, 1: target 3415 compiler.warn.source.target.conflict=\ 3416 source release {0} requires target release {1} 3417 3418 # 0: string, 1: target 3419 compiler.warn.target.default.source.conflict=\ 3420 target release {0} conflicts with default source release {1} 3421 3422 # 0: profile, 1: target 3423 compiler.warn.profile.target.conflict=\ 3424 profile {0} is not valid for target release {1} 3425 3426 # 0: string 3427 compiler.err.file.not.directory=\ 3428 not a directory: {0} 3429 3430 # 0: object 3431 compiler.err.file.not.file=\ 3432 not a file: {0} 3433 3434 compiler.err.two.class.loaders.1=\ 3435 javac is split between multiple class loaders: check your configuration 3436 3437 # 0: url, 1: url 3438 compiler.err.two.class.loaders.2=\ 3439 javac is split between multiple class loaders:\n\ 3440 one class comes from file: {0}\n\ 3441 while javac comes from {1} 3442 3443 # 0: string, 1: string 3444 compiler.err.bad.value.for.option=\ 3445 bad value for {0} option: ''{1}'' 3446 3447 # 0: string 3448 compiler.err.no.value.for.option=\ 3449 no value for {0} option 3450 3451 # 0: string 3452 compiler.err.repeated.value.for.patch.module=\ 3453 --patch-module specified more than once for module {0} 3454 3455 # 0: string 3456 compiler.err.repeated.value.for.module.source.path=\ 3457 --module-source-path specified more than once for module {0} 3458 3459 compiler.err.multiple.values.for.module.source.path=\ 3460 --module-source-path specified more than once with a pattern argument 3461 3462 # 0: string 3463 compiler.err.unmatched.quote=\ 3464 unmatched quote in environment variable {0} 3465 3466 # 0: option name 3467 compiler.err.release.bootclasspath.conflict=\ 3468 option {0} cannot be used together with --release 3469 3470 # 0: string 3471 compiler.err.unsupported.release.version=\ 3472 release version {0} not supported 3473 3474 # 0: string 3475 compiler.err.file.not.found=\ 3476 file not found: {0} 3477 3478 # 0: string, 1: source 3479 compiler.err.preview.not.latest=\ 3480 invalid source release {0} with --enable-preview\n\ 3481 (preview language features are only supported for release {1}) 3482 3483 compiler.err.preview.without.source.or.release=\ 3484 --enable-preview must be used with either -source or --release