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