src/share/classes/com/sun/tools/javac/resources/compiler.properties

Mon, 21 Jan 2013 20:19:53 +0000

author
mcimadamore
date
Mon, 21 Jan 2013 20:19:53 +0000
changeset 1513
cf84b07a82db
parent 1503
2d2b2be57c78
child 1521
71f35e4b93a5
permissions
-rw-r--r--

8005166: Add support for static interface methods
Summary: Support public static interface methods
Reviewed-by: jjg

     1 #
     2 # Copyright (c) 1999, 2013, 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 #
    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 types currently in use are
    30 #
    31 # boolean           true or false
    32 # file name         the name of an input file; e.g.   MyFile.java
    33 # message segment   a sub-message; see compiler.misc.*
    34 # modifier          a Java modifier; e.g. public, private, protected
    35 # name              a name, typically a Java identifier
    36 # number            an integer
    37 # option name       the name of a command line option
    38 # source version    a source version number, such as 1.5, 1.6, 1.7
    39 # string            a general string
    40 # symbol            the name of a declared type
    41 # symbol kind       a description of the kind of a declaration; see compiler.misc.kindname.*
    42 # token             the name of a non-terminal in source code; see compiler.misc.token.*
    43 # type              a Java type; e.g. int, X, X<T>
    44 # unused            the value is not used in this message
    45 #
    46 # list of X         a comma-separated list of items; e.g. list of type
    47 # X or Y            alternation; e.g. message segment or type
    48 # set of X          a comma-separated collection of items; e.g. set of modifier
    49 #
    50 # These may be composed: e.g.   list of type or message segment
    51 #
    52 # These comments are verified by the jtreg test test/tools/javac/diags/MessageInfo,
    53 # using info derived from the collected set of examples in test/tools/javac/diags/examples.
    54 # MessageInfo can also be run as a standalone utility providing more facilities
    55 # for manipulating this file. For more details, see MessageInfo.java.
    57 ##
    58 ## errors
    59 ##
    61 # 0: symbol
    62 compiler.err.abstract.cant.be.instantiated=\
    63     {0} is abstract; cannot be instantiated
    65 compiler.err.abstract.meth.cant.have.body=\
    66     abstract methods cannot have a body
    68 compiler.err.already.annotated=\
    69     {0} {1} has already been annotated
    71 # 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol
    72 compiler.err.already.defined=\
    73     {0} {1} is already defined in {2} {3}
    75 # 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol kind, 4: symbol
    76 compiler.err.already.defined.in.clinit=\
    77     {0} {1} is already defined in {2} of {3} {4}
    79 # 0: string
    80 compiler.err.already.defined.single.import=\
    81     {0} is already defined in a single-type import
    83 # 0: string
    84 compiler.err.already.defined.static.single.import=\
    85     {0} is already defined in a static single-type import
    87 compiler.err.already.defined.this.unit=\
    88     {0} is already defined in this compilation unit
    90 # 0: type, 1: list of name
    91 compiler.err.annotation.missing.default.value=\
    92     annotation {0} is missing value for the attribute {1}
    94 # 0: type, 1: list of name
    95 compiler.err.annotation.missing.default.value.1=\
    96     annotation {0} is missing values for attributes {1}
    98 # 0: type
    99 compiler.err.annotation.not.valid.for.type=\
   100     annotation not valid for a value of type {0}
   102 compiler.err.annotation.type.not.applicable=\
   103     annotation type not applicable to this kind of declaration
   105 compiler.err.annotation.value.must.be.annotation=\
   106     annotation value must be an annotation
   108 compiler.err.annotation.value.must.be.class.literal=\
   109     annotation value must be a class literal
   111 compiler.err.annotation.value.must.be.name.value=\
   112     annotation values must be of the form ''name=value''
   114 compiler.err.annotation.value.not.allowable.type=\
   115     annotation value not of an allowable type
   117 compiler.err.anon.class.impl.intf.no.args=\
   118     anonymous class implements interface; cannot have arguments
   120 compiler.err.anon.class.impl.intf.no.typeargs=\
   121     anonymous class implements interface; cannot have type arguments
   123 compiler.err.anon.class.impl.intf.no.qual.for.new=\
   124     anonymous class implements interface; cannot have qualifier for new
   126 # 0: symbol, 1: symbol, 2: symbol
   127 compiler.err.array.and.varargs=\
   128     cannot declare both {0} and {1} in {2}
   130 compiler.err.array.dimension.missing=\
   131     array dimension missing
   133 # 0: type
   134 compiler.err.array.req.but.found=\
   135     array required, but {0} found
   137 compiler.err.attribute.value.must.be.constant=\
   138     attribute value must be constant
   140 # 0: statement type
   141 compiler.err.bad.initializer=\
   142     bad initializer for {0}
   144 compiler.err.break.outside.switch.loop=\
   145     break outside switch or loop
   147 # 0: name
   148 compiler.err.call.must.be.first.stmt.in.ctor=\
   149     call to {0} must be first statement in constructor
   151 # 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
   152 compiler.err.cant.apply.symbol=\
   153     {0} {1} in {4} {5} cannot be applied to given types;\n\
   154     required: {2}\n\
   155     found: {3}\n\
   156     reason: {6}
   158 # 0: symbol kind, 1: name, 2: list of type
   159 compiler.err.cant.apply.symbols=\
   160     no suitable {0} found for {1}({2})
   162 # 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
   163 compiler.misc.cant.apply.symbol=\
   164     {0} {1} in {4} {5} cannot be applied to given types\n\
   165     required: {2}\n\
   166     found: {3}\n\
   167     reason: {6}
   169 # 0: symbol kind, 1: name, 2: list of type
   170 compiler.misc.cant.apply.symbols=\
   171     no suitable {0} found for {1}({2})
   173 # 0: symbol kind, 1: symbol
   174 compiler.misc.no.abstracts=\
   175     no abstract method found in {0} {1}
   177 # 0: symbol kind, 1: symbol
   178 compiler.misc.incompatible.abstracts=\
   179     multiple non-overriding abstract methods found in {0} {1}
   181 compiler.err.bad.functional.intf.anno=\
   182     Unexpected @FunctionalInterface annotation
   184 # 0: message segment
   185 compiler.err.bad.functional.intf.anno.1=\
   186     Unexpected @FunctionalInterface annotation\n\
   187     {0}
   189 # 0: symbol
   190 compiler.misc.not.a.functional.intf=\
   191     {0} is not a functional interface
   193 # 0: symbol, 1: message segment
   194 compiler.misc.not.a.functional.intf.1=\
   195     {0} is not a functional interface\n\
   196     {1}
   198 # 0: symbol, 1: symbol kind, 2: symbol
   199 compiler.misc.invalid.generic.lambda.target=\
   200     invalid functional descriptor for lambda expression\n\
   201     method {0} in {1} {2} is generic
   203 # 0: symbol kind, 1: symbol
   204 compiler.misc.incompatible.descs.in.functional.intf=\
   205     incompatible function descriptors found in {0} {1}
   207 # 0: name, 1: list of type, 2: type, 3: list of type
   208 compiler.misc.descriptor=\
   209     descriptor: {2} {0}({1})
   211 # 0: name, 1: list of type, 2: type, 3: list of type
   212 compiler.misc.descriptor.throws=\
   213     descriptor: {2} {0}({1}) throws {3}
   215 # 0: type
   216 compiler.misc.no.suitable.functional.intf.inst=\
   217     cannot infer functional interface descriptor for {0}
   219 # 0: type
   220 compiler.misc.secondary.bound.must.be.marker.intf=\
   221     secondary bound {0} must be a marker interface
   223 # 0: symbol kind, 1: message segment
   224 compiler.err.invalid.mref=\
   225     invalid {0} reference; {1}
   227 # 0: symbol kind, 1: message segment
   228 compiler.misc.invalid.mref=\
   229     invalid {0} reference; {1}
   231 compiler.misc.static.mref.with.targs=\
   232     parameterized qualifier on static method reference
   234 compiler.misc.static.bound.mref=\
   235     static bound method reference
   237 # 0: symbol
   238 compiler.err.cant.assign.val.to.final.var=\
   239     cannot assign a value to final variable {0}
   241 # 0: symbol, 1: message segment
   242 compiler.err.cant.ref.non.effectively.final.var=\
   243     local variables referenced from {1} must be final or effectively final
   246 compiler.misc.lambda=\
   247     a lambda expression
   249 compiler.misc.inner.cls=\
   250     an inner class
   252 # 0: type
   253 compiler.err.cant.deref=\
   254     {0} cannot be dereferenced
   256 compiler.err.cant.extend.intf.annotation=\
   257     ''extends'' not allowed for @interfaces
   259 # 0: symbol
   260 compiler.err.cant.inherit.from.final=\
   261     cannot inherit from final {0}
   263 # 0: symbol
   264 compiler.err.cant.ref.before.ctor.called=\
   265     cannot reference {0} before supertype constructor has been called
   267 compiler.err.cant.select.static.class.from.param.type=\
   268     cannot select a static class from a parameterized type
   270 # 0: symbol, 1: string, 2: string
   271 compiler.err.cant.inherit.diff.arg=\
   272     {0} cannot be inherited with different arguments: <{1}> and <{2}>
   274 compiler.err.catch.without.try=\
   275     ''catch'' without ''try''
   277 # 0: symbol kind, 1: symbol
   278 compiler.err.clash.with.pkg.of.same.name=\
   279     {0} {1} clashes with package of same name
   281 compiler.err.class.not.allowed=\
   282     class, interface or enum declaration not allowed here
   284 compiler.err.const.expr.req=\
   285     constant expression required
   287 compiler.err.cont.outside.loop=\
   288     continue outside of loop
   290 # 0: symbol
   291 compiler.err.cyclic.inheritance=\
   292     cyclic inheritance involving {0}
   294 compiler.err.cyclic.annotation.element=\
   295     cyclic annotation element type
   297 # 0: unused
   298 compiler.err.call.to.super.not.allowed.in.enum.ctor=\
   299     call to super not allowed in enum constructor
   301 # 0: type
   302 compiler.err.no.superclass=\
   303     {0} has no superclass
   305 # 0: symbol, 1: type, 2: symbol, 3: type, 4: unused
   306 compiler.err.concrete.inheritance.conflict=\
   307     methods {0} from {1} and {2} from {3} are inherited with the same signature
   309 compiler.err.default.allowed.in.intf.annotation.member=\
   310     default value only allowed in an @interface member
   312 # 0: symbol
   313 compiler.err.doesnt.exist=\
   314     package {0} does not exist
   316 compiler.err.duplicate.annotation=\
   317     duplicate annotation
   319 # 0: type
   320 compiler.err.duplicate.annotation.invalid.repeated=\
   321     annotation {0} cannot be repeated\nIt does not define a valid containing annotation.
   323 # 0: name, 1: type
   324 compiler.err.duplicate.annotation.member.value=\
   325     duplicate annotation member value {0} in {1}
   327 # 0: type, 1: type
   328 compiler.err.duplicate.annotation.missing.container=\
   329     duplicate annotation, the declaration of {0} does not have a valid {1} annotation
   331 # 0: type
   332 compiler.err.invalid.repeatable.annotation=\
   333     duplicate annotation, {0} is annotated with an invalid Repeatable annotation
   335 # 0: type
   336 compiler.err.invalid.repeatable.annotation.no.value=\
   337     duplicate annotation, {0} is not a valid Repeatable, no value element method declared
   339 # 0: type, 1: number
   340 compiler.err.invalid.repeatable.annotation.multiple.values=\
   341     duplicate annotation, {0} is not a valid Repeatable, {1} value element methods declared
   343 # 0: type
   344 compiler.err.invalid.repeatable.annotation.invalid.value=\
   345     duplicate annotation, {0} is not a valid Repeatable, invalid value element, need a method
   347 # 0: type, 1: type, 2: type
   348 compiler.err.invalid.repeatable.annotation.value.return=\
   349     duplicate annotation, value element of containing annotation {0} should have type {2}, found {1}
   351 # 0: type, 1: symbol
   352 compiler.err.invalid.repeatable.annotation.elem.nondefault=\
   353     containing annotation {0} does not have a default value for element {1}
   355 # 0: symbol, 1: type, 2: symbol, 3: type
   356 compiler.err.invalid.repeatable.annotation.retention=\
   357     containing annotation {0} has shorter retention ({1}) than the contained annotation {2} with retention {3}
   359 # 0: symbol, 1: symbol
   360 compiler.err.invalid.repeatable.annotation.not.documented=\
   361     containing annotation type, {0}, is not @Documented while repeated annotation type, {1}, is
   363 # 0: symbol, 1: symbol
   364 compiler.err.invalid.repeatable.annotation.not.inherited=\
   365     containing annotation type, {0}, is not @Inherited while repeated annotation type, {1}, is
   367 # 0: symbol, 1: symbol
   368 compiler.err.invalid.repeatable.annotation.incompatible.target=\
   369     target of container annotation {0} is not a subset of target of repeated annotation {1}
   371 # 0: symbol
   372 compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\
   373     container {0} must not be present at the same time as the element it contains
   375 # 0: name
   376 compiler.err.duplicate.class=\
   377     duplicate class: {0}
   379 compiler.err.duplicate.case.label=\
   380     duplicate case label
   382 compiler.err.duplicate.default.label=\
   383     duplicate default label
   385 compiler.err.else.without.if=\
   386     ''else'' without ''if''
   388 compiler.err.empty.char.lit=\
   389     empty character literal
   391 # 0: symbol
   392 compiler.err.encl.class.required=\
   393     an enclosing instance that contains {0} is required
   395 compiler.err.enum.annotation.must.be.enum.constant=\
   396     an enum annotation value must be an enum constant
   398 compiler.err.enum.cant.be.instantiated=\
   399     enum types may not be instantiated
   401 compiler.err.enum.label.must.be.unqualified.enum=\
   402     an enum switch case label must be the unqualified name of an enumeration constant
   404 compiler.err.enum.no.subclassing=\
   405     classes cannot directly extend java.lang.Enum
   407 compiler.err.enum.types.not.extensible=\
   408     enum types are not extensible
   410 compiler.err.enum.no.finalize=\
   411     enums cannot have finalize methods
   413 # 0: file name, 1: string
   414 compiler.err.error.reading.file=\
   415     error reading {0}; {1}
   417 # 0: type
   418 compiler.err.except.already.caught=\
   419     exception {0} has already been caught
   421 # 0: type
   422 compiler.err.except.never.thrown.in.try=\
   423     exception {0} is never thrown in body of corresponding try statement
   425 # 0: symbol
   426 compiler.err.final.parameter.may.not.be.assigned=\
   427     final parameter {0} may not be assigned
   429 # 0: symbol
   430 compiler.err.try.resource.may.not.be.assigned=\
   431     auto-closeable resource {0} may not be assigned
   433 # 0: symbol
   434 compiler.err.multicatch.parameter.may.not.be.assigned=\
   435     multi-catch parameter {0} may not be assigned
   437 # 0: type, 1: type
   438 compiler.err.multicatch.types.must.be.disjoint=\
   439     Alternatives in a multi-catch statement cannot be related by subclassing\n\
   440     Alternative {0} is a subclass of alternative {1}
   442 compiler.err.finally.without.try=\
   443     ''finally'' without ''try''
   445 # 0: type, 1: message segment
   446 compiler.err.foreach.not.applicable.to.type=\
   447     for-each not applicable to expression type\n\
   448     required: {1}\n\
   449     found:    {0}
   451 compiler.err.fp.number.too.large=\
   452     floating point number too large
   454 compiler.err.fp.number.too.small=\
   455     floating point number too small
   457 compiler.err.generic.array.creation=\
   458     generic array creation
   460 compiler.err.generic.throwable=\
   461     a generic class may not extend java.lang.Throwable
   463 # 0: symbol
   464 compiler.err.icls.cant.have.static.decl=\
   465     Illegal static declaration in inner class {0}\n\
   466     modifier \''static\'' is only allowed in constant variable declarations
   468 # 0: string
   469 compiler.err.illegal.char=\
   470     illegal character: ''{0}''
   472 compiler.err.illegal.char.for.encoding=\
   473     unmappable character for encoding {0}
   475 # 0: set of modifier, 1: set of modifier
   476 compiler.err.illegal.combination.of.modifiers=\
   477     illegal combination of modifiers: {0} and {1}
   479 compiler.err.illegal.enum.static.ref=\
   480     illegal reference to static field from initializer
   482 compiler.err.illegal.esc.char=\
   483     illegal escape character
   485 compiler.err.illegal.forward.ref=\
   486     illegal forward reference
   488 # 0: symbol
   489 compiler.warn.forward.ref=\
   490     reference to variable ''{0}'' before it has been initialized
   492 compiler.err.illegal.self.ref=\
   493     self-reference in initializer
   495 # 0: symbol
   496 compiler.warn.self.ref=\
   497     self-reference in initializer of variable ''{0}''
   499 compiler.err.illegal.generic.type.for.instof=\
   500     illegal generic type for instanceof
   502 # 0: type
   503 compiler.err.illegal.initializer.for.type=\
   504     illegal initializer for {0}
   506 compiler.err.illegal.line.end.in.char.lit=\
   507     illegal line end in character literal
   509 compiler.err.illegal.nonascii.digit=\
   510     illegal non-ASCII digit
   512 compiler.err.illegal.underscore=\
   513     illegal underscore
   515 compiler.err.illegal.dot=\
   516     illegal ''.''
   518 # 0: symbol
   519 compiler.err.illegal.qual.not.icls=\
   520     illegal qualifier; {0} is not an inner class
   522 compiler.err.illegal.start.of.expr=\
   523     illegal start of expression
   525 compiler.err.illegal.start.of.stmt=\
   526     illegal start of statement
   528 compiler.err.illegal.start.of.type=\
   529     illegal start of type
   531 compiler.err.illegal.unicode.esc=\
   532     illegal unicode escape
   534 # 0: symbol
   535 compiler.err.import.requires.canonical=\
   536     import requires canonical name for {0}
   538 compiler.err.improperly.formed.type.param.missing=\
   539     improperly formed type, some parameters are missing
   541 compiler.err.improperly.formed.type.inner.raw.param=\
   542     improperly formed type, type arguments given on a raw type
   544 # 0: type, 1: type
   545 compiler.err.incomparable.types=\
   546     incomparable types: {0} and {1}
   548 # 0: number
   549 compiler.err.int.number.too.large=\
   550     integer number too large: {0}
   552 compiler.err.intf.annotation.members.cant.have.params=\
   553     @interface members may not have parameters
   555 compiler.err.intf.annotation.cant.have.type.params=\
   556     @interface may not have type parameters
   558 compiler.err.intf.annotation.members.cant.have.type.params=\
   559     @interface members may not have type parameters
   561 # 0: symbol, 1: type
   562 compiler.err.intf.annotation.member.clash=\
   563     @interface member clashes with method ''{0}'' in {1}
   565 compiler.err.intf.expected.here=\
   566     interface expected here
   568 compiler.err.intf.meth.cant.have.body=\
   569     interface abstract methods cannot have body
   571 compiler.err.invalid.annotation.member.type=\
   572     invalid type for annotation member
   574 compiler.err.invalid.binary.number=\
   575     binary numbers must contain at least one binary digit
   577 compiler.err.invalid.hex.number=\
   578     hexadecimal numbers must contain at least one hexadecimal digit
   580 compiler.err.invalid.meth.decl.ret.type.req=\
   581     invalid method declaration; return type required
   583 compiler.err.varargs.and.old.array.syntax=\
   584     legacy array notation not allowed on variable-arity parameter
   586 compiler.err.variable.not.allowed=\
   587     variable declaration not allowed here
   589 # 0: name
   590 compiler.err.label.already.in.use=\
   591     label {0} already in use
   593 # 0: symbol
   594 compiler.err.local.var.accessed.from.icls.needs.final=\
   595     local variable {0} is accessed from within inner class; needs to be declared final
   597 compiler.err.local.enum=\
   598     enum types must not be local
   600 compiler.err.cannot.create.array.with.type.arguments=\
   601     cannot create array with type arguments
   603 compiler.err.cannot.create.array.with.diamond=\
   604     cannot create array with ''<>''
   606 #
   607 # limits.  We don't give the limits in the diagnostic because we expect
   608 # them to change, yet we want to use the same diagnostic.  These are all
   609 # detected during code generation.
   610 #
   611 compiler.err.limit.code=\
   612     code too large
   614 compiler.err.limit.code.too.large.for.try.stmt=\
   615     code too large for try statement
   617 compiler.err.limit.dimensions=\
   618     array type has too many dimensions
   620 compiler.err.limit.locals=\
   621     too many local variables
   623 compiler.err.limit.parameters=\
   624     too many parameters
   626 compiler.err.limit.pool=\
   627     too many constants
   629 compiler.err.limit.pool.in.class=\
   630     too many constants in class {0}
   632 compiler.err.limit.stack=\
   633     code requires too much stack
   635 compiler.err.limit.string=\
   636     constant string too long
   638 compiler.err.limit.string.overflow=\
   639     UTF8 representation for string \"{0}...\" is too long for the constant pool
   641 compiler.err.malformed.fp.lit=\
   642     malformed floating point literal
   644 compiler.err.method.does.not.override.superclass=\
   645     method does not override or implement a method from a supertype
   647 compiler.err.missing.meth.body.or.decl.abstract=\
   648     missing method body, or declare abstract
   650 compiler.err.missing.ret.stmt=\
   651     missing return statement
   653 compiler.misc.missing.ret.val=\
   654     missing return value
   656 compiler.misc.unexpected.ret.val=\
   657     unexpected return value
   659 # 0: set of modifier
   660 compiler.err.mod.not.allowed.here=\
   661     modifier {0} not allowed here
   663 compiler.err.intf.not.allowed.here=\
   664     interface not allowed here
   666 compiler.err.enums.must.be.static=\
   667     enum declarations allowed only in static contexts
   669 # 0: symbol, 1: symbol
   670 compiler.err.name.clash.same.erasure=\
   671     name clash: {0} and {1} have the same erasure
   673 # 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: unused, 5: unused
   674 compiler.err.name.clash.same.erasure.no.override=\
   675     name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
   677 # 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: symbol, 5: symbol
   678 compiler.err.name.clash.same.erasure.no.override.1=\
   679     name clash: {0} in {1} overrides a method whose erasure is the same as another method, yet neither overrides the other\n\
   680     first method:  {2} in {3}\n\
   681     second method: {4} in {5}
   683 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
   684 compiler.err.name.clash.same.erasure.no.hide=\
   685     name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither hides the other
   687 compiler.err.name.reserved.for.internal.use=\
   688     {0} is reserved for internal use
   690 compiler.err.native.meth.cant.have.body=\
   691     native methods cannot have a body
   693 # 0: type, 1: type
   694 compiler.err.neither.conditional.subtype=\
   695     incompatible types for ?: neither is a subtype of the other\n\
   696     second operand: {0}\n\
   697     third operand : {1}
   699 # 0: message segment
   700 compiler.misc.incompatible.type.in.conditional=\
   701     bad type in conditional expression; {0}
   703 compiler.misc.conditional.target.cant.be.void=\
   704     target-type for conditional expression cannot be void
   706 # 0: type
   707 compiler.misc.incompatible.ret.type.in.lambda=\
   708     bad return type in lambda expression\n\
   709     {0}
   711 # 0: type
   712 compiler.misc.incompatible.ret.type.in.mref=\
   713     bad return type in method reference\n\
   714     {0}
   716 # 0: list of type
   717 compiler.err.incompatible.thrown.types.in.lambda=\
   718     incompatible thrown types {0} in lambda expression
   720 # 0: list of type
   721 compiler.err.incompatible.thrown.types.in.mref=\
   722     incompatible thrown types {0} in method reference
   724 compiler.misc.incompatible.arg.types.in.lambda=\
   725     incompatible parameter types in lambda expression
   727 compiler.err.new.not.allowed.in.annotation=\
   728     ''new'' not allowed in an annotation
   730 compiler.err.no.annotation.member=\
   731     no annotation member {0} in {1}
   733 compiler.err.no.encl.instance.of.type.in.scope=\
   734     no enclosing instance of type {0} is in scope
   736 compiler.err.no.intf.expected.here=\
   737     no interface expected here
   739 compiler.err.no.match.entry=\
   740     {0} has no match in entry in {1}; required {2}
   742 compiler.err.not.annotation.type=\
   743     {0} is not an annotation type
   745 # 0: symbol, 1: symbol
   746 compiler.err.not.def.access.class.intf.cant.access=\
   747     {0} in {1} is defined in an inaccessible class or interface
   749 # 0: symbol, 1: symbol
   750 compiler.misc.not.def.access.class.intf.cant.access=\
   751     {0} in {1} is defined in an inaccessible class or interface
   753 # 0: symbol, 1: list of type, 2: type
   754 compiler.misc.cant.access.inner.cls.constr=\
   755     cannot access constructor {0}({1})\n\
   756     an enclosing instance of type {2} is not in scope
   758 # 0: symbol, 1: symbol
   759 compiler.err.not.def.public.cant.access=\
   760     {0} is not public in {1}; cannot be accessed from outside package
   762 # 0: name
   763 compiler.err.not.loop.label=\
   764     not a loop label: {0}
   766 compiler.err.not.stmt=\
   767     not a statement
   769 # 0: symbol
   770 compiler.err.not.encl.class=\
   771     not an enclosing class: {0}
   773 # 0: name, 1: type, 2: unused
   774 compiler.err.operator.cant.be.applied=\
   775     bad operand type {1} for unary operator ''{0}''
   777 # 0: name, 1: type, 2: type
   778 compiler.err.operator.cant.be.applied.1=\
   779     bad operand types for binary operator ''{0}''\n\
   780     first type:  {1}\n\
   781     second type: {2}
   783 compiler.err.pkg.annotations.sb.in.package-info.java=\
   784     package annotations should be in file package-info.java
   786 # 0: symbol
   787 compiler.err.pkg.clashes.with.class.of.same.name=\
   788     package {0} clashes with class of same name
   790 compiler.err.warnings.and.werror=\
   791     warnings found and -Werror specified
   793 # Errors related to annotation processing
   795 # 0: symbol, 1: string, 2: stack-trace
   796 compiler.err.proc.cant.access=\
   797     cannot access {0}\n\
   798     {1}\n\
   799     Consult the following stack trace for details.\n\
   800     {2}
   802 # 0: symbol, 1: string
   803 compiler.err.proc.cant.access.1=\
   804     cannot access {0}\n\
   805     {1}
   807 # 0: string
   808 compiler.err.proc.cant.find.class=\
   809     Could not find class file for ''{0}''.
   811 # Print a client-generated error message; assumed to be localized, no translation required
   812 # 0: string
   813 compiler.err.proc.messager=\
   814     {0}
   816 # 0: list of string
   817 compiler.err.proc.no.explicit.annotation.processing.requested=\
   818     Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
   820 compiler.err.proc.no.service=\
   821     A ServiceLoader was not usable and is required for annotation processing.
   823 compiler.err.proc.processor.bad.option.name=\
   824     Bad option name ''{0}'' provided by processor ''{1}''
   826 # 0: string
   827 compiler.err.proc.processor.cant.instantiate=\
   828     Could not instantiate an instance of processor ''{0}''
   830 # 0: string
   831 compiler.err.proc.processor.not.found=\
   832     Annotation processor ''{0}'' not found
   834 # 0: string
   835 compiler.err.proc.processor.wrong.type=\
   836     Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
   838 compiler.err.proc.service.problem=\
   839     Error creating a service loader to load Processors.
   841 compiler.err.proc.bad.config.file=\
   842     Bad service configuration file, or exception thrown while constructing Processor object: {0}
   844 compiler.err.proc.cant.create.loader=\
   845     Could not create class loader for annotation processors: {0}
   847 # 0: unused
   848 compiler.err.qualified.new.of.static.class=\
   849     qualified new of static class
   851 compiler.err.recursive.ctor.invocation=\
   852     recursive constructor invocation
   854 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
   855 compiler.err.ref.ambiguous=\
   856     reference to {0} is ambiguous\n\
   857     both {1} {2} in {3} and {4} {5} in {6} match
   859 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
   860 compiler.misc.ref.ambiguous=\
   861     reference to {0} is ambiguous\n\
   862     both {1} {2} in {3} and {4} {5} in {6} match
   864 compiler.err.repeated.annotation.target=\
   865     repeated annotation target
   867 compiler.err.repeated.interface=\
   868     repeated interface
   870 compiler.err.repeated.modifier=\
   871     repeated modifier
   873 # 0: symbol, 1: set of modifier, 2: symbol
   874 compiler.err.report.access=\
   875     {0} has {1} access in {2}
   877 compiler.err.ret.outside.meth=\
   878     return outside method
   880 compiler.err.signature.doesnt.match.supertype=\
   881     signature does not match {0}; incompatible supertype
   883 compiler.err.signature.doesnt.match.intf=\
   884     signature does not match {0}; incompatible interfaces
   886 # 0: symbol, 1: symbol, 2: symbol
   887 compiler.err.does.not.override.abstract=\
   888     {0} is not abstract and does not override abstract method {1} in {2}
   890 compiler.err.source.cant.overwrite.input.file=\
   891     error writing source; cannot overwrite input file {0}
   893 compiler.err.stack.sim.error=\
   894     Internal error: stack sim error on {0}
   896 compiler.err.static.imp.only.classes.and.interfaces=\
   897     static import only from classes and interfaces
   899 compiler.err.string.const.req=\
   900     constant string expression required
   902 # 0: symbol, 1: symbol
   903 compiler.err.synthetic.name.conflict=\
   904     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
   906 # 0: symbol, 1: symbol
   907 compiler.warn.synthetic.name.conflict=\
   908     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
   910 compiler.err.throws.not.allowed.in.intf.annotation=\
   911     throws clause not allowed in @interface members
   913 compiler.err.try.without.catch.or.finally=\
   914     ''try'' without ''catch'' or ''finally''
   916 compiler.err.try.without.catch.finally.or.resource.decls=\
   917     ''try'' without ''catch'', ''finally'' or resource declarations
   919 # 0: symbol
   920 compiler.err.type.doesnt.take.params=\
   921     type {0} does not take parameters
   923 compiler.err.type.var.cant.be.deref=\
   924     cannot select from a type variable
   926 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
   927     a type variable may not be followed by other bounds
   929 compiler.err.type.var.more.than.once=\
   930     type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
   932 compiler.err.type.var.more.than.once.in.result=\
   933     type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
   935 # 0: type, 1: type, 2: string
   936 compiler.err.types.incompatible.diff.ret=\
   937     types {0} and {1} are incompatible; both define {2}, but with unrelated return types
   939 # 0: kind, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol
   940 compiler.err.types.incompatible.unrelated.defaults=\
   941     {0} {1} inherits unrelated defaults for {2}({3}) from types {4} and {5}
   943 # 0: kind, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol
   944 compiler.err.types.incompatible.abstract.default=\
   945     {0} {1} inherits abstract and default for {2}({3}) from types {4} and {5}
   947 # 0: name, 1: kind, 2: symbol
   948 compiler.err.default.overrides.object.member=\
   949     default method {0} in {1} {2} overrides a member of java.lang.Object
   951 # 0: type
   952 compiler.err.illegal.static.intf.meth.call=\
   953     illegal static interface method call\n\
   954     the receiver expression should be replaced with the type qualifier ''{0}''
   956 # 0: type, 1: message segment
   957 compiler.err.illegal.default.super.call=\
   958     bad type qualifier {0} in default super call\n\
   959     {1}
   961 # 0: symbol, 1: type
   962 compiler.misc.overridden.default=\
   963     method {0} is overridden in {1}
   965 # 0: symbol, 1: symbol
   966 compiler.misc.redundant.supertype=\
   967     redundant interface {0} is extended by {1}
   969 compiler.err.unclosed.char.lit=\
   970     unclosed character literal
   972 compiler.err.unclosed.comment=\
   973     unclosed comment
   975 compiler.err.unclosed.str.lit=\
   976     unclosed string literal
   978 # 0: name
   979 compiler.err.unsupported.encoding=\
   980     unsupported encoding: {0}
   982 compiler.err.io.exception=\
   983     error reading source file: {0}
   985 # 0: name
   986 compiler.err.undef.label=\
   987     undefined label: {0}
   989 # 0: message segment, 1: unused
   990 compiler.err.cant.apply.diamond=\
   991     cannot infer type arguments for {0}
   993 # 0: message segment or type, 1: message segment
   994 compiler.err.cant.apply.diamond.1=\
   995     cannot infer type arguments for {0}\n\
   996     reason: {1}
   998 # 0: message segment or type, 1: message segment
   999 compiler.misc.cant.apply.diamond.1=\
  1000     cannot infer type arguments for {0}\n\
  1001     reason: {1}
  1003 compiler.err.unreachable.stmt=\
  1004     unreachable statement
  1006 compiler.err.initializer.must.be.able.to.complete.normally=\
  1007     initializer must be able to complete normally
  1009 # 0: type
  1010 compiler.err.unreported.exception.need.to.catch.or.throw=\
  1011     unreported exception {0}; must be caught or declared to be thrown
  1013 # 0: type
  1014 compiler.err.unreported.exception.default.constructor=\
  1015     unreported exception {0} in default constructor
  1017 # 0: type, 1: name
  1018 compiler.err.unreported.exception.implicit.close=\
  1019     unreported exception {0}; must be caught or declared to be thrown\n\
  1020     exception thrown from implicit call to close() on resource variable ''{1}''
  1022 compiler.err.unsupported.cross.fp.lit=\
  1023     hexadecimal floating-point literals are not supported on this VM
  1025 compiler.err.void.not.allowed.here=\
  1026     ''void'' type not allowed here
  1028 # 0: string
  1029 compiler.err.wrong.number.type.args=\
  1030     wrong number of type arguments; required {0}
  1032 # 0: symbol
  1033 compiler.err.var.might.already.be.assigned=\
  1034     variable {0} might already have been assigned
  1036 # 0: symbol
  1037 compiler.err.var.might.not.have.been.initialized=\
  1038     variable {0} might not have been initialized
  1040 # 0: symbol
  1041 compiler.err.var.might.be.assigned.in.loop=\
  1042     variable {0} might be assigned in loop
  1044 # 0: symbol, 1: message segment
  1045 compiler.err.varargs.invalid.trustme.anno=\
  1046     Invalid {0} annotation. {1}
  1048 # 0: type
  1049 compiler.misc.varargs.trustme.on.reifiable.varargs=\
  1050     Varargs element type {0} is reifiable.
  1052 # 0: symbol
  1053 compiler.misc.varargs.trustme.on.non.varargs.meth=\
  1054     Method {0} is not a varargs method.
  1056 # 0: symbol
  1057 compiler.misc.varargs.trustme.on.virtual.varargs=\
  1058     Instance method {0} is not final.
  1060 # 0: type, 1: symbol kind, 2: symbol
  1061 compiler.misc.inaccessible.varargs.type=\
  1062     formal varargs element type {0} is not accessible from {1} {2}
  1064 # In the following string, {1} will always be the detail message from
  1065 # java.io.IOException.
  1066 # 0: symbol, 1: string
  1067 compiler.err.class.cant.write=\
  1068     error while writing {0}: {1}
  1070 # In the following string, {0} is the name of the class in the Java source.
  1071 # It really should be used two times..
  1072 # 0: name
  1073 compiler.err.class.public.should.be.in.file=\
  1074     class {0} is public, should be declared in a file named {0}.java
  1076 ## All errors which do not refer to a particular line in the source code are
  1077 ## preceded by this string.
  1078 compiler.err.error=\
  1079     error:\u0020
  1081 # The following error messages do not refer to a line in the source code.
  1082 compiler.err.cant.read.file=\
  1083     cannot read: {0}
  1085 #####
  1087 # Fatal Errors
  1089 compiler.misc.fatal.err.no.java.lang=\
  1090     Fatal Error: Unable to find package java.lang in classpath or bootclasspath
  1092 compiler.misc.fatal.err.cant.locate.meth=\
  1093     Fatal Error: Unable to find method {0}
  1095 compiler.misc.fatal.err.cant.locate.field=\
  1096     Fatal Error: Unable to find field {0}
  1098 compiler.misc.fatal.err.cant.locate.ctor=\
  1099     Fatal Error: Unable to find constructor for {0}
  1101 compiler.misc.fatal.err.cant.close=\
  1102     Fatal Error: Cannot close compiler resources
  1104 #####
  1106 ##
  1107 ## miscellaneous strings
  1108 ##
  1110 compiler.misc.source.unavailable=\
  1111     (source unavailable)
  1113 compiler.misc.base.membership=\
  1114     all your base class are belong to us
  1116 # 0: string, 1: string, 2: boolean
  1117 compiler.misc.x.print.processor.info=\
  1118     Processor {0} matches {1} and returns {2}.
  1120 # 0: number, 1: string, 2: set of symbol, 3: boolean
  1121 compiler.misc.x.print.rounds=\
  1122     Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
  1124 #####
  1126 ## The following string will appear before all messages keyed as:
  1127 ## "compiler.note".
  1129 compiler.note.potential.lambda.found=\
  1130     This anonymous inner class creation can be turned into a lambda expression.
  1132 compiler.note.note=\
  1133     Note:\u0020
  1135 # 0: file name
  1136 compiler.note.deprecated.filename=\
  1137     {0} uses or overrides a deprecated API.
  1139 compiler.note.deprecated.plural=\
  1140     Some input files use or override a deprecated API.
  1142 # The following string may appear after one of the above deprecation
  1143 # messages.
  1144 compiler.note.deprecated.recompile=\
  1145     Recompile with -Xlint:deprecation for details.
  1147 # 0: file name
  1148 compiler.note.deprecated.filename.additional=\
  1149     {0} has additional uses or overrides of a deprecated API.
  1151 compiler.note.deprecated.plural.additional=\
  1152     Some input files additionally use or override a deprecated API.
  1154 # 0: file name
  1155 compiler.note.unchecked.filename=\
  1156     {0} uses unchecked or unsafe operations.
  1158 compiler.note.unchecked.plural=\
  1159     Some input files use unchecked or unsafe operations.
  1161 # The following string may appear after one of the above deprecation
  1162 # messages.
  1163 compiler.note.unchecked.recompile=\
  1164     Recompile with -Xlint:unchecked for details.
  1166 # 0: file name
  1167 compiler.note.unchecked.filename.additional=\
  1168     {0} has additional unchecked or unsafe operations.
  1170 compiler.note.unchecked.plural.additional=\
  1171     Some input files additionally use unchecked or unsafe operations.
  1173 # 0: file name
  1174 compiler.note.sunapi.filename=\
  1175     {0} uses internal proprietary API that may be removed in a future release.
  1177 compiler.note.sunapi.plural=\
  1178     Some input files use internal proprietary API that may be removed in a future release.
  1180 # The following string may appear after one of the above sunapi messages.
  1181 compiler.note.sunapi.recompile=\
  1182     Recompile with -Xlint:sunapi for details.
  1184 # 0: file name
  1185 compiler.note.sunapi.filename.additional=\
  1186     {0} uses additional internal proprietary API that may be removed in a future release.
  1188 compiler.note.sunapi.plural.additional=\
  1189     Some input files additionally use internal proprietary API that may be removed in a future release.
  1191 # Notes related to annotation processing
  1193 # Print a client-generated note; assumed to be localized, no translation required
  1194 # 0: string
  1195 compiler.note.proc.messager=\
  1196     {0}
  1198 #####
  1200 # 0: number
  1201 compiler.misc.count.error=\
  1202     {0} error
  1204 # 0: number
  1205 compiler.misc.count.error.plural=\
  1206     {0} errors
  1208 # 0: number
  1209 compiler.misc.count.warn=\
  1210     {0} warning
  1212 # 0: number
  1213 compiler.misc.count.warn.plural=\
  1214     {0} warnings
  1216 compiler.misc.version.not.available=\
  1217     (version info not available)
  1219 ## extra output when using -verbose (JavaCompiler)
  1221 # 0: symbol
  1222 compiler.misc.verbose.checking.attribution=\
  1223     [checking {0}]
  1225 # 0: string
  1226 compiler.misc.verbose.parsing.done=\
  1227     [parsing completed {0}ms]
  1229 # 0: file name
  1230 compiler.misc.verbose.parsing.started=\
  1231     [parsing started {0}]
  1233 # 0: string
  1234 compiler.misc.verbose.total=\
  1235     [total {0}ms]
  1237 # 0: file name
  1238 compiler.misc.verbose.wrote.file=\
  1239     [wrote {0}]
  1241 ## extra output when using -verbose (Retro)
  1242 compiler.misc.verbose.retro=\
  1243     [retrofitting {0}]
  1245 compiler.misc.verbose.retro.with=\
  1246     \tretrofitting {0} with {1}
  1248 compiler.misc.verbose.retro.with.list=\
  1249     \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
  1251 ## extra output when using -verbose (code/ClassReader)
  1252 # 0: string
  1253 compiler.misc.verbose.loading=\
  1254     [loading {0}]
  1256 # 0: string
  1257 compiler.misc.verbose.sourcepath=\
  1258     [search path for source files: {0}]
  1260 # 0: string
  1261 compiler.misc.verbose.classpath=\
  1262     [search path for class files: {0}]
  1264 ## extra output when using -checkclassfile (code/ClassReader)
  1265 compiler.misc.ccf.found.later.version=\
  1266     class file has later version than expected: {0}
  1268 compiler.misc.ccf.unrecognized.attribute=\
  1269     unrecognized attribute: {0}
  1271 ## extra output when using -prompt (util/Log)
  1272 compiler.misc.resume.abort=\
  1273     R)esume, A)bort>
  1275 #####
  1277 ##
  1278 ## warnings
  1279 ##
  1281 ## All warning messages are preceded by the following string.
  1282 compiler.warn.warning=\
  1283     warning:\u0020
  1285 ## Warning messages may also include the following prefix to identify a
  1286 ## lint option
  1287 # 0: option name
  1288 compiler.warn.lintOption=\
  1289     [{0}]\u0020
  1291 # 0: symbol
  1292 compiler.warn.constant.SVUID=\
  1293     serialVersionUID must be constant in class {0}
  1295 # 0: file name
  1296 compiler.warn.dir.path.element.not.found=\
  1297     bad path element "{0}": no such directory
  1299 compiler.warn.finally.cannot.complete=\
  1300     finally clause cannot complete normally
  1302 # 0: symbol, 1: symbol
  1303 compiler.warn.has.been.deprecated=\
  1304     {0} in {1} has been deprecated
  1306 # 0: symbol
  1307 compiler.warn.sun.proprietary=\
  1308     {0} is internal proprietary API and may be removed in a future release
  1310 compiler.warn.illegal.char.for.encoding=\
  1311     unmappable character for encoding {0}
  1313 # 0: symbol
  1314 compiler.warn.improper.SVUID=\
  1315     serialVersionUID must be declared static final in class {0}
  1317 # 0: type, 1: type
  1318 compiler.warn.inexact.non-varargs.call=\
  1319     non-varargs call of varargs method with inexact argument type for last parameter;\n\
  1320     cast to {0} for a varargs call\n\
  1321     cast to {1} for a non-varargs call and to suppress this warning
  1323 # 0: list of type
  1324 compiler.warn.unreachable.catch=\
  1325     unreachable catch clause\n\
  1326     thrown type {0} has already been caught
  1328 # 0: list of type
  1329 compiler.warn.unreachable.catch.1=\
  1330     unreachable catch clause\n\
  1331     thrown types {0} have already been caught
  1333 # 0: symbol
  1334 compiler.warn.long.SVUID=\
  1335     serialVersionUID must be of type long in class {0}
  1337 # 0: symbol
  1338 compiler.warn.missing.SVUID=\
  1339     serializable class {0} has no definition of serialVersionUID
  1341 # 0: message segment
  1342 compiler.warn.override.varargs.missing=\
  1343     {0}; overridden method has no ''...''
  1345 # 0: message segment
  1346 compiler.warn.override.varargs.extra=\
  1347     {0}; overriding method is missing ''...''
  1349 compiler.warn.override.bridge=\
  1350     {0}; overridden method is a bridge method
  1352 # 0: symbol
  1353 compiler.warn.pkg-info.already.seen=\
  1354     a package-info.java file has already been seen for package {0}
  1356 # 0: file name
  1357 compiler.warn.path.element.not.found=\
  1358     bad path element "{0}": no such file or directory
  1360 compiler.warn.possible.fall-through.into.case=\
  1361     possible fall-through into case
  1363 # 0: type
  1364 compiler.warn.redundant.cast=\
  1365     redundant cast to {0}
  1367 # 0: number
  1368 compiler.warn.position.overflow=\
  1369     Position encoding overflows at line {0}
  1371 # 0: file name, 1: number, 2: number
  1372 compiler.warn.big.major.version=\
  1373     {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
  1374     It is recommended that the compiler be upgraded.
  1376 # 0: symbol kind, 1: symbol
  1377 compiler.warn.static.not.qualified.by.type=\
  1378     static {0} should be qualified by type name, {1}, instead of by an expression
  1380 # 0: string
  1381 compiler.warn.source.no.bootclasspath=\
  1382     bootstrap class path not set in conjunction with -source {0}
  1384 # 0: name, 1: number, 2: number, 3: number, 4: number
  1385 compiler.warn.future.attr=\
  1386     {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files
  1388 # Warnings related to annotation processing
  1389 # 0: name
  1390 compiler.warn.proc.package.does.not.exist=\
  1391     package {0} does not exist
  1393 # 0: name
  1394 compiler.warn.proc.file.reopening=\
  1395     Attempt to create a file for ''{0}'' multiple times
  1397 # 0: name
  1398 compiler.warn.proc.type.already.exists=\
  1399     A file for type ''{0}'' already exists on the sourcepath or classpath
  1401 # 0: name
  1402 compiler.warn.proc.type.recreate=\
  1403     Attempt to create a file for type ''{0}'' multiple times
  1405 # 0: string
  1406 compiler.warn.proc.illegal.file.name=\
  1407     Cannot create file for illegal name ''{0}''.
  1409 # 0: string, 1: string
  1410 compiler.warn.proc.suspicious.class.name=\
  1411     Creating file for a type whose name ends in {1}: ''{0}''
  1413 # 0: name
  1414 compiler.warn.proc.file.create.last.round=\
  1415     File for type ''{0}'' created in the last round will not be subject to annotation processing.
  1417 # 0: string, 1: string
  1418 compiler.warn.proc.malformed.supported.string=\
  1419     Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
  1421 # 0: set of string
  1422 compiler.warn.proc.annotations.without.processors=\
  1423     No processor claimed any of these annotations: {0}
  1425 # 0: source version, 1: string, 2: string
  1426 compiler.warn.proc.processor.incompatible.source.version=\
  1427     Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
  1429 compiler.warn.proc.proc-only.requested.no.procs=\
  1430     Annotation processing without compilation requested but no processors were found.
  1432 compiler.warn.proc.use.implicit=\
  1433     Implicitly compiled files were not subject to annotation processing.\n\
  1434     Use -implicit to specify a policy for implicit compilation.
  1436 compiler.warn.proc.use.proc.or.implicit=\
  1437     Implicitly compiled files were not subject to annotation processing.\n\
  1438     Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
  1440 # Print a client-generated warning; assumed to be localized, no translation required
  1441 # 0: string
  1442 compiler.warn.proc.messager=\
  1443     {0}
  1445 # 0: set of name
  1446 compiler.warn.proc.unclosed.type.files=\
  1447     Unclosed files for the types ''{0}''; these types will not undergo annotation processing
  1449 # 0: string
  1450 compiler.warn.proc.unmatched.processor.options=\
  1451     The following options were not recognized by any processor: ''{0}''
  1453 compiler.warn.try.explicit.close.call=\
  1454     explicit call to close() on an auto-closeable resource
  1456 # 0: symbol
  1457 compiler.warn.try.resource.not.referenced=\
  1458     auto-closeable resource {0} is never referenced in body of corresponding try statement
  1460 # 0: type
  1461 compiler.warn.try.resource.throws.interrupted.exc=\
  1462     auto-closeable resource {0} has a member method close() that could throw InterruptedException
  1464 compiler.warn.unchecked.assign=\
  1465     unchecked assignment: {0} to {1}
  1467 # 0: symbol, 1: type
  1468 compiler.warn.unchecked.assign.to.var=\
  1469     unchecked assignment to variable {0} as member of raw type {1}
  1471 # 0: symbol, 1: type
  1472 compiler.warn.unchecked.call.mbr.of.raw.type=\
  1473     unchecked call to {0} as a member of the raw type {1}
  1475 compiler.warn.unchecked.cast.to.type=\
  1476     unchecked cast to type {0}
  1478 # 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol
  1479 compiler.warn.unchecked.meth.invocation.applied=\
  1480     unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
  1481     required: {2}\n\
  1482     found: {3}
  1484 # 0: type
  1485 compiler.warn.unchecked.generic.array.creation=\
  1486     unchecked generic array creation for varargs parameter of type {0}
  1488 # 0: type
  1489 compiler.warn.unchecked.varargs.non.reifiable.type=\
  1490     Possible heap pollution from parameterized vararg type {0}
  1492 # 0: symbol
  1493 compiler.warn.varargs.unsafe.use.varargs.param=\
  1494     Varargs method could cause heap pollution from non-reifiable varargs parameter {0}
  1496 compiler.warn.missing.deprecated.annotation=\
  1497     deprecated item is not annotated with @Deprecated
  1499 compiler.warn.invalid.archive.file=\
  1500     Unexpected file on path: {0}
  1502 compiler.warn.unexpected.archive.file=\
  1503     Unexpected extension for archive file: {0}
  1505 compiler.warn.div.zero=\
  1506     division by zero
  1508 compiler.warn.empty.if=\
  1509     empty statement after if
  1511 compiler.warn.annotation.method.not.found=\
  1512     Cannot find annotation method ''{1}()'' in type ''{0}''
  1514 compiler.warn.annotation.method.not.found.reason=\
  1515     Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
  1517 # 0: symbol, 1: name
  1518 compiler.warn.unknown.enum.constant=\
  1519     unknown enum constant {1}.{2}
  1521 # 0: symbol, 1: name, 2: message segment
  1522 compiler.warn.unknown.enum.constant.reason=\
  1523     unknown enum constant {1}.{2}\n\
  1524     reason: {3}
  1526 # 0: type, 1: type
  1527 compiler.warn.raw.class.use=\
  1528     found raw type: {0}\n\
  1529     missing type arguments for generic class {1}
  1531 # 0: unused, 1: unused
  1532 compiler.warn.diamond.redundant.args=\
  1533     redundant type arguments in new expression (use diamond operator instead).
  1535 # 0: type, 1: type
  1536 compiler.warn.diamond.redundant.args.1=\
  1537     redundant type arguments in new expression (use diamond operator instead).\n\
  1538     explicit: {0}\n\
  1539     inferred: {1}
  1541 # 0: symbol, 1: message segment
  1542 compiler.warn.varargs.redundant.trustme.anno=\
  1543     Redundant {0} annotation. {1}
  1545 #####
  1547 ## The following are tokens which are non-terminals in the language. They should
  1548 ## be named as JLS3 calls them when translated to the appropriate language.
  1549 compiler.misc.token.identifier=\
  1550     <identifier>
  1552 compiler.misc.token.character=\
  1553     <character>
  1555 compiler.misc.token.string=\
  1556     <string>
  1558 compiler.misc.token.integer=\
  1559     <integer>
  1561 compiler.misc.token.long-integer=\
  1562     <long integer>
  1564 compiler.misc.token.float=\
  1565     <float>
  1567 compiler.misc.token.double=\
  1568     <double>
  1570 compiler.misc.token.bad-symbol=\
  1571     <bad symbol>
  1573 compiler.misc.token.end-of-input=\
  1574     <end of input>
  1576 ## The argument to the following string will always be one of the following:
  1577 ## 1. one of the above non-terminals
  1578 ## 2. a keyword (JLS1.8)
  1579 ## 3. a boolean literal (JLS3.10.3)
  1580 ## 4. the null literal (JLS3.10.7)
  1581 ## 5. a Java separator (JLS3.11)
  1582 ## 6. an operator (JLS3.12)
  1583 ##
  1584 ## This is the only place these tokens will be used.
  1585 # 0: token
  1586 compiler.err.expected=\
  1587     {0} expected
  1589 # 0: token, 1: token
  1590 compiler.err.expected2=\
  1591     {0} or {1} expected
  1593 # 0: token, 1: token, 2: token
  1594 compiler.err.expected3=\
  1595     {0}, {1}, or {2} expected
  1597 compiler.err.premature.eof=\
  1598     reached end of file while parsing
  1600 ## The following are related in form, but do not easily fit the above paradigm.
  1601 compiler.err.dot.class.expected=\
  1602     ''.class'' expected
  1604 ## The argument to this string will always be either 'case' or 'default'.
  1605 # 0: token
  1606 compiler.err.orphaned=\
  1607     orphaned {0}
  1609 # 0: name
  1610 compiler.misc.anonymous.class=\
  1611     <anonymous {0}>
  1613 # 0: name, 1: type
  1614 compiler.misc.type.captureof=\
  1615     capture#{0} of {1}
  1617 compiler.misc.type.captureof.1=\
  1618     capture#{0}
  1620 compiler.misc.type.none=\
  1621     <none>
  1623 compiler.misc.unnamed.package=\
  1624     unnamed package
  1626 #####
  1628 # 0: symbol, 1: message segment
  1629 compiler.err.cant.access=\
  1630     cannot access {0}\n\
  1631     {1}
  1633 compiler.misc.bad.class.file.header=\
  1634     bad class file: {0}\n\
  1635     {1}\n\
  1636     Please remove or make sure it appears in the correct subdirectory of the classpath.
  1638 # 0: file name, 1: message segment
  1639 compiler.misc.bad.source.file.header=\
  1640     bad source file: {0}\n\
  1641     {1}\n\
  1642     Please remove or make sure it appears in the correct subdirectory of the sourcepath.
  1644 ## The following are all possible strings for the second argument ({1}) of the
  1645 ## above strings.
  1646 compiler.misc.bad.class.signature=\
  1647     bad class signature: {0}
  1649 #0: symbol, 1: symbol
  1650 compiler.misc.bad.enclosing.class=\
  1651     bad enclosing class for {0}: {1}
  1653 # 0: symbol
  1654 compiler.misc.bad.enclosing.method=\
  1655     bad enclosing method attribute for class {0}
  1657 compiler.misc.bad.runtime.invisible.param.annotations=\
  1658     bad RuntimeInvisibleParameterAnnotations attribute: {0}
  1660 compiler.misc.bad.const.pool.tag=\
  1661     bad constant pool tag: {0}
  1663 compiler.misc.bad.const.pool.tag.at=\
  1664     bad constant pool tag: {0} at {1}
  1666 compiler.misc.bad.signature=\
  1667     bad signature: {0}
  1669 compiler.misc.class.file.wrong.class=\
  1670     class file contains wrong class: {0}
  1672 compiler.misc.class.file.not.found=\
  1673     class file for {0} not found
  1675 # 0: name
  1676 compiler.misc.file.doesnt.contain.class=\
  1677     file does not contain class {0}
  1679 compiler.misc.file.does.not.contain.package=\
  1680     file does not contain package {0}
  1682 compiler.misc.illegal.start.of.class.file=\
  1683     illegal start of class file
  1685 compiler.misc.unable.to.access.file=\
  1686     unable to access file: {0}
  1688 compiler.misc.unicode.str.not.supported=\
  1689     unicode string in class file not supported
  1691 compiler.misc.undecl.type.var=\
  1692     undeclared type variable: {0}
  1694 compiler.misc.wrong.version=\
  1695     class file has wrong version {0}.{1}, should be {2}.{3}
  1697 #####
  1699 # 0: type, 1: type or symbol
  1700 compiler.err.not.within.bounds=\
  1701     type argument {0} is not within bounds of type-variable {1}
  1703 ## The following are all possible strings for the second argument ({1}) of the
  1704 ## above string.
  1706 ## none yet...
  1708 #####
  1710 # 0: message segment
  1711 compiler.err.prob.found.req=\
  1712     incompatible types: {0}
  1714 # 0: message segment, 1: type, 2: type
  1715 compiler.warn.prob.found.req=\
  1716     {0}\n\
  1717     required: {2}\n\
  1718     found:    {1}
  1720 # 0: type, 1: type
  1721 compiler.misc.inconvertible.types=\
  1722     {0} cannot be converted to {1}
  1724 # 0: type, 1: type
  1725 compiler.misc.possible.loss.of.precision=\
  1726     possible lossy conversion from {0} to {1}
  1728 compiler.misc.unchecked.assign=\
  1729     unchecked conversion
  1731 # compiler.misc.storecheck=\
  1732 #     assignment might cause later store checks to fail
  1733 # compiler.misc.unchecked=\
  1734 #     assigned array cannot dynamically check its stores
  1735 compiler.misc.unchecked.cast.to.type=\
  1736     unchecked cast
  1738 # compiler.err.star.expected=\
  1739 #     ''*'' expected
  1740 # compiler.err.no.elem.type=\
  1741 #     \[\*\] cannot have a type
  1743 # 0: type
  1744 compiler.misc.try.not.applicable.to.type=\
  1745     try-with-resources not applicable to variable type\n\
  1746     ({0})
  1748 #####
  1750 # 0: message segment or type, 1: message segment
  1751 compiler.err.type.found.req=\
  1752     unexpected type\n\
  1753     required: {1}\n\
  1754     found:    {0}
  1756 ## The following are all possible strings for the first argument ({0}) of the
  1757 ## above string.
  1758 compiler.misc.type.req.class=\
  1759     class
  1761 compiler.misc.type.req.class.array=\
  1762     class or array
  1764 compiler.misc.type.req.array.or.iterable=\
  1765     array or java.lang.Iterable
  1767 compiler.misc.type.req.ref=\
  1768     reference
  1770 compiler.misc.type.req.exact=\
  1771     class or interface without bounds
  1773 # 0: type
  1774 compiler.misc.type.parameter=\
  1775     type parameter {0}
  1777 #####
  1779 ## The following are all possible strings for the last argument of all those
  1780 ## diagnostics whose key ends in ".1"
  1782 # 0: type, 1: list of type
  1783 compiler.misc.no.unique.maximal.instance.exists=\
  1784     no unique maximal instance exists for type variable {0} with upper bounds {1}
  1786 compiler.misc.no.unique.minimal.instance.exists=\
  1787     no unique minimal instance exists for type variable {0} with lower bounds {1}
  1789 # 0: type, 1: list of type
  1790 compiler.misc.incompatible.upper.bounds=\
  1791     inference variable {0} has incompatible upper bounds {1}
  1793 # 0: type, 1: list of type, 2: list of type
  1794 compiler.misc.incompatible.eq.upper.bounds=\
  1795     inference variable {0} has incompatible bounds\n\
  1796     equality constraints: {1}\n\
  1797     upper bounds: {2}
  1799 # 0: type, 1: list of type, 2: list of type
  1800 compiler.misc.incompatible.eq.lower.bounds=\
  1801     inference variable {0} has incompatible bounds\n\
  1802     equality constraints: {1}\n\
  1803     lower bounds: {2}
  1805 # 0: list of type, 1: type, 2: type
  1806 compiler.misc.infer.no.conforming.instance.exists=\
  1807     no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
  1809 # 0: list of type, 1: message segment
  1810 compiler.misc.infer.no.conforming.assignment.exists=\
  1811     cannot infer type-variable(s) {0}\n\
  1812     (argument mismatch; {1})
  1814 # 0: list of type
  1815 compiler.misc.infer.arg.length.mismatch=\
  1816     cannot infer type-variable(s) {0}\n\
  1817     (actual and formal argument lists differ in length)
  1819 # 0: list of type, 1: message segment
  1820 compiler.misc.infer.varargs.argument.mismatch=\
  1821     cannot infer type-variable(s) {0}\n\
  1822     (varargs mismatch; {1})
  1824 # 0: type, 1: list of type
  1825 compiler.misc.inferred.do.not.conform.to.upper.bounds=\
  1826     inferred type does not conform to upper bound(s)\n\
  1827     inferred: {0}\n\
  1828     upper bound(s): {1}
  1830 # 0: type, 1: list of type
  1831 compiler.misc.inferred.do.not.conform.to.lower.bounds=\
  1832     inferred type does not conform to lower bound(s)\n\
  1833     inferred: {0}\n\
  1834     lower bound(s): {1}
  1836 # 0: type, 1: list of type
  1837 compiler.misc.inferred.do.not.conform.to.eq.bounds=\
  1838     inferred type does not conform to equality constraint(s)\n\
  1839     inferred: {0}\n\
  1840     equality constraints(s): {1}
  1842 # 0: list of type
  1843 compiler.misc.cyclic.inference=\
  1844     Cannot instantiate inference variables {0} because of an inference loop
  1846 # 0: symbol
  1847 compiler.misc.diamond=\
  1848     {0}<>
  1850 # 0: type
  1851 compiler.misc.diamond.non.generic=\
  1852     cannot use ''<>'' with non-generic class {0}
  1854 # 0: unused
  1855 compiler.misc.diamond.and.explicit.params=\
  1856     cannot use ''<>'' with explicit type parameters for constructor
  1858 # 0: type, 1: list of type
  1859 compiler.misc.explicit.param.do.not.conform.to.bounds=\
  1860     explicit type argument {0} does not conform to declared bound(s) {1}
  1862 compiler.misc.arg.length.mismatch=\
  1863     actual and formal argument lists differ in length
  1865 # 0: message segment
  1866 compiler.misc.no.conforming.assignment.exists=\
  1867     argument mismatch; {0}
  1869 # 0: message segment
  1870 compiler.misc.varargs.argument.mismatch=\
  1871     varargs mismatch; {0}
  1873 #####
  1875 # 0: type, 1: file name
  1876 compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\
  1877     auxiliary class {0} in {1} should not be accessed from outside its own source file
  1880 ## The first argument ({0}) is a "kindname".
  1881 # 0: symbol kind, 1: symbol, 2: symbol
  1882 compiler.err.abstract.cant.be.accessed.directly=\
  1883     abstract {0} {1} in {2} cannot be accessed directly
  1885 ## The first argument ({0}) is a "kindname".
  1886 # 0: symbol kind, 1: symbol
  1887 compiler.err.non-static.cant.be.ref=\
  1888     non-static {0} {1} cannot be referenced from a static context
  1890 # 0: symbol kind, 1: symbol
  1891 compiler.misc.non-static.cant.be.ref=\
  1892     non-static {0} {1} cannot be referenced from a static context
  1894 ## Both arguments ({0}, {1}) are "kindname"s.  {0} is a comma-separated list
  1895 ## of kindnames (the list should be identical to that provided in source.
  1896 compiler.err.unexpected.type=\
  1897     unexpected type\n\
  1898     required: {0}\n\
  1899     found:    {1}
  1901 compiler.err.unexpected.lambda=\
  1902    lambda expression not expected here
  1904 compiler.err.unexpected.mref=\
  1905    method reference not expected here
  1907 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.)
  1908 ## The second argument {1} is the non-resolved symbol
  1909 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method)
  1910 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method)
  1911 # 0: symbol kind, 1: name, 2: unused, 3: unused
  1912 compiler.err.cant.resolve=\
  1913     cannot find symbol\n\
  1914     symbol: {0} {1}
  1916 # 0: symbol kind, 1: name, 2: unused, 3: list of type
  1917 compiler.err.cant.resolve.args=\
  1918     cannot find symbol\n\
  1919     symbol: {0} {1}({3})
  1921 # 0: symbol kind, 1: name, 2: list of type, 3: list of type
  1922 compiler.err.cant.resolve.args.params=\
  1923     cannot find symbol\n\
  1924     symbol: {0} <{2}>{1}({3})
  1926 ## arguments from {0} to {3} have the same meaning as above
  1927 ## The fifth argument {4} is a location subdiagnostic (see below)
  1928 # 0: symbol kind, 1: name, 2: unused, 3: unused, 4: message segment
  1929 compiler.err.cant.resolve.location=\
  1930     cannot find symbol\n\
  1931     symbol:   {0} {1}\n\
  1932     location: {4}
  1934 # 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
  1935 compiler.err.cant.resolve.location.args=\
  1936     cannot find symbol\n\
  1937     symbol:   {0} {1}({3})\n\
  1938     location: {4}
  1940 # 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
  1941 compiler.err.cant.resolve.location.args.params=\
  1942     cannot find symbol\n\
  1943     symbol:   {0} <{2}>{1}({3})\n\
  1944     location: {4}
  1946 ### Following are replicated/used for method reference diagnostics
  1948 # 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
  1949 compiler.misc.cant.resolve.location.args=\
  1950     cannot find symbol\n\
  1951     symbol:   {0} {1}({3})\n\
  1952     location: {4}
  1954 # 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
  1955 compiler.misc.cant.resolve.location.args.params=\
  1956     cannot find symbol\n\
  1957     symbol:   {0} <{2}>{1}({3})\n\
  1958     location: {4}
  1960 ##a location subdiagnostic is composed as follows:
  1961 ## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.)
  1962 ## The second argument {1} is the location name
  1963 ## The third argument {2} is the location type (only when {1} is a variable name)
  1965 # 0: symbol kind, 1: type or symbol, 2: unused
  1966 compiler.misc.location=\
  1967     {0} {1}
  1969 # 0: symbol kind, 1: symbol, 2: type
  1970 compiler.misc.location.1=\
  1971     {0} {1} of type {2}
  1973 ## The following are all possible string for "kindname".
  1974 ## They should be called whatever the JLS calls them after it been translated
  1975 ## to the appropriate language.
  1976 # compiler.misc.kindname.constructor=\
  1977 #     static member
  1978 compiler.misc.kindname.annotation=\
  1979     @interface
  1981 compiler.misc.kindname.constructor=\
  1982     constructor
  1984 compiler.misc.kindname.enum=\
  1985     enum
  1987 compiler.misc.kindname.interface=\
  1988     interface
  1990 compiler.misc.kindname.static=\
  1991     static
  1993 compiler.misc.kindname.type.variable=\
  1994     type variable
  1996 compiler.misc.kindname.type.variable.bound=\
  1997     bound of type variable
  1999 compiler.misc.kindname.variable=\
  2000     variable
  2002 compiler.misc.kindname.value=\
  2003     value
  2005 compiler.misc.kindname.method=\
  2006     method
  2008 compiler.misc.kindname.class=\
  2009     class
  2011 compiler.misc.kindname.package=\
  2012     package
  2014 compiler.misc.kindname.static.init=\
  2015     static initializer
  2017 compiler.misc.kindname.instance.init=\
  2018     instance initializer
  2020 #####
  2022 compiler.misc.no.args=\
  2023     no arguments
  2025 # 0: message segment
  2026 compiler.err.override.static=\
  2027     {0}\n\
  2028     overriding method is static
  2030 # 0: message segment, 1: set of modifier
  2031 compiler.err.override.meth=\
  2032     {0}\n\
  2033     overridden method is {1}
  2035 # 0: message segment, 1: type
  2036 compiler.err.override.meth.doesnt.throw=\
  2037     {0}\n\
  2038     overridden method does not throw {1}
  2040 # In the following string {1} is a space separated list of Java Keywords, as
  2041 # they would have been declared in the source code
  2042 # 0: message segment, 1: set of modifier
  2043 compiler.err.override.weaker.access=\
  2044     {0}\n\
  2045     attempting to assign weaker access privileges; was {1}
  2047 # 0: message segment, 1: type, 2: type
  2048 compiler.err.override.incompatible.ret=\
  2049     {0}\n\
  2050     return type {1} is not compatible with {2}
  2052 # 0: message segment, 1: type, 2: type
  2053 compiler.warn.override.unchecked.ret=\
  2054     {0}\n\
  2055     return type requires unchecked conversion from {1} to {2}
  2057 # 0: message segment, 1: type
  2058 compiler.warn.override.unchecked.thrown=\
  2059     {0}\n\
  2060     overridden method does not throw {1}
  2062 ## The following are all possible strings for the first argument ({0}) of the
  2063 ## above strings.
  2064 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2065 compiler.misc.cant.override=\
  2066     {0} in {1} cannot override {2} in {3}
  2068 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2069 compiler.misc.cant.implement=\
  2070     {0} in {1} cannot implement {2} in {3}
  2072 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2073 compiler.misc.clashes.with=\
  2074     {0} in {1} clashes with {2} in {3}
  2076 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2077 compiler.misc.unchecked.override=\
  2078     {0} in {1} overrides {2} in {3}
  2080 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2081 compiler.misc.unchecked.implement=\
  2082     {0} in {1} implements {2} in {3}
  2084 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2085 compiler.misc.unchecked.clash.with=\
  2086     {0} in {1} overrides {2} in {3}
  2088 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2089 compiler.misc.varargs.override=\
  2090     {0} in {1} overrides {2} in {3}
  2092 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2093 compiler.misc.varargs.implement=\
  2094     {0} in {1} implements {2} in {3}
  2096 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  2097 compiler.misc.varargs.clash.with=\
  2098     {0} in {1} overrides {2} in {3}
  2100 # 0: unused
  2101 compiler.misc.diamond.and.anon.class=\
  2102     cannot use ''<>'' with anonymous inner classes
  2104 # 0: symbol kind, 1: symbol, 2: symbol, 3: message segment
  2105 compiler.misc.inapplicable.method=\
  2106     {0} {1}.{2} is not applicable\n\
  2107     ({3})
  2109 ########################################
  2110 # Diagnostics for language feature changes
  2111 ########################################
  2112 # 0: string
  2113 compiler.err.unsupported.fp.lit=\
  2114     hexadecimal floating point literals are not supported in -source {0}\n\
  2115     (use -source 5 or higher to enable hexadecimal floating point literals)
  2117 # 0: string
  2118 compiler.err.unsupported.binary.lit=\
  2119     binary literals are not supported in -source {0}\n\
  2120     (use -source 7 or higher to enable binary literals)
  2122 # 0: string
  2123 compiler.err.unsupported.underscore.lit=\
  2124     underscores in literals are not supported in -source {0}\n\
  2125     (use -source 7 or higher to enable underscores in literals)
  2127 # 0: string
  2128 compiler.err.try.with.resources.not.supported.in.source=\
  2129     try-with-resources is not supported in -source {0}\n\
  2130     (use -source 7 or higher to enable try-with-resources)
  2132 compiler.warn.enum.as.identifier=\
  2133     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
  2134     (use -source 5 or higher to use ''enum'' as a keyword)
  2136 compiler.warn.assert.as.identifier=\
  2137     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
  2138     (use -source 1.4 or higher to use ''assert'' as a keyword)
  2140 compiler.warn.underscore.as.identifier=\
  2141     ''_'' used as an identifier\n\
  2142     (use of ''_'' as an identifier might not be supported in future releases)
  2144 compiler.err.enum.as.identifier=\
  2145     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
  2146     (use -source 1.4 or lower to use ''enum'' as an identifier)
  2148 compiler.err.assert.as.identifier=\
  2149     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
  2150     (use -source 1.3 or lower to use ''assert'' as an identifier)
  2152 # 0: string
  2153 compiler.err.generics.not.supported.in.source=\
  2154     generics are not supported in -source {0}\n\
  2155     (use -source 5 or higher to enable generics)
  2157 # 0: string
  2158 compiler.err.varargs.not.supported.in.source=\
  2159     variable-arity methods are not supported in -source {0}\n\
  2160     (use -source 5 or higher to enable variable-arity methods)
  2162 # 0: string
  2163 compiler.err.annotations.not.supported.in.source=\
  2164     annotations are not supported in -source {0}\n\
  2165     (use -source 5 or higher to enable annotations)
  2167 #308 compiler.err.type.annotations.not.supported.in.source=\
  2168 #308     type annotations are not supported in -source {0}\n\
  2169 #308 (use -source 7 or higher to enable type annotations)
  2171 # 0: string
  2172 compiler.err.foreach.not.supported.in.source=\
  2173     for-each loops are not supported in -source {0}\n\
  2174     (use -source 5 or higher to enable for-each loops)
  2176 # 0: string
  2177 compiler.err.static.import.not.supported.in.source=\
  2178     static import declarations are not supported in -source {0}\n\
  2179     (use -source 5 or higher to enable static import declarations)
  2181 # 0: string
  2182 compiler.err.enums.not.supported.in.source=\
  2183     enums are not supported in -source {0}\n\
  2184     (use -source 5 or higher to enable enums)
  2186 # 0: string
  2187 compiler.err.diamond.not.supported.in.source=\
  2188     diamond operator is not supported in -source {0}\n\
  2189     (use -source 7 or higher to enable diamond operator)
  2191 # 0: string
  2192 compiler.err.multicatch.not.supported.in.source=\
  2193     multi-catch statement is not supported in -source {0}\n\
  2194     (use -source 7 or higher to enable multi-catch statement)
  2196 # 0: string
  2197 compiler.err.string.switch.not.supported.in.source=\
  2198     strings in switch are not supported in -source {0}\n\
  2199     (use -source 7 or higher to enable strings in switch)
  2201 # 0: string
  2202 compiler.err.lambda.not.supported.in.source=\
  2203     lambda expressions are not supported in -source {0}\n\
  2204     (use -source 8 or higher to enable lambda expressions)
  2206 # 0: string
  2207 compiler.err.method.references.not.supported.in.source=\
  2208     method references are not supported in -source {0}\n\
  2209     (use -source 8 or higher to enable method references)
  2211 # 0: string
  2212 compiler.err.default.methods.not.supported.in.source=\
  2213     default methods are not supported in -source {0}\n\
  2214     (use -source 8 or higher to enable default methods)
  2216 # 0: string
  2217 compiler.err.intersection.types.in.cast.not.supported.in.source=\
  2218     intersection types in cast are not supported in -source {0}\n\
  2219     (use -source 8 or higher to enable default methods)
  2221 # 0: string
  2222 compiler.err.static.intf.methods.not.supported.in.source=\
  2223     static interface methods are not supported in -source {0}\n\
  2224     (use -source 8 or higher to enable static interface methods)
  2226 ########################################
  2227 # Diagnostics for verbose resolution
  2228 # used by Resolve (debug only)
  2229 ########################################
  2231 # 0: number, 1: symbol, 2: unused
  2232 compiler.misc.applicable.method.found=\
  2233     #{0} applicable method found: {1}
  2235 # 0: number, 1: symbol, 2: message segment
  2236 compiler.misc.applicable.method.found.1=\
  2237     #{0} applicable method found: {1}\n\
  2238     ({2})
  2240 # 0: number, 1: symbol, 2: message segment
  2241 compiler.misc.not.applicable.method.found=\
  2242     #{0} not applicable method found: {1}\n\
  2243     ({2})
  2245 # 0: type
  2246 compiler.misc.partial.inst.sig=\
  2247     partially instantiated to: {0}
  2249 # 0: name, 1: symbol, 2: number, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment
  2250 compiler.note.verbose.resolve.multi=\
  2251     resolving method {0} in type {1} to candidate {2}\n\
  2252     phase: {3}\n\
  2253     with actuals: {4}\n\
  2254     with type-args: {5}\n\
  2255     candidates:
  2257 # 0: name, 1: symbol, 2: unused, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment
  2258 compiler.note.verbose.resolve.multi.1=\
  2259     erroneous resolution for method {0} in type {1}\n\
  2260     phase: {3}\n\
  2261     with actuals: {4}\n\
  2262     with type-args: {5}\n\
  2263     candidates:
  2265 # 0: symbol, 1: type, 2: type
  2266 compiler.note.deferred.method.inst=\
  2267     Deferred instantiation of method {0}\n\
  2268     instantiated signature: {1}\n\
  2269     target-type: {2}
  2271 ########################################
  2272 # Diagnostics for where clause implementation
  2273 # used by the RichDiagnosticFormatter.
  2274 ########################################
  2276 compiler.misc.type.null=\
  2277     <null>
  2279 # X#n (where n is an int id) is disambiguated tvar name
  2280 # 0: name, 1: number
  2281 compiler.misc.type.var=\
  2282     {0}#{1}
  2284 # CAP#n (where n is an int id) is an abbreviation for 'captured type'
  2285 # 0: number
  2286 compiler.misc.captured.type=\
  2287     CAP#{0}
  2289 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
  2290 # 0: number
  2291 compiler.misc.intersection.type=\
  2292     INT#{0}
  2294 # where clause for captured type: contains upper ('extends {1}') and lower
  2295 # ('super {2}') bound along with the wildcard that generated this captured type ({3})
  2296 # 0: type, 1: type, 2: type, 3: type
  2297 compiler.misc.where.captured=\
  2298     {0} extends {1} super: {2} from capture of {3}
  2300 # compact where clause for captured type: contains upper ('extends {1}') along
  2301 # with the wildcard that generated this captured type ({3})
  2302 # 0: type, 1: type, 2: unused, 3: type
  2303 compiler.misc.where.captured.1=\
  2304     {0} extends {1} from capture of {3}
  2306 # where clause for type variable: contains upper bound(s) ('extends {1}') along with
  2307 # the kindname ({2}) and location ({3}) in which the typevar has been declared
  2308 # 0: type, 1: list of type, 2: symbol kind, 3: symbol
  2309 compiler.misc.where.typevar=\
  2310     {0} extends {1} declared in {2} {3}
  2312 # compact where clause for type variable: contains the kindname ({2}) and location ({3})
  2313 # in which the typevar has been declared
  2314 # 0: type, 1: list of type, 2: symbol kind, 3: symbol
  2315 compiler.misc.where.typevar.1=\
  2316     {0} declared in {2} {3}
  2318 # where clause for fresh type variable: contains upper bound(s) ('extends {1}').
  2319 # Since a fresh type-variable is synthetic - there's no location/kindname here.
  2320 # 0: type, 1: list of type
  2321 compiler.misc.where.fresh.typevar=\
  2322     {0} extends {1}
  2324 # where clause for type variable: contains all the upper bound(s) ('extends {1}')
  2325 # of this intersection type
  2326 # 0: type, 1: list of type
  2327 compiler.misc.where.intersection=\
  2328     {0} extends {1}
  2330 ### Where clause headers ###
  2331 compiler.misc.where.description.captured=\
  2332     where {0} is a fresh type-variable:
  2334 # 0: set of type
  2335 compiler.misc.where.description.typevar=\
  2336     where {0} is a type-variable:
  2338 # 0: set of type
  2339 compiler.misc.where.description.intersection=\
  2340     where {0} is an intersection type:
  2342 # 0: set of type
  2343 compiler.misc.where.description.captured.1=\
  2344     where {0} are fresh type-variables:
  2346 # 0: set of type
  2347 compiler.misc.where.description.typevar.1=\
  2348     where {0} are type-variables:
  2350 compiler.misc.where.description.intersection.1=\
  2351     where {0} are intersection types:
  2353 ###
  2354 # errors related to doc comments
  2356 compiler.err.dc.bad.entity=\
  2357     bad HTML entity
  2359 compiler.err.dc.bad.gt=\
  2360     bad use of ''>''
  2362 compiler.err.dc.bad.inline.tag=\
  2363     incorrect use of inline tag
  2365 compiler.err.dc.identifier.expected=\
  2366     identifier expected
  2368 compiler.err.dc.malformed.html=\
  2369     malformed HTML
  2371 compiler.err.dc.missing.semicolon=\
  2372     semicolon missing
  2374 compiler.err.dc.no.content=\
  2375     no content
  2377 compiler.err.dc.no.tag.name=\
  2378     no tag name after '@'
  2380 compiler.err.dc.gt.expected=\
  2381     ''>'' expected
  2383 compiler.err.dc.ref.bad.parens=\
  2384     '')'' missing in reference
  2386 compiler.err.dc.ref.syntax.error=\
  2387     syntax error in reference
  2389 compiler.err.dc.ref.unexpected.input=\
  2390     unexpected text
  2392 compiler.err.dc.unexpected.content=\
  2393     unexpected content
  2395 compiler.err.dc.unterminated.inline.tag=\
  2396     unterminated inline tag
  2398 compiler.err.dc.unterminated.signature=\
  2399     unterminated signature
  2401 compiler.err.dc.unterminated.string=\
  2402     unterminated string

mercurial