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

changeset 0
959103a6100f
child 2525
2eb010b6cb22
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Wed Apr 27 01:34:52 2016 +0800
     1.3 @@ -0,0 +1,2576 @@
     1.4 +#
     1.5 +# Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     1.6 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 +#
     1.8 +# This code is free software; you can redistribute it and/or modify it
     1.9 +# under the terms of the GNU General Public License version 2 only, as
    1.10 +# published by the Free Software Foundation.  Oracle designates this
    1.11 +# particular file as subject to the "Classpath" exception as provided
    1.12 +# by Oracle in the LICENSE file that accompanied this code.
    1.13 +#
    1.14 +# This code is distributed in the hope that it will be useful, but WITHOUT
    1.15 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.16 +# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.17 +# version 2 for more details (a copy is included in the LICENSE file that
    1.18 +# accompanied this code).
    1.19 +#
    1.20 +# You should have received a copy of the GNU General Public License version
    1.21 +# 2 along with this work; if not, write to the Free Software Foundation,
    1.22 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.23 +#
    1.24 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.25 +# or visit www.oracle.com if you need additional information or have any
    1.26 +# questions.
    1.27 +#
    1.28 +
    1.29 +# Messages in this file which use "placeholders" for values (e.g. {0}, {1})
    1.30 +# are preceded by a stylized comment describing the type of the corresponding
    1.31 +# values.
    1.32 +# The types currently in use are
    1.33 +#
    1.34 +# boolean           true or false
    1.35 +# file name         the name of an input file; e.g.   MyFile.java
    1.36 +# message segment   a sub-message; see compiler.misc.*
    1.37 +# modifier          a Java modifier; e.g. public, private, protected
    1.38 +# name              a name, typically a Java identifier
    1.39 +# number            an integer
    1.40 +# option name       the name of a command line option
    1.41 +# source version    a source version number, such as 1.5, 1.6, 1.7
    1.42 +# string            a general string
    1.43 +# symbol            the name of a declared type
    1.44 +# symbol kind       a description of the kind of a declaration; see compiler.misc.kindname.*
    1.45 +# token             the name of a non-terminal in source code; see compiler.misc.token.*
    1.46 +# type              a Java type; e.g. int, X, X<T>
    1.47 +# unused            the value is not used in this message
    1.48 +#
    1.49 +# list of X         a comma-separated list of items; e.g. list of type
    1.50 +# X or Y            alternation; e.g. message segment or type
    1.51 +# set of X          a comma-separated collection of items; e.g. set of modifier
    1.52 +#
    1.53 +# These may be composed: e.g.   list of type or message segment
    1.54 +#
    1.55 +# These comments are verified by the jtreg test test/tools/javac/diags/MessageInfo,
    1.56 +# using info derived from the collected set of examples in test/tools/javac/diags/examples.
    1.57 +# MessageInfo can also be run as a standalone utility providing more facilities
    1.58 +# for manipulating this file. For more details, see MessageInfo.java.
    1.59 +
    1.60 +##
    1.61 +## errors
    1.62 +##
    1.63 +
    1.64 +# 0: symbol
    1.65 +compiler.err.abstract.cant.be.instantiated=\
    1.66 +    {0} is abstract; cannot be instantiated
    1.67 +
    1.68 +compiler.err.abstract.meth.cant.have.body=\
    1.69 +    abstract methods cannot have a body
    1.70 +
    1.71 +compiler.err.already.annotated=\
    1.72 +    {0} {1} has already been annotated
    1.73 +
    1.74 +# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol
    1.75 +compiler.err.already.defined=\
    1.76 +    {0} {1} is already defined in {2} {3}
    1.77 +
    1.78 +# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol kind, 4: symbol
    1.79 +compiler.err.already.defined.in.clinit=\
    1.80 +    {0} {1} is already defined in {2} of {3} {4}
    1.81 +
    1.82 +# 0: string
    1.83 +compiler.err.already.defined.single.import=\
    1.84 +    a type with the same simple name is already defined by the single-type-import of {0}
    1.85 +
    1.86 +# 0: string
    1.87 +compiler.err.already.defined.static.single.import=\
    1.88 +    a type with the same simple name is already defined by the static single-type-import of {0}
    1.89 +
    1.90 +compiler.err.already.defined.this.unit=\
    1.91 +    {0} is already defined in this compilation unit
    1.92 +
    1.93 +# 0: type, 1: list of name
    1.94 +compiler.err.annotation.missing.default.value=\
    1.95 +    annotation @{0} is missing a default value for the element ''{1}''
    1.96 +
    1.97 +# 0: type, 1: list of name
    1.98 +compiler.err.annotation.missing.default.value.1=\
    1.99 +    annotation @{0} is missing default values for elements {1}
   1.100 +
   1.101 +# 0: type
   1.102 +compiler.err.annotation.not.valid.for.type=\
   1.103 +    annotation not valid for an element of type {0}
   1.104 +
   1.105 +compiler.err.annotation.type.not.applicable=\
   1.106 +    annotation type not applicable to this kind of declaration
   1.107 +
   1.108 +compiler.err.annotation.value.must.be.annotation=\
   1.109 +    annotation value must be an annotation
   1.110 +
   1.111 +compiler.err.annotation.value.must.be.class.literal=\
   1.112 +    annotation value must be a class literal
   1.113 +
   1.114 +compiler.err.annotation.value.must.be.name.value=\
   1.115 +    annotation values must be of the form ''name=value''
   1.116 +
   1.117 +compiler.err.annotation.value.not.allowable.type=\
   1.118 +    annotation value not of an allowable type
   1.119 +
   1.120 +compiler.err.anon.class.impl.intf.no.args=\
   1.121 +    anonymous class implements interface; cannot have arguments
   1.122 +
   1.123 +compiler.err.anon.class.impl.intf.no.typeargs=\
   1.124 +    anonymous class implements interface; cannot have type arguments
   1.125 +
   1.126 +compiler.err.anon.class.impl.intf.no.qual.for.new=\
   1.127 +    anonymous class implements interface; cannot have qualifier for new
   1.128 +
   1.129 +compiler.err.cant.inherit.from.anon=\
   1.130 +    cannot inherit from anonymous class
   1.131 +
   1.132 +# 0: symbol, 1: symbol, 2: symbol
   1.133 +compiler.err.array.and.varargs=\
   1.134 +    cannot declare both {0} and {1} in {2}
   1.135 +
   1.136 +compiler.err.array.dimension.missing=\
   1.137 +    array dimension missing
   1.138 +
   1.139 +# 0: type
   1.140 +compiler.err.array.req.but.found=\
   1.141 +    array required, but {0} found
   1.142 +
   1.143 +compiler.err.attribute.value.must.be.constant=\
   1.144 +    element value must be a constant expression
   1.145 +
   1.146 +# 0: statement type
   1.147 +compiler.err.bad.initializer=\
   1.148 +    bad initializer for {0}
   1.149 +
   1.150 +compiler.err.break.outside.switch.loop=\
   1.151 +    break outside switch or loop
   1.152 +
   1.153 +# 0: name
   1.154 +compiler.err.call.must.be.first.stmt.in.ctor=\
   1.155 +    call to {0} must be first statement in constructor
   1.156 +
   1.157 +# 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
   1.158 +compiler.err.cant.apply.symbol=\
   1.159 +    {0} {1} in {4} {5} cannot be applied to given types;\n\
   1.160 +    required: {2}\n\
   1.161 +    found: {3}\n\
   1.162 +    reason: {6}
   1.163 +
   1.164 +# 0: symbol kind, 1: name, 2: list of type
   1.165 +compiler.err.cant.apply.symbols=\
   1.166 +    no suitable {0} found for {1}({2})
   1.167 +
   1.168 +# 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
   1.169 +compiler.misc.cant.apply.symbol=\
   1.170 +    {0} {1} in {4} {5} cannot be applied to given types\n\
   1.171 +    required: {2}\n\
   1.172 +    found: {3}\n\
   1.173 +    reason: {6}
   1.174 +
   1.175 +# 0: symbol kind, 1: name, 2: list of type
   1.176 +compiler.misc.cant.apply.symbols=\
   1.177 +    no suitable {0} found for {1}({2})
   1.178 +
   1.179 +# 0: symbol kind, 1: symbol
   1.180 +compiler.misc.no.abstracts=\
   1.181 +    no abstract method found in {0} {1}
   1.182 +
   1.183 +# 0: symbol kind, 1: symbol
   1.184 +compiler.misc.incompatible.abstracts=\
   1.185 +    multiple non-overriding abstract methods found in {0} {1}
   1.186 +
   1.187 +compiler.err.bad.functional.intf.anno=\
   1.188 +    Unexpected @FunctionalInterface annotation
   1.189 +
   1.190 +# 0: message segment
   1.191 +compiler.err.bad.functional.intf.anno.1=\
   1.192 +    Unexpected @FunctionalInterface annotation\n\
   1.193 +    {0}
   1.194 +
   1.195 +# 0: symbol
   1.196 +compiler.misc.not.a.functional.intf=\
   1.197 +    {0} is not a functional interface
   1.198 +
   1.199 +# 0: symbol, 1: message segment
   1.200 +compiler.misc.not.a.functional.intf.1=\
   1.201 +    {0} is not a functional interface\n\
   1.202 +    {1}
   1.203 +
   1.204 +# 0: symbol, 1: symbol kind, 2: symbol
   1.205 +compiler.misc.invalid.generic.lambda.target=\
   1.206 +    invalid functional descriptor for lambda expression\n\
   1.207 +    method {0} in {1} {2} is generic
   1.208 +
   1.209 +# 0: symbol kind, 1: symbol
   1.210 +compiler.misc.incompatible.descs.in.functional.intf=\
   1.211 +    incompatible function descriptors found in {0} {1}
   1.212 +
   1.213 +# 0: name, 1: list of type, 2: type, 3: list of type
   1.214 +compiler.misc.descriptor=\
   1.215 +    descriptor: {2} {0}({1})
   1.216 +
   1.217 +# 0: name, 1: list of type, 2: type, 3: list of type
   1.218 +compiler.misc.descriptor.throws=\
   1.219 +    descriptor: {2} {0}({1}) throws {3}
   1.220 +
   1.221 +# 0: type
   1.222 +compiler.misc.no.suitable.functional.intf.inst=\
   1.223 +    cannot infer functional interface descriptor for {0}
   1.224 +
   1.225 +# 0: message segment
   1.226 +compiler.misc.bad.intersection.target.for.functional.expr=\
   1.227 +    bad intersection type target for lambda or method reference\n\
   1.228 +    {0}
   1.229 +
   1.230 +# 0: symbol or type
   1.231 +compiler.misc.not.an.intf.component=\
   1.232 +    component type {0} is not an interface
   1.233 +
   1.234 +# 0: symbol kind, 1: message segment
   1.235 +compiler.err.invalid.mref=\
   1.236 +    invalid {0} reference\n\
   1.237 +    {1}
   1.238 +
   1.239 +# 0: symbol kind, 1: message segment
   1.240 +compiler.misc.invalid.mref=\
   1.241 +    invalid {0} reference\n\
   1.242 +    {1}
   1.243 +
   1.244 +compiler.misc.static.mref.with.targs=\
   1.245 +    parameterized qualifier on static method reference
   1.246 +
   1.247 +compiler.misc.static.bound.mref=\
   1.248 +    static bound method reference
   1.249 +
   1.250 +# 0: symbol
   1.251 +compiler.err.cant.assign.val.to.final.var=\
   1.252 +    cannot assign a value to final variable {0}
   1.253 +
   1.254 +# 0: symbol, 1: message segment
   1.255 +compiler.err.cant.ref.non.effectively.final.var=\
   1.256 +    local variables referenced from {1} must be final or effectively final
   1.257 +
   1.258 +
   1.259 +compiler.misc.lambda=\
   1.260 +    a lambda expression
   1.261 +
   1.262 +compiler.misc.inner.cls=\
   1.263 +    an inner class
   1.264 +
   1.265 +# 0: type
   1.266 +compiler.err.cant.deref=\
   1.267 +    {0} cannot be dereferenced
   1.268 +
   1.269 +compiler.err.cant.extend.intf.annotation=\
   1.270 +    ''extends'' not allowed for @interfaces
   1.271 +
   1.272 +# 0: symbol
   1.273 +compiler.err.cant.inherit.from.final=\
   1.274 +    cannot inherit from final {0}
   1.275 +
   1.276 +# 0: symbol
   1.277 +compiler.err.cant.ref.before.ctor.called=\
   1.278 +    cannot reference {0} before supertype constructor has been called
   1.279 +
   1.280 +compiler.err.cant.select.static.class.from.param.type=\
   1.281 +    cannot select a static class from a parameterized type
   1.282 +
   1.283 +# 0: symbol, 1: string, 2: string
   1.284 +compiler.err.cant.inherit.diff.arg=\
   1.285 +    {0} cannot be inherited with different arguments: <{1}> and <{2}>
   1.286 +
   1.287 +compiler.err.catch.without.try=\
   1.288 +    ''catch'' without ''try''
   1.289 +
   1.290 +# 0: symbol kind, 1: symbol
   1.291 +compiler.err.clash.with.pkg.of.same.name=\
   1.292 +    {0} {1} clashes with package of same name
   1.293 +
   1.294 +compiler.err.class.not.allowed=\
   1.295 +    class, interface or enum declaration not allowed here
   1.296 +
   1.297 +compiler.err.const.expr.req=\
   1.298 +    constant expression required
   1.299 +
   1.300 +compiler.err.cont.outside.loop=\
   1.301 +    continue outside of loop
   1.302 +
   1.303 +# 0: symbol
   1.304 +compiler.err.cyclic.inheritance=\
   1.305 +    cyclic inheritance involving {0}
   1.306 +
   1.307 +# 0: symbol
   1.308 +compiler.err.cyclic.annotation.element=\
   1.309 +    type of element {0} is cyclic
   1.310 +
   1.311 +# 0: unused
   1.312 +compiler.err.call.to.super.not.allowed.in.enum.ctor=\
   1.313 +    call to super not allowed in enum constructor
   1.314 +
   1.315 +# 0: type
   1.316 +compiler.err.no.superclass=\
   1.317 +    {0} has no superclass.
   1.318 +
   1.319 +# 0: symbol, 1: type, 2: symbol, 3: type, 4: unused
   1.320 +compiler.err.concrete.inheritance.conflict=\
   1.321 +    methods {0} from {1} and {2} from {3} are inherited with the same signature
   1.322 +
   1.323 +compiler.err.default.allowed.in.intf.annotation.member=\
   1.324 +    default value only allowed in an annotation type declaration
   1.325 +
   1.326 +# 0: symbol
   1.327 +compiler.err.doesnt.exist=\
   1.328 +    package {0} does not exist
   1.329 +
   1.330 +# 0: type
   1.331 +compiler.err.duplicate.annotation.invalid.repeated=\
   1.332 +    annotation {0} is not a valid repeatable annotation
   1.333 +
   1.334 +# 0: name, 1: type
   1.335 +compiler.err.duplicate.annotation.member.value=\
   1.336 +    duplicate element ''{0}'' in annotation @{1}.
   1.337 +
   1.338 +# 0: name, 1: unused
   1.339 +compiler.err.duplicate.annotation.missing.container=\
   1.340 +    {0} is not a repeatable annotation type
   1.341 +
   1.342 +# 0: type, 1: unused
   1.343 +compiler.err.invalid.repeatable.annotation=\
   1.344 +    duplicate annotation: {0} is annotated with an invalid @Repeatable annotation
   1.345 +
   1.346 +# 0: symbol or type
   1.347 +compiler.err.invalid.repeatable.annotation.no.value=\
   1.348 +    {0} is not a valid @Repeatable, no value element method declared
   1.349 +
   1.350 +# 0: type, 1: number
   1.351 +compiler.err.invalid.repeatable.annotation.multiple.values=\
   1.352 +    {0} is not a valid @Repeatable, {1} element methods named ''value'' declared
   1.353 +
   1.354 +# 0: type
   1.355 +compiler.err.invalid.repeatable.annotation.invalid.value=\
   1.356 +    {0} is not a valid @Repeatable: invalid value element
   1.357 +
   1.358 +# 0: symbol type, 1: unused, 2: type
   1.359 +compiler.err.invalid.repeatable.annotation.value.return=\
   1.360 +    containing annotation type ({0}) must declare an element named ''value'' of type {2}
   1.361 +
   1.362 +# 0: symbol or type, 1: symbol
   1.363 +compiler.err.invalid.repeatable.annotation.elem.nondefault=\
   1.364 +    containing annotation type ({0}) does not have a default value for element {1}
   1.365 +
   1.366 +# 0: symbol, 1: unused, 2: symbol, 3: unused
   1.367 +compiler.err.invalid.repeatable.annotation.retention=\
   1.368 +    retention of containing annotation type ({0}) is shorter than the retention of repeatable annotation type ({2})
   1.369 +
   1.370 +# 0: symbol, 1: symbol
   1.371 +compiler.err.invalid.repeatable.annotation.not.documented=\
   1.372 +    repeatable annotation type ({1}) is @Documented while containing annotation type ({0}) is not
   1.373 +
   1.374 +# 0: symbol, 1: symbol
   1.375 +compiler.err.invalid.repeatable.annotation.not.inherited=\
   1.376 +    repeatable annotation type ({1}) is @Inherited while containing annotation type ({0}) is not
   1.377 +
   1.378 +# 0: symbol, 1: symbol
   1.379 +compiler.err.invalid.repeatable.annotation.incompatible.target=\
   1.380 +    containing annotation type ({0}) is applicable to more targets than repeatable annotation type ({1})
   1.381 +
   1.382 +# 0: symbol
   1.383 +compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\
   1.384 +    container {0} must not be present at the same time as the element it contains
   1.385 +
   1.386 +# 0: name
   1.387 +compiler.err.duplicate.class=\
   1.388 +    duplicate class: {0}
   1.389 +
   1.390 +compiler.err.duplicate.case.label=\
   1.391 +    duplicate case label
   1.392 +
   1.393 +compiler.err.duplicate.default.label=\
   1.394 +    duplicate default label
   1.395 +
   1.396 +compiler.err.else.without.if=\
   1.397 +    ''else'' without ''if''
   1.398 +
   1.399 +compiler.err.empty.char.lit=\
   1.400 +    empty character literal
   1.401 +
   1.402 +# 0: symbol
   1.403 +compiler.err.encl.class.required=\
   1.404 +    an enclosing instance that contains {0} is required
   1.405 +
   1.406 +compiler.err.enum.annotation.must.be.enum.constant=\
   1.407 +    an enum annotation value must be an enum constant
   1.408 +
   1.409 +compiler.err.enum.cant.be.instantiated=\
   1.410 +    enum types may not be instantiated
   1.411 +
   1.412 +compiler.err.enum.label.must.be.unqualified.enum=\
   1.413 +    an enum switch case label must be the unqualified name of an enumeration constant
   1.414 +
   1.415 +compiler.err.enum.no.subclassing=\
   1.416 +    classes cannot directly extend java.lang.Enum
   1.417 +
   1.418 +compiler.err.enum.types.not.extensible=\
   1.419 +    enum types are not extensible
   1.420 +
   1.421 +compiler.err.enum.no.finalize=\
   1.422 +    enums cannot have finalize methods
   1.423 +
   1.424 +# 0: file name, 1: string
   1.425 +compiler.err.error.reading.file=\
   1.426 +    error reading {0}; {1}
   1.427 +
   1.428 +# 0: type
   1.429 +compiler.err.except.already.caught=\
   1.430 +    exception {0} has already been caught
   1.431 +
   1.432 +# 0: type
   1.433 +compiler.err.except.never.thrown.in.try=\
   1.434 +    exception {0} is never thrown in body of corresponding try statement
   1.435 +
   1.436 +# 0: symbol
   1.437 +compiler.err.final.parameter.may.not.be.assigned=\
   1.438 +    final parameter {0} may not be assigned
   1.439 +
   1.440 +# 0: symbol
   1.441 +compiler.err.try.resource.may.not.be.assigned=\
   1.442 +    auto-closeable resource {0} may not be assigned
   1.443 +
   1.444 +# 0: symbol
   1.445 +compiler.err.multicatch.parameter.may.not.be.assigned=\
   1.446 +    multi-catch parameter {0} may not be assigned
   1.447 +
   1.448 +# 0: type, 1: type
   1.449 +compiler.err.multicatch.types.must.be.disjoint=\
   1.450 +    Alternatives in a multi-catch statement cannot be related by subclassing\n\
   1.451 +    Alternative {0} is a subclass of alternative {1}
   1.452 +
   1.453 +compiler.err.finally.without.try=\
   1.454 +    ''finally'' without ''try''
   1.455 +
   1.456 +# 0: type, 1: message segment
   1.457 +compiler.err.foreach.not.applicable.to.type=\
   1.458 +    for-each not applicable to expression type\n\
   1.459 +    required: {1}\n\
   1.460 +    found:    {0}
   1.461 +
   1.462 +compiler.err.fp.number.too.large=\
   1.463 +    floating point number too large
   1.464 +
   1.465 +compiler.err.fp.number.too.small=\
   1.466 +    floating point number too small
   1.467 +
   1.468 +compiler.err.generic.array.creation=\
   1.469 +    generic array creation
   1.470 +
   1.471 +compiler.err.generic.throwable=\
   1.472 +    a generic class may not extend java.lang.Throwable
   1.473 +
   1.474 +# 0: symbol
   1.475 +compiler.err.icls.cant.have.static.decl=\
   1.476 +    Illegal static declaration in inner class {0}\n\
   1.477 +    modifier \''static\'' is only allowed in constant variable declarations
   1.478 +
   1.479 +# 0: string
   1.480 +compiler.err.illegal.char=\
   1.481 +    illegal character: ''{0}''
   1.482 +
   1.483 +compiler.err.illegal.char.for.encoding=\
   1.484 +    unmappable character for encoding {0}
   1.485 +
   1.486 +# 0: set of modifier, 1: set of modifier
   1.487 +compiler.err.illegal.combination.of.modifiers=\
   1.488 +    illegal combination of modifiers: {0} and {1}
   1.489 +
   1.490 +compiler.err.illegal.enum.static.ref=\
   1.491 +    illegal reference to static field from initializer
   1.492 +
   1.493 +compiler.err.illegal.esc.char=\
   1.494 +    illegal escape character
   1.495 +
   1.496 +compiler.err.illegal.forward.ref=\
   1.497 +    illegal forward reference
   1.498 +
   1.499 +# 0: symbol, 1: string
   1.500 +compiler.err.not.in.profile=\
   1.501 +    {0} is not available in profile ''{1}''
   1.502 +
   1.503 +# 0: symbol
   1.504 +compiler.warn.forward.ref=\
   1.505 +    reference to variable ''{0}'' before it has been initialized
   1.506 +
   1.507 +compiler.err.illegal.self.ref=\
   1.508 +    self-reference in initializer
   1.509 +
   1.510 +# 0: symbol
   1.511 +compiler.warn.self.ref=\
   1.512 +    self-reference in initializer of variable ''{0}''
   1.513 +
   1.514 +compiler.err.illegal.generic.type.for.instof=\
   1.515 +    illegal generic type for instanceof
   1.516 +
   1.517 +# 0: type
   1.518 +compiler.err.illegal.initializer.for.type=\
   1.519 +    illegal initializer for {0}
   1.520 +
   1.521 +compiler.err.illegal.line.end.in.char.lit=\
   1.522 +    illegal line end in character literal
   1.523 +
   1.524 +compiler.err.illegal.nonascii.digit=\
   1.525 +    illegal non-ASCII digit
   1.526 +
   1.527 +compiler.err.illegal.underscore=\
   1.528 +    illegal underscore
   1.529 +
   1.530 +compiler.err.illegal.dot=\
   1.531 +    illegal ''.''
   1.532 +
   1.533 +# 0: symbol
   1.534 +compiler.err.illegal.qual.not.icls=\
   1.535 +    illegal qualifier; {0} is not an inner class
   1.536 +
   1.537 +compiler.err.illegal.start.of.expr=\
   1.538 +    illegal start of expression
   1.539 +
   1.540 +compiler.err.illegal.start.of.stmt=\
   1.541 +    illegal start of statement
   1.542 +
   1.543 +compiler.err.illegal.start.of.type=\
   1.544 +    illegal start of type
   1.545 +
   1.546 +compiler.err.illegal.unicode.esc=\
   1.547 +    illegal unicode escape
   1.548 +
   1.549 +# 0: symbol
   1.550 +compiler.err.import.requires.canonical=\
   1.551 +    import requires canonical name for {0}
   1.552 +
   1.553 +compiler.err.improperly.formed.type.param.missing=\
   1.554 +    improperly formed type, some parameters are missing
   1.555 +
   1.556 +compiler.err.improperly.formed.type.inner.raw.param=\
   1.557 +    improperly formed type, type arguments given on a raw type
   1.558 +
   1.559 +# 0: type, 1: type
   1.560 +compiler.err.incomparable.types=\
   1.561 +    incomparable types: {0} and {1}
   1.562 +
   1.563 +# 0: number
   1.564 +compiler.err.int.number.too.large=\
   1.565 +    integer number too large: {0}
   1.566 +
   1.567 +compiler.err.intf.annotation.members.cant.have.params=\
   1.568 +    elements in annotation type declarations cannot declare formal parameters
   1.569 +
   1.570 +# 0: symbol
   1.571 +compiler.err.intf.annotation.cant.have.type.params=\
   1.572 +    annotation type {0} cannot be generic
   1.573 +
   1.574 +compiler.err.intf.annotation.members.cant.have.type.params=\
   1.575 +    elements in annotation type declarations cannot be generic methods
   1.576 +
   1.577 +# 0: symbol, 1: type
   1.578 +compiler.err.intf.annotation.member.clash=\
   1.579 +    annotation type {1} declares an element with the same name as method {0}
   1.580 +
   1.581 +compiler.err.intf.expected.here=\
   1.582 +    interface expected here
   1.583 +
   1.584 +compiler.err.intf.meth.cant.have.body=\
   1.585 +    interface abstract methods cannot have body
   1.586 +
   1.587 +# 0: symbol
   1.588 +compiler.err.invalid.annotation.member.type=\
   1.589 +    invalid type for element {0} of annotation type
   1.590 +
   1.591 +compiler.err.invalid.binary.number=\
   1.592 +    binary numbers must contain at least one binary digit
   1.593 +
   1.594 +compiler.err.invalid.hex.number=\
   1.595 +    hexadecimal numbers must contain at least one hexadecimal digit
   1.596 +
   1.597 +compiler.err.invalid.meth.decl.ret.type.req=\
   1.598 +    invalid method declaration; return type required
   1.599 +
   1.600 +compiler.err.varargs.and.old.array.syntax=\
   1.601 +    legacy array notation not allowed on variable-arity parameter
   1.602 +
   1.603 +compiler.err.varargs.and.receiver =\
   1.604 +    varargs notation not allowed on receiver parameter
   1.605 +
   1.606 +compiler.err.array.and.receiver =\
   1.607 +    legacy array notation not allowed on receiver parameter
   1.608 +
   1.609 +compiler.err.variable.not.allowed=\
   1.610 +    variable declaration not allowed here
   1.611 +
   1.612 +# 0: name
   1.613 +compiler.err.label.already.in.use=\
   1.614 +    label {0} already in use
   1.615 +
   1.616 +# 0: symbol
   1.617 +compiler.err.local.var.accessed.from.icls.needs.final=\
   1.618 +    local variable {0} is accessed from within inner class; needs to be declared final
   1.619 +
   1.620 +compiler.err.local.enum=\
   1.621 +    enum types must not be local
   1.622 +
   1.623 +compiler.err.cannot.create.array.with.type.arguments=\
   1.624 +    cannot create array with type arguments
   1.625 +
   1.626 +compiler.err.cannot.create.array.with.diamond=\
   1.627 +    cannot create array with ''<>''
   1.628 +
   1.629 +#
   1.630 +# limits.  We don't give the limits in the diagnostic because we expect
   1.631 +# them to change, yet we want to use the same diagnostic.  These are all
   1.632 +# detected during code generation.
   1.633 +#
   1.634 +compiler.err.limit.code=\
   1.635 +    code too large
   1.636 +
   1.637 +compiler.err.limit.code.too.large.for.try.stmt=\
   1.638 +    code too large for try statement
   1.639 +
   1.640 +compiler.err.limit.dimensions=\
   1.641 +    array type has too many dimensions
   1.642 +
   1.643 +compiler.err.limit.locals=\
   1.644 +    too many local variables
   1.645 +
   1.646 +compiler.err.limit.parameters=\
   1.647 +    too many parameters
   1.648 +
   1.649 +compiler.err.limit.pool=\
   1.650 +    too many constants
   1.651 +
   1.652 +compiler.err.limit.pool.in.class=\
   1.653 +    too many constants in class {0}
   1.654 +
   1.655 +compiler.err.limit.stack=\
   1.656 +    code requires too much stack
   1.657 +
   1.658 +compiler.err.limit.string=\
   1.659 +    constant string too long
   1.660 +
   1.661 +compiler.err.limit.string.overflow=\
   1.662 +    UTF8 representation for string \"{0}...\" is too long for the constant pool
   1.663 +
   1.664 +compiler.err.malformed.fp.lit=\
   1.665 +    malformed floating point literal
   1.666 +
   1.667 +compiler.err.method.does.not.override.superclass=\
   1.668 +    method does not override or implement a method from a supertype
   1.669 +
   1.670 +compiler.err.missing.meth.body.or.decl.abstract=\
   1.671 +    missing method body, or declare abstract
   1.672 +
   1.673 +compiler.err.missing.ret.stmt=\
   1.674 +    missing return statement
   1.675 +
   1.676 +# 0: unused
   1.677 +compiler.misc.missing.ret.val=\
   1.678 +    missing return value
   1.679 +
   1.680 +compiler.misc.unexpected.ret.val=\
   1.681 +    unexpected return value
   1.682 +
   1.683 +# 0: set of modifier
   1.684 +compiler.err.mod.not.allowed.here=\
   1.685 +    modifier {0} not allowed here
   1.686 +
   1.687 +compiler.err.intf.not.allowed.here=\
   1.688 +    interface not allowed here
   1.689 +
   1.690 +compiler.err.enums.must.be.static=\
   1.691 +    enum declarations allowed only in static contexts
   1.692 +
   1.693 +# 0: symbol, 1: symbol
   1.694 +compiler.err.name.clash.same.erasure=\
   1.695 +    name clash: {0} and {1} have the same erasure
   1.696 +
   1.697 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: unused, 5: unused
   1.698 +compiler.err.name.clash.same.erasure.no.override=\
   1.699 +    name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
   1.700 +
   1.701 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: symbol, 5: symbol
   1.702 +compiler.err.name.clash.same.erasure.no.override.1=\
   1.703 +    name clash: {0} in {1} overrides a method whose erasure is the same as another method, yet neither overrides the other\n\
   1.704 +    first method:  {2} in {3}\n\
   1.705 +    second method: {4} in {5}
   1.706 +
   1.707 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
   1.708 +compiler.err.name.clash.same.erasure.no.hide=\
   1.709 +    name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither hides the other
   1.710 +
   1.711 +compiler.err.name.reserved.for.internal.use=\
   1.712 +    {0} is reserved for internal use
   1.713 +
   1.714 +compiler.err.native.meth.cant.have.body=\
   1.715 +    native methods cannot have a body
   1.716 +
   1.717 +# 0: type, 1: type
   1.718 +compiler.err.neither.conditional.subtype=\
   1.719 +    incompatible types for ?: neither is a subtype of the other\n\
   1.720 +    second operand: {0}\n\
   1.721 +    third operand : {1}
   1.722 +
   1.723 +# 0: message segment
   1.724 +compiler.misc.incompatible.type.in.conditional=\
   1.725 +    bad type in conditional expression\n\
   1.726 +    {0}
   1.727 +
   1.728 +compiler.misc.conditional.target.cant.be.void=\
   1.729 +    target-type for conditional expression cannot be void
   1.730 +
   1.731 +# 0: type
   1.732 +compiler.misc.incompatible.ret.type.in.lambda=\
   1.733 +    bad return type in lambda expression\n\
   1.734 +    {0}
   1.735 +
   1.736 +# 0: type
   1.737 +compiler.misc.incompatible.ret.type.in.mref=\
   1.738 +    bad return type in method reference\n\
   1.739 +    {0}
   1.740 +
   1.741 +compiler.err.lambda.body.neither.value.nor.void.compatible=\
   1.742 +    lambda body is neither value nor void compatible
   1.743 +
   1.744 +# 0: list of type
   1.745 +compiler.err.incompatible.thrown.types.in.mref=\
   1.746 +    incompatible thrown types {0} in method reference
   1.747 +
   1.748 +compiler.misc.incompatible.arg.types.in.lambda=\
   1.749 +    incompatible parameter types in lambda expression
   1.750 +
   1.751 +compiler.misc.incompatible.arg.types.in.mref=\
   1.752 +    incompatible parameter types in method reference
   1.753 +
   1.754 +compiler.err.new.not.allowed.in.annotation=\
   1.755 +    ''new'' not allowed in an annotation
   1.756 +
   1.757 +compiler.err.no.annotation.member=\
   1.758 +    no annotation member {0} in {1}
   1.759 +
   1.760 +compiler.err.no.encl.instance.of.type.in.scope=\
   1.761 +    no enclosing instance of type {0} is in scope
   1.762 +
   1.763 +compiler.err.no.intf.expected.here=\
   1.764 +    no interface expected here
   1.765 +
   1.766 +compiler.err.no.match.entry=\
   1.767 +    {0} has no match in entry in {1}; required {2}
   1.768 +
   1.769 +compiler.err.not.annotation.type=\
   1.770 +    {0} is not an annotation type
   1.771 +
   1.772 +# 0: symbol, 1: symbol
   1.773 +compiler.err.not.def.access.class.intf.cant.access=\
   1.774 +    {0} in {1} is defined in an inaccessible class or interface
   1.775 +
   1.776 +# 0: symbol, 1: symbol
   1.777 +compiler.misc.not.def.access.class.intf.cant.access=\
   1.778 +    {0} in {1} is defined in an inaccessible class or interface
   1.779 +
   1.780 +# 0: symbol, 1: list of type, 2: type
   1.781 +compiler.misc.cant.access.inner.cls.constr=\
   1.782 +    cannot access constructor {0}({1})\n\
   1.783 +    an enclosing instance of type {2} is not in scope
   1.784 +
   1.785 +# 0: symbol, 1: symbol
   1.786 +compiler.err.not.def.public.cant.access=\
   1.787 +    {0} is not public in {1}; cannot be accessed from outside package
   1.788 +
   1.789 +# 0: symbol, 1: symbol
   1.790 +compiler.misc.not.def.public.cant.access=\
   1.791 +    {0} is not public in {1}; cannot be accessed from outside package
   1.792 +
   1.793 +# 0: name
   1.794 +compiler.err.not.loop.label=\
   1.795 +    not a loop label: {0}
   1.796 +
   1.797 +compiler.err.not.stmt=\
   1.798 +    not a statement
   1.799 +
   1.800 +# 0: symbol
   1.801 +compiler.err.not.encl.class=\
   1.802 +    not an enclosing class: {0}
   1.803 +
   1.804 +# 0: name, 1: type, 2: unused
   1.805 +compiler.err.operator.cant.be.applied=\
   1.806 +    bad operand type {1} for unary operator ''{0}''
   1.807 +
   1.808 +# 0: name, 1: type, 2: type
   1.809 +compiler.err.operator.cant.be.applied.1=\
   1.810 +    bad operand types for binary operator ''{0}''\n\
   1.811 +    first type:  {1}\n\
   1.812 +    second type: {2}
   1.813 +
   1.814 +compiler.err.pkg.annotations.sb.in.package-info.java=\
   1.815 +    package annotations should be in file package-info.java
   1.816 +
   1.817 +# 0: symbol
   1.818 +compiler.err.pkg.clashes.with.class.of.same.name=\
   1.819 +    package {0} clashes with class of same name
   1.820 +
   1.821 +compiler.err.warnings.and.werror=\
   1.822 +    warnings found and -Werror specified
   1.823 +
   1.824 +# Errors related to annotation processing
   1.825 +
   1.826 +# 0: symbol, 1: string, 2: stack-trace
   1.827 +compiler.err.proc.cant.access=\
   1.828 +    cannot access {0}\n\
   1.829 +    {1}\n\
   1.830 +    Consult the following stack trace for details.\n\
   1.831 +    {2}
   1.832 +
   1.833 +# 0: symbol, 1: string
   1.834 +compiler.err.proc.cant.access.1=\
   1.835 +    cannot access {0}\n\
   1.836 +    {1}
   1.837 +
   1.838 +# 0: string
   1.839 +compiler.err.proc.cant.find.class=\
   1.840 +    Could not find class file for ''{0}''.
   1.841 +
   1.842 +# Print a client-generated error message; assumed to be localized, no translation required
   1.843 +# 0: string
   1.844 +compiler.err.proc.messager=\
   1.845 +    {0}
   1.846 +
   1.847 +# 0: list of string
   1.848 +compiler.err.proc.no.explicit.annotation.processing.requested=\
   1.849 +    Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
   1.850 +
   1.851 +compiler.err.proc.no.service=\
   1.852 +    A ServiceLoader was not usable and is required for annotation processing.
   1.853 +
   1.854 +compiler.err.proc.processor.bad.option.name=\
   1.855 +    Bad option name ''{0}'' provided by processor ''{1}''
   1.856 +
   1.857 +# 0: string
   1.858 +compiler.err.proc.processor.cant.instantiate=\
   1.859 +    Could not instantiate an instance of processor ''{0}''
   1.860 +
   1.861 +# 0: string
   1.862 +compiler.err.proc.processor.not.found=\
   1.863 +    Annotation processor ''{0}'' not found
   1.864 +
   1.865 +# 0: string
   1.866 +compiler.err.proc.processor.wrong.type=\
   1.867 +    Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
   1.868 +
   1.869 +compiler.err.proc.service.problem=\
   1.870 +    Error creating a service loader to load Processors.
   1.871 +
   1.872 +compiler.err.proc.bad.config.file=\
   1.873 +    Bad service configuration file, or exception thrown while constructing Processor object: {0}
   1.874 +
   1.875 +compiler.err.proc.cant.create.loader=\
   1.876 +    Could not create class loader for annotation processors: {0}
   1.877 +
   1.878 +# 0: unused
   1.879 +compiler.err.qualified.new.of.static.class=\
   1.880 +    qualified new of static class
   1.881 +
   1.882 +compiler.err.recursive.ctor.invocation=\
   1.883 +    recursive constructor invocation
   1.884 +
   1.885 +# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
   1.886 +compiler.err.ref.ambiguous=\
   1.887 +    reference to {0} is ambiguous\n\
   1.888 +    both {1} {2} in {3} and {4} {5} in {6} match
   1.889 +
   1.890 +# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
   1.891 +compiler.misc.ref.ambiguous=\
   1.892 +    reference to {0} is ambiguous\n\
   1.893 +    both {1} {2} in {3} and {4} {5} in {6} match
   1.894 +
   1.895 +compiler.err.repeated.annotation.target=\
   1.896 +    repeated annotation target
   1.897 +
   1.898 +compiler.err.repeated.interface=\
   1.899 +    repeated interface
   1.900 +
   1.901 +compiler.err.repeated.modifier=\
   1.902 +    repeated modifier
   1.903 +
   1.904 +# 0: symbol, 1: set of modifier, 2: symbol
   1.905 +compiler.err.report.access=\
   1.906 +    {0} has {1} access in {2}
   1.907 +
   1.908 +# 0: symbol, 1: set of modifier, 2: symbol
   1.909 +compiler.misc.report.access=\
   1.910 +    {0} has {1} access in {2}
   1.911 +
   1.912 +compiler.err.ret.outside.meth=\
   1.913 +    return outside method
   1.914 +
   1.915 +compiler.err.signature.doesnt.match.supertype=\
   1.916 +    signature does not match {0}; incompatible supertype
   1.917 +
   1.918 +compiler.err.signature.doesnt.match.intf=\
   1.919 +    signature does not match {0}; incompatible interfaces
   1.920 +
   1.921 +# 0: number, 1: number
   1.922 +compiler.err.method.invoked.with.incorrect.number.arguments=\
   1.923 +    method invoked with incorrect number of arguments; expected {0}, found {1}
   1.924 +
   1.925 +# 0: symbol, 1: symbol, 2: symbol
   1.926 +compiler.err.does.not.override.abstract=\
   1.927 +    {0} is not abstract and does not override abstract method {1} in {2}
   1.928 +
   1.929 +compiler.err.source.cant.overwrite.input.file=\
   1.930 +    error writing source; cannot overwrite input file {0}
   1.931 +
   1.932 +compiler.err.stack.sim.error=\
   1.933 +    Internal error: stack sim error on {0}
   1.934 +
   1.935 +compiler.err.static.imp.only.classes.and.interfaces=\
   1.936 +    static import only from classes and interfaces
   1.937 +
   1.938 +compiler.err.string.const.req=\
   1.939 +    constant string expression required
   1.940 +
   1.941 +# 0: symbol, 1: symbol
   1.942 +compiler.err.synthetic.name.conflict=\
   1.943 +    the symbol {0} conflicts with a compiler-synthesized symbol in {1}
   1.944 +
   1.945 +# 0: symbol, 1: symbol
   1.946 +compiler.warn.synthetic.name.conflict=\
   1.947 +    the symbol {0} conflicts with a compiler-synthesized symbol in {1}
   1.948 +
   1.949 +compiler.err.throws.not.allowed.in.intf.annotation=\
   1.950 +    throws clause not allowed in @interface members
   1.951 +
   1.952 +compiler.err.try.without.catch.or.finally=\
   1.953 +    ''try'' without ''catch'' or ''finally''
   1.954 +
   1.955 +compiler.err.try.without.catch.finally.or.resource.decls=\
   1.956 +    ''try'' without ''catch'', ''finally'' or resource declarations
   1.957 +
   1.958 +# 0: symbol
   1.959 +compiler.err.type.doesnt.take.params=\
   1.960 +    type {0} does not take parameters
   1.961 +
   1.962 +compiler.err.type.var.cant.be.deref=\
   1.963 +    cannot select from a type variable
   1.964 +
   1.965 +compiler.err.type.var.may.not.be.followed.by.other.bounds=\
   1.966 +    a type variable may not be followed by other bounds
   1.967 +
   1.968 +compiler.err.type.var.more.than.once=\
   1.969 +    type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
   1.970 +
   1.971 +compiler.err.type.var.more.than.once.in.result=\
   1.972 +    type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
   1.973 +
   1.974 +# 0: type, 1: type, 2: string
   1.975 +compiler.err.types.incompatible.diff.ret=\
   1.976 +    types {0} and {1} are incompatible; both define {2}, but with unrelated return types
   1.977 +
   1.978 +# 0: kind, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol
   1.979 +compiler.err.types.incompatible.unrelated.defaults=\
   1.980 +    {0} {1} inherits unrelated defaults for {2}({3}) from types {4} and {5}
   1.981 +
   1.982 +# 0: kind, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol
   1.983 +compiler.err.types.incompatible.abstract.default=\
   1.984 +    {0} {1} inherits abstract and default for {2}({3}) from types {4} and {5}
   1.985 +
   1.986 +# 0: name, 1: kind, 2: symbol
   1.987 +compiler.err.default.overrides.object.member=\
   1.988 +    default method {0} in {1} {2} overrides a member of java.lang.Object
   1.989 +
   1.990 +# 0: type
   1.991 +compiler.err.illegal.static.intf.meth.call=\
   1.992 +    illegal static interface method call\n\
   1.993 +    the receiver expression should be replaced with the type qualifier ''{0}''
   1.994 +
   1.995 +# 0: type, 1: message segment
   1.996 +compiler.err.illegal.default.super.call=\
   1.997 +    bad type qualifier {0} in default super call\n\
   1.998 +    {1}
   1.999 +
  1.1000 +# 0: symbol, 1: type
  1.1001 +compiler.misc.overridden.default=\
  1.1002 +    method {0} is overridden in {1}
  1.1003 +
  1.1004 +# 0: symbol, 1: type or symbol
  1.1005 +compiler.misc.redundant.supertype=\
  1.1006 +    redundant interface {0} is extended by {1}
  1.1007 +
  1.1008 +compiler.err.unclosed.char.lit=\
  1.1009 +    unclosed character literal
  1.1010 +
  1.1011 +compiler.err.unclosed.comment=\
  1.1012 +    unclosed comment
  1.1013 +
  1.1014 +compiler.err.unclosed.str.lit=\
  1.1015 +    unclosed string literal
  1.1016 +
  1.1017 +# 0: name
  1.1018 +compiler.err.unsupported.encoding=\
  1.1019 +    unsupported encoding: {0}
  1.1020 +
  1.1021 +compiler.err.io.exception=\
  1.1022 +    error reading source file: {0}
  1.1023 +
  1.1024 +# 0: name
  1.1025 +compiler.err.undef.label=\
  1.1026 +    undefined label: {0}
  1.1027 +
  1.1028 +# 0: message segment, 1: unused
  1.1029 +compiler.err.cant.apply.diamond=\
  1.1030 +    cannot infer type arguments for {0}
  1.1031 +
  1.1032 +# 0: message segment or type, 1: message segment
  1.1033 +compiler.err.cant.apply.diamond.1=\
  1.1034 +    cannot infer type arguments for {0}\n\
  1.1035 +    reason: {1}
  1.1036 +
  1.1037 +# 0: message segment or type, 1: message segment
  1.1038 +compiler.misc.cant.apply.diamond.1=\
  1.1039 +    cannot infer type arguments for {0}\n\
  1.1040 +    reason: {1}
  1.1041 +
  1.1042 +compiler.err.unreachable.stmt=\
  1.1043 +    unreachable statement
  1.1044 +
  1.1045 +compiler.err.initializer.must.be.able.to.complete.normally=\
  1.1046 +    initializer must be able to complete normally
  1.1047 +
  1.1048 +# 0: type
  1.1049 +compiler.err.unreported.exception.need.to.catch.or.throw=\
  1.1050 +    unreported exception {0}; must be caught or declared to be thrown
  1.1051 +
  1.1052 +# 0: type
  1.1053 +compiler.err.unreported.exception.default.constructor=\
  1.1054 +    unreported exception {0} in default constructor
  1.1055 +
  1.1056 +# 0: type, 1: name
  1.1057 +compiler.err.unreported.exception.implicit.close=\
  1.1058 +    unreported exception {0}; must be caught or declared to be thrown\n\
  1.1059 +    exception thrown from implicit call to close() on resource variable ''{1}''
  1.1060 +
  1.1061 +compiler.err.unsupported.cross.fp.lit=\
  1.1062 +    hexadecimal floating-point literals are not supported on this VM
  1.1063 +
  1.1064 +compiler.err.void.not.allowed.here=\
  1.1065 +    ''void'' type not allowed here
  1.1066 +
  1.1067 +# 0: string
  1.1068 +compiler.err.wrong.number.type.args=\
  1.1069 +    wrong number of type arguments; required {0}
  1.1070 +
  1.1071 +# 0: symbol
  1.1072 +compiler.err.var.might.already.be.assigned=\
  1.1073 +    variable {0} might already have been assigned
  1.1074 +
  1.1075 +# 0: symbol
  1.1076 +compiler.err.var.might.not.have.been.initialized=\
  1.1077 +    variable {0} might not have been initialized
  1.1078 +
  1.1079 +# 0: symbol
  1.1080 +compiler.err.var.not.initialized.in.default.constructor=\
  1.1081 +    variable {0} not initialized in the default constructor
  1.1082 +
  1.1083 +# 0: symbol
  1.1084 +compiler.err.var.might.be.assigned.in.loop=\
  1.1085 +    variable {0} might be assigned in loop
  1.1086 +
  1.1087 +# 0: symbol, 1: message segment
  1.1088 +compiler.err.varargs.invalid.trustme.anno=\
  1.1089 +    Invalid {0} annotation. {1}
  1.1090 +
  1.1091 +# 0: type
  1.1092 +compiler.misc.varargs.trustme.on.reifiable.varargs=\
  1.1093 +    Varargs element type {0} is reifiable.
  1.1094 +
  1.1095 +# 0: symbol
  1.1096 +compiler.misc.varargs.trustme.on.non.varargs.meth=\
  1.1097 +    Method {0} is not a varargs method.
  1.1098 +
  1.1099 +# 0: symbol
  1.1100 +compiler.misc.varargs.trustme.on.virtual.varargs=\
  1.1101 +    Instance method {0} is not final.
  1.1102 +
  1.1103 +# 0: type, 1: symbol kind, 2: symbol
  1.1104 +compiler.misc.inaccessible.varargs.type=\
  1.1105 +    formal varargs element type {0} is not accessible from {1} {2}
  1.1106 +
  1.1107 +# In the following string, {1} will always be the detail message from
  1.1108 +# java.io.IOException.
  1.1109 +# 0: symbol, 1: string
  1.1110 +compiler.err.class.cant.write=\
  1.1111 +    error while writing {0}: {1}
  1.1112 +
  1.1113 +# In the following string, {0} is the name of the class in the Java source.
  1.1114 +# It really should be used two times..
  1.1115 +# 0: name
  1.1116 +compiler.err.class.public.should.be.in.file=\
  1.1117 +    class {0} is public, should be declared in a file named {0}.java
  1.1118 +
  1.1119 +## All errors which do not refer to a particular line in the source code are
  1.1120 +## preceded by this string.
  1.1121 +compiler.err.error=\
  1.1122 +    error:\u0020
  1.1123 +
  1.1124 +# The following error messages do not refer to a line in the source code.
  1.1125 +compiler.err.cant.read.file=\
  1.1126 +    cannot read: {0}
  1.1127 +
  1.1128 +#####
  1.1129 +
  1.1130 +# Fatal Errors
  1.1131 +
  1.1132 +compiler.misc.fatal.err.no.java.lang=\
  1.1133 +    Fatal Error: Unable to find package java.lang in classpath or bootclasspath
  1.1134 +
  1.1135 +compiler.misc.fatal.err.cant.locate.meth=\
  1.1136 +    Fatal Error: Unable to find method {0}
  1.1137 +
  1.1138 +compiler.misc.fatal.err.cant.locate.field=\
  1.1139 +    Fatal Error: Unable to find field {0}
  1.1140 +
  1.1141 +compiler.misc.fatal.err.cant.locate.ctor=\
  1.1142 +    Fatal Error: Unable to find constructor for {0}
  1.1143 +
  1.1144 +compiler.misc.fatal.err.cant.close=\
  1.1145 +    Fatal Error: Cannot close compiler resources
  1.1146 +
  1.1147 +#####
  1.1148 +
  1.1149 +##
  1.1150 +## miscellaneous strings
  1.1151 +##
  1.1152 +
  1.1153 +compiler.misc.source.unavailable=\
  1.1154 +    (source unavailable)
  1.1155 +
  1.1156 +compiler.misc.base.membership=\
  1.1157 +    all your base class are belong to us
  1.1158 +
  1.1159 +# 0: string, 1: string, 2: boolean
  1.1160 +compiler.misc.x.print.processor.info=\
  1.1161 +    Processor {0} matches {1} and returns {2}.
  1.1162 +
  1.1163 +# 0: number, 1: string, 2: set of symbol, 3: boolean
  1.1164 +compiler.misc.x.print.rounds=\
  1.1165 +    Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
  1.1166 +
  1.1167 +#####
  1.1168 +
  1.1169 +## The following string will appear before all messages keyed as:
  1.1170 +## "compiler.note".
  1.1171 +
  1.1172 +compiler.note.compressed.diags=\
  1.1173 +    Some messages have been simplified; recompile with -Xdiags:verbose to get full output
  1.1174 +
  1.1175 +compiler.note.potential.lambda.found=\
  1.1176 +    This anonymous inner class creation can be turned into a lambda expression.
  1.1177 +
  1.1178 +# 0: boolean, 1: symbol
  1.1179 +compiler.note.lambda.stat=\
  1.1180 +    Translating lambda expression\n\
  1.1181 +    alternate metafactory = {0}\n\
  1.1182 +    synthetic method = {1}
  1.1183 +
  1.1184 +# 0: boolean, 1: unused
  1.1185 +compiler.note.mref.stat=\
  1.1186 +    Translating method reference\n\
  1.1187 +    alternate metafactory = {0}\n\
  1.1188 +
  1.1189 +# 0: boolean, 1: symbol
  1.1190 +compiler.note.mref.stat.1=\
  1.1191 +    Translating method reference\n\
  1.1192 +    alternate metafactory = {0}\n\
  1.1193 +    bridge method = {1}
  1.1194 +
  1.1195 +compiler.note.note=\
  1.1196 +    Note:\u0020
  1.1197 +
  1.1198 +# 0: file name
  1.1199 +compiler.note.deprecated.filename=\
  1.1200 +    {0} uses or overrides a deprecated API.
  1.1201 +
  1.1202 +compiler.note.deprecated.plural=\
  1.1203 +    Some input files use or override a deprecated API.
  1.1204 +
  1.1205 +# The following string may appear after one of the above deprecation
  1.1206 +# messages.
  1.1207 +compiler.note.deprecated.recompile=\
  1.1208 +    Recompile with -Xlint:deprecation for details.
  1.1209 +
  1.1210 +# 0: file name
  1.1211 +compiler.note.deprecated.filename.additional=\
  1.1212 +    {0} has additional uses or overrides of a deprecated API.
  1.1213 +
  1.1214 +compiler.note.deprecated.plural.additional=\
  1.1215 +    Some input files additionally use or override a deprecated API.
  1.1216 +
  1.1217 +# 0: file name
  1.1218 +compiler.note.unchecked.filename=\
  1.1219 +    {0} uses unchecked or unsafe operations.
  1.1220 +
  1.1221 +compiler.note.unchecked.plural=\
  1.1222 +    Some input files use unchecked or unsafe operations.
  1.1223 +
  1.1224 +# The following string may appear after one of the above deprecation
  1.1225 +# messages.
  1.1226 +compiler.note.unchecked.recompile=\
  1.1227 +    Recompile with -Xlint:unchecked for details.
  1.1228 +
  1.1229 +# 0: file name
  1.1230 +compiler.note.unchecked.filename.additional=\
  1.1231 +    {0} has additional unchecked or unsafe operations.
  1.1232 +
  1.1233 +compiler.note.unchecked.plural.additional=\
  1.1234 +    Some input files additionally use unchecked or unsafe operations.
  1.1235 +
  1.1236 +# 0: file name
  1.1237 +compiler.note.sunapi.filename=\
  1.1238 +    {0} uses internal proprietary API that may be removed in a future release.
  1.1239 +
  1.1240 +compiler.note.sunapi.plural=\
  1.1241 +    Some input files use internal proprietary API that may be removed in a future release.
  1.1242 +
  1.1243 +# The following string may appear after one of the above sunapi messages.
  1.1244 +compiler.note.sunapi.recompile=\
  1.1245 +    Recompile with -Xlint:sunapi for details.
  1.1246 +
  1.1247 +# 0: file name
  1.1248 +compiler.note.sunapi.filename.additional=\
  1.1249 +    {0} uses additional internal proprietary API that may be removed in a future release.
  1.1250 +
  1.1251 +compiler.note.sunapi.plural.additional=\
  1.1252 +    Some input files additionally use internal proprietary API that may be removed in a future release.
  1.1253 +
  1.1254 +# Notes related to annotation processing
  1.1255 +
  1.1256 +# Print a client-generated note; assumed to be localized, no translation required
  1.1257 +# 0: string
  1.1258 +compiler.note.proc.messager=\
  1.1259 +    {0}
  1.1260 +
  1.1261 +#####
  1.1262 +
  1.1263 +# 0: number
  1.1264 +compiler.misc.count.error=\
  1.1265 +    {0} error
  1.1266 +
  1.1267 +# 0: number
  1.1268 +compiler.misc.count.error.plural=\
  1.1269 +    {0} errors
  1.1270 +
  1.1271 +# 0: number
  1.1272 +compiler.misc.count.warn=\
  1.1273 +    {0} warning
  1.1274 +
  1.1275 +# 0: number
  1.1276 +compiler.misc.count.warn.plural=\
  1.1277 +    {0} warnings
  1.1278 +
  1.1279 +compiler.misc.version.not.available=\
  1.1280 +    (version info not available)
  1.1281 +
  1.1282 +## extra output when using -verbose (JavaCompiler)
  1.1283 +
  1.1284 +# 0: symbol
  1.1285 +compiler.misc.verbose.checking.attribution=\
  1.1286 +    [checking {0}]
  1.1287 +
  1.1288 +# 0: string
  1.1289 +compiler.misc.verbose.parsing.done=\
  1.1290 +    [parsing completed {0}ms]
  1.1291 +
  1.1292 +# 0: file name
  1.1293 +compiler.misc.verbose.parsing.started=\
  1.1294 +    [parsing started {0}]
  1.1295 +
  1.1296 +# 0: string
  1.1297 +compiler.misc.verbose.total=\
  1.1298 +    [total {0}ms]
  1.1299 +
  1.1300 +# 0: file name
  1.1301 +compiler.misc.verbose.wrote.file=\
  1.1302 +    [wrote {0}]
  1.1303 +
  1.1304 +## extra output when using -verbose (Retro)
  1.1305 +compiler.misc.verbose.retro=\
  1.1306 +    [retrofitting {0}]
  1.1307 +
  1.1308 +compiler.misc.verbose.retro.with=\
  1.1309 +    \tretrofitting {0} with {1}
  1.1310 +
  1.1311 +compiler.misc.verbose.retro.with.list=\
  1.1312 +    \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
  1.1313 +
  1.1314 +## extra output when using -verbose (code/ClassReader)
  1.1315 +# 0: string
  1.1316 +compiler.misc.verbose.loading=\
  1.1317 +    [loading {0}]
  1.1318 +
  1.1319 +# 0: string
  1.1320 +compiler.misc.verbose.sourcepath=\
  1.1321 +    [search path for source files: {0}]
  1.1322 +
  1.1323 +# 0: string
  1.1324 +compiler.misc.verbose.classpath=\
  1.1325 +    [search path for class files: {0}]
  1.1326 +
  1.1327 +## extra output when using -checkclassfile (code/ClassReader)
  1.1328 +compiler.misc.ccf.found.later.version=\
  1.1329 +    class file has later version than expected: {0}
  1.1330 +
  1.1331 +compiler.misc.ccf.unrecognized.attribute=\
  1.1332 +    unrecognized attribute: {0}
  1.1333 +
  1.1334 +## extra output when using -prompt (util/Log)
  1.1335 +compiler.misc.resume.abort=\
  1.1336 +    R)esume, A)bort>
  1.1337 +
  1.1338 +#####
  1.1339 +
  1.1340 +##
  1.1341 +## warnings
  1.1342 +##
  1.1343 +
  1.1344 +## All warning messages are preceded by the following string.
  1.1345 +compiler.warn.warning=\
  1.1346 +    warning:\u0020
  1.1347 +
  1.1348 +## Warning messages may also include the following prefix to identify a
  1.1349 +## lint option
  1.1350 +# 0: option name
  1.1351 +compiler.warn.lintOption=\
  1.1352 +    [{0}]\u0020
  1.1353 +
  1.1354 +# 0: symbol
  1.1355 +compiler.warn.constant.SVUID=\
  1.1356 +    serialVersionUID must be constant in class {0}
  1.1357 +
  1.1358 +# 0: file name
  1.1359 +compiler.warn.dir.path.element.not.found=\
  1.1360 +    bad path element "{0}": no such directory
  1.1361 +
  1.1362 +compiler.warn.finally.cannot.complete=\
  1.1363 +    finally clause cannot complete normally
  1.1364 +
  1.1365 +# 0: symbol, 1: symbol
  1.1366 +compiler.warn.has.been.deprecated=\
  1.1367 +    {0} in {1} has been deprecated
  1.1368 +
  1.1369 +# 0: symbol
  1.1370 +compiler.warn.sun.proprietary=\
  1.1371 +    {0} is internal proprietary API and may be removed in a future release
  1.1372 +
  1.1373 +compiler.warn.illegal.char.for.encoding=\
  1.1374 +    unmappable character for encoding {0}
  1.1375 +
  1.1376 +# 0: symbol
  1.1377 +compiler.warn.improper.SVUID=\
  1.1378 +    serialVersionUID must be declared static final in class {0}
  1.1379 +
  1.1380 +# 0: type, 1: type
  1.1381 +compiler.warn.inexact.non-varargs.call=\
  1.1382 +    non-varargs call of varargs method with inexact argument type for last parameter;\n\
  1.1383 +    cast to {0} for a varargs call\n\
  1.1384 +    cast to {1} for a non-varargs call and to suppress this warning
  1.1385 +
  1.1386 +# 0: list of type
  1.1387 +compiler.warn.unreachable.catch=\
  1.1388 +    unreachable catch clause\n\
  1.1389 +    thrown type {0} has already been caught
  1.1390 +
  1.1391 +# 0: list of type
  1.1392 +compiler.warn.unreachable.catch.1=\
  1.1393 +    unreachable catch clause\n\
  1.1394 +    thrown types {0} have already been caught
  1.1395 +
  1.1396 +# 0: symbol
  1.1397 +compiler.warn.long.SVUID=\
  1.1398 +    serialVersionUID must be of type long in class {0}
  1.1399 +
  1.1400 +# 0: symbol
  1.1401 +compiler.warn.missing.SVUID=\
  1.1402 +    serializable class {0} has no definition of serialVersionUID
  1.1403 +
  1.1404 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.1405 +compiler.warn.potentially.ambiguous.overload=\
  1.1406 +    {0} in {1} is potentially ambiguous with {2} in {3}
  1.1407 +
  1.1408 +# 0: message segment
  1.1409 +compiler.warn.override.varargs.missing=\
  1.1410 +    {0}; overridden method has no ''...''
  1.1411 +
  1.1412 +# 0: message segment
  1.1413 +compiler.warn.override.varargs.extra=\
  1.1414 +    {0}; overriding method is missing ''...''
  1.1415 +
  1.1416 +compiler.warn.override.bridge=\
  1.1417 +    {0}; overridden method is a bridge method
  1.1418 +
  1.1419 +# 0: symbol
  1.1420 +compiler.warn.pkg-info.already.seen=\
  1.1421 +    a package-info.java file has already been seen for package {0}
  1.1422 +
  1.1423 +# 0: file name
  1.1424 +compiler.warn.path.element.not.found=\
  1.1425 +    bad path element "{0}": no such file or directory
  1.1426 +
  1.1427 +compiler.warn.possible.fall-through.into.case=\
  1.1428 +    possible fall-through into case
  1.1429 +
  1.1430 +# 0: type
  1.1431 +compiler.warn.redundant.cast=\
  1.1432 +    redundant cast to {0}
  1.1433 +
  1.1434 +# 0: number
  1.1435 +compiler.warn.position.overflow=\
  1.1436 +    Position encoding overflows at line {0}
  1.1437 +
  1.1438 +# 0: file name, 1: number, 2: number
  1.1439 +compiler.warn.big.major.version=\
  1.1440 +    {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
  1.1441 +    It is recommended that the compiler be upgraded.
  1.1442 +
  1.1443 +# 0: symbol kind, 1: symbol
  1.1444 +compiler.warn.static.not.qualified.by.type=\
  1.1445 +    static {0} should be qualified by type name, {1}, instead of by an expression
  1.1446 +
  1.1447 +# 0: string
  1.1448 +compiler.warn.source.no.bootclasspath=\
  1.1449 +    bootstrap class path not set in conjunction with -source {0}
  1.1450 +
  1.1451 +# 0: string
  1.1452 +compiler.warn.option.obsolete.source=\
  1.1453 +    source value {0} is obsolete and will be removed in a future release
  1.1454 +
  1.1455 +# 0: string
  1.1456 +compiler.warn.option.obsolete.target=\
  1.1457 +    target value {0} is obsolete and will be removed in a future release
  1.1458 +
  1.1459 +compiler.warn.option.obsolete.suppression=\
  1.1460 +    To suppress warnings about obsolete options, use -Xlint:-options.
  1.1461 +
  1.1462 +# 0: name, 1: number, 2: number, 3: number, 4: number
  1.1463 +compiler.warn.future.attr=\
  1.1464 +    {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files
  1.1465 +
  1.1466 +# Warnings related to annotation processing
  1.1467 +# 0: name
  1.1468 +compiler.warn.proc.package.does.not.exist=\
  1.1469 +    package {0} does not exist
  1.1470 +
  1.1471 +# 0: name
  1.1472 +compiler.warn.proc.file.reopening=\
  1.1473 +    Attempt to create a file for ''{0}'' multiple times
  1.1474 +
  1.1475 +# 0: name
  1.1476 +compiler.warn.proc.type.already.exists=\
  1.1477 +    A file for type ''{0}'' already exists on the sourcepath or classpath
  1.1478 +
  1.1479 +# 0: name
  1.1480 +compiler.warn.proc.type.recreate=\
  1.1481 +    Attempt to create a file for type ''{0}'' multiple times
  1.1482 +
  1.1483 +# 0: string
  1.1484 +compiler.warn.proc.illegal.file.name=\
  1.1485 +    Cannot create file for illegal name ''{0}''.
  1.1486 +
  1.1487 +# 0: string, 1: string
  1.1488 +compiler.warn.proc.suspicious.class.name=\
  1.1489 +    Creating file for a type whose name ends in {1}: ''{0}''
  1.1490 +
  1.1491 +# 0: name
  1.1492 +compiler.warn.proc.file.create.last.round=\
  1.1493 +    File for type ''{0}'' created in the last round will not be subject to annotation processing.
  1.1494 +
  1.1495 +# 0: string, 1: string
  1.1496 +compiler.warn.proc.malformed.supported.string=\
  1.1497 +    Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
  1.1498 +
  1.1499 +# 0: set of string
  1.1500 +compiler.warn.proc.annotations.without.processors=\
  1.1501 +    No processor claimed any of these annotations: {0}
  1.1502 +
  1.1503 +# 0: source version, 1: string, 2: string
  1.1504 +compiler.warn.proc.processor.incompatible.source.version=\
  1.1505 +    Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
  1.1506 +
  1.1507 +compiler.warn.proc.proc-only.requested.no.procs=\
  1.1508 +    Annotation processing without compilation requested but no processors were found.
  1.1509 +
  1.1510 +compiler.warn.proc.use.implicit=\
  1.1511 +    Implicitly compiled files were not subject to annotation processing.\n\
  1.1512 +    Use -implicit to specify a policy for implicit compilation.
  1.1513 +
  1.1514 +compiler.warn.proc.use.proc.or.implicit=\
  1.1515 +    Implicitly compiled files were not subject to annotation processing.\n\
  1.1516 +    Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
  1.1517 +
  1.1518 +# Print a client-generated warning; assumed to be localized, no translation required
  1.1519 +# 0: string
  1.1520 +compiler.warn.proc.messager=\
  1.1521 +    {0}
  1.1522 +
  1.1523 +# 0: set of name
  1.1524 +compiler.warn.proc.unclosed.type.files=\
  1.1525 +    Unclosed files for the types ''{0}''; these types will not undergo annotation processing
  1.1526 +
  1.1527 +# 0: string
  1.1528 +compiler.warn.proc.unmatched.processor.options=\
  1.1529 +    The following options were not recognized by any processor: ''{0}''
  1.1530 +
  1.1531 +compiler.warn.try.explicit.close.call=\
  1.1532 +    explicit call to close() on an auto-closeable resource
  1.1533 +
  1.1534 +# 0: symbol
  1.1535 +compiler.warn.try.resource.not.referenced=\
  1.1536 +    auto-closeable resource {0} is never referenced in body of corresponding try statement
  1.1537 +
  1.1538 +# 0: type
  1.1539 +compiler.warn.try.resource.throws.interrupted.exc=\
  1.1540 +    auto-closeable resource {0} has a member method close() that could throw InterruptedException
  1.1541 +
  1.1542 +compiler.warn.unchecked.assign=\
  1.1543 +    unchecked assignment: {0} to {1}
  1.1544 +
  1.1545 +# 0: symbol, 1: type
  1.1546 +compiler.warn.unchecked.assign.to.var=\
  1.1547 +    unchecked assignment to variable {0} as member of raw type {1}
  1.1548 +
  1.1549 +# 0: symbol, 1: type
  1.1550 +compiler.warn.unchecked.call.mbr.of.raw.type=\
  1.1551 +    unchecked call to {0} as a member of the raw type {1}
  1.1552 +
  1.1553 +compiler.warn.unchecked.cast.to.type=\
  1.1554 +    unchecked cast to type {0}
  1.1555 +
  1.1556 +# 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol
  1.1557 +compiler.warn.unchecked.meth.invocation.applied=\
  1.1558 +    unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
  1.1559 +    required: {2}\n\
  1.1560 +    found: {3}
  1.1561 +
  1.1562 +# 0: type
  1.1563 +compiler.warn.unchecked.generic.array.creation=\
  1.1564 +    unchecked generic array creation for varargs parameter of type {0}
  1.1565 +
  1.1566 +# 0: type
  1.1567 +compiler.warn.unchecked.varargs.non.reifiable.type=\
  1.1568 +    Possible heap pollution from parameterized vararg type {0}
  1.1569 +
  1.1570 +# 0: symbol
  1.1571 +compiler.warn.varargs.unsafe.use.varargs.param=\
  1.1572 +    Varargs method could cause heap pollution from non-reifiable varargs parameter {0}
  1.1573 +
  1.1574 +compiler.warn.missing.deprecated.annotation=\
  1.1575 +    deprecated item is not annotated with @Deprecated
  1.1576 +
  1.1577 +compiler.warn.invalid.archive.file=\
  1.1578 +    Unexpected file on path: {0}
  1.1579 +
  1.1580 +compiler.warn.unexpected.archive.file=\
  1.1581 +    Unexpected extension for archive file: {0}
  1.1582 +
  1.1583 +compiler.warn.div.zero=\
  1.1584 +    division by zero
  1.1585 +
  1.1586 +compiler.warn.empty.if=\
  1.1587 +    empty statement after if
  1.1588 +
  1.1589 +compiler.warn.annotation.method.not.found=\
  1.1590 +    Cannot find annotation method ''{1}()'' in type ''{0}''
  1.1591 +
  1.1592 +compiler.warn.annotation.method.not.found.reason=\
  1.1593 +    Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
  1.1594 +
  1.1595 +# 0: symbol, 1: name
  1.1596 +compiler.warn.unknown.enum.constant=\
  1.1597 +    unknown enum constant {1}.{2}
  1.1598 +
  1.1599 +# 0: symbol, 1: name, 2: message segment
  1.1600 +compiler.warn.unknown.enum.constant.reason=\
  1.1601 +    unknown enum constant {1}.{2}\n\
  1.1602 +    reason: {3}
  1.1603 +
  1.1604 +# 0: type, 1: type
  1.1605 +compiler.warn.raw.class.use=\
  1.1606 +    found raw type: {0}\n\
  1.1607 +    missing type arguments for generic class {1}
  1.1608 +
  1.1609 +# 0: unused, 1: unused
  1.1610 +compiler.warn.diamond.redundant.args=\
  1.1611 +    redundant type arguments in new expression (use diamond operator instead).
  1.1612 +
  1.1613 +# 0: type, 1: type
  1.1614 +compiler.warn.diamond.redundant.args.1=\
  1.1615 +    redundant type arguments in new expression (use diamond operator instead).\n\
  1.1616 +    explicit: {0}\n\
  1.1617 +    inferred: {1}
  1.1618 +
  1.1619 +# 0: symbol, 1: message segment
  1.1620 +compiler.warn.varargs.redundant.trustme.anno=\
  1.1621 +    Redundant {0} annotation. {1}
  1.1622 +
  1.1623 +# 0: symbol
  1.1624 +compiler.warn.access.to.sensitive.member.from.serializable.element=\
  1.1625 +    access to sensitive member {0} from serializable element can be publicly accessible to untrusted code
  1.1626 +
  1.1627 +#####
  1.1628 +
  1.1629 +## The following are tokens which are non-terminals in the language. They should
  1.1630 +## be named as JLS3 calls them when translated to the appropriate language.
  1.1631 +compiler.misc.token.identifier=\
  1.1632 +    <identifier>
  1.1633 +
  1.1634 +compiler.misc.token.character=\
  1.1635 +    <character>
  1.1636 +
  1.1637 +compiler.misc.token.string=\
  1.1638 +    <string>
  1.1639 +
  1.1640 +compiler.misc.token.integer=\
  1.1641 +    <integer>
  1.1642 +
  1.1643 +compiler.misc.token.long-integer=\
  1.1644 +    <long integer>
  1.1645 +
  1.1646 +compiler.misc.token.float=\
  1.1647 +    <float>
  1.1648 +
  1.1649 +compiler.misc.token.double=\
  1.1650 +    <double>
  1.1651 +
  1.1652 +compiler.misc.token.bad-symbol=\
  1.1653 +    <bad symbol>
  1.1654 +
  1.1655 +compiler.misc.token.end-of-input=\
  1.1656 +    <end of input>
  1.1657 +
  1.1658 +## The argument to the following string will always be one of the following:
  1.1659 +## 1. one of the above non-terminals
  1.1660 +## 2. a keyword (JLS1.8)
  1.1661 +## 3. a boolean literal (JLS3.10.3)
  1.1662 +## 4. the null literal (JLS3.10.7)
  1.1663 +## 5. a Java separator (JLS3.11)
  1.1664 +## 6. an operator (JLS3.12)
  1.1665 +##
  1.1666 +## This is the only place these tokens will be used.
  1.1667 +# 0: token
  1.1668 +compiler.err.expected=\
  1.1669 +    {0} expected
  1.1670 +
  1.1671 +# 0: token, 1: token
  1.1672 +compiler.err.expected2=\
  1.1673 +    {0} or {1} expected
  1.1674 +
  1.1675 +# 0: token, 1: token, 2: token
  1.1676 +compiler.err.expected3=\
  1.1677 +    {0}, {1}, or {2} expected
  1.1678 +
  1.1679 +compiler.err.premature.eof=\
  1.1680 +    reached end of file while parsing
  1.1681 +
  1.1682 +## The following are related in form, but do not easily fit the above paradigm.
  1.1683 +compiler.err.dot.class.expected=\
  1.1684 +    ''.class'' expected
  1.1685 +
  1.1686 +## The argument to this string will always be either 'case' or 'default'.
  1.1687 +# 0: token
  1.1688 +compiler.err.orphaned=\
  1.1689 +    orphaned {0}
  1.1690 +
  1.1691 +# 0: name
  1.1692 +compiler.misc.anonymous.class=\
  1.1693 +    <anonymous {0}>
  1.1694 +
  1.1695 +# 0: name, 1: type
  1.1696 +compiler.misc.type.captureof=\
  1.1697 +    capture#{0} of {1}
  1.1698 +
  1.1699 +compiler.misc.type.captureof.1=\
  1.1700 +    capture#{0}
  1.1701 +
  1.1702 +compiler.misc.type.none=\
  1.1703 +    <none>
  1.1704 +
  1.1705 +compiler.misc.unnamed.package=\
  1.1706 +    unnamed package
  1.1707 +
  1.1708 +#####
  1.1709 +
  1.1710 +# 0: symbol, 1: message segment
  1.1711 +compiler.err.cant.access=\
  1.1712 +    cannot access {0}\n\
  1.1713 +    {1}
  1.1714 +
  1.1715 +# 0: file name, 1: expected CP entry type, 2: constant pool index
  1.1716 +compiler.misc.bad.const.pool.entry=\
  1.1717 +    bad constant pool entry in {0}\n\
  1.1718 +    expected {1} at index {2}
  1.1719 +
  1.1720 +# 0: file name, 1: message segment
  1.1721 +compiler.misc.bad.class.file.header=\
  1.1722 +    bad class file: {0}\n\
  1.1723 +    {1}\n\
  1.1724 +    Please remove or make sure it appears in the correct subdirectory of the classpath.
  1.1725 +
  1.1726 +# 0: file name, 1: message segment
  1.1727 +compiler.misc.bad.source.file.header=\
  1.1728 +    bad source file: {0}\n\
  1.1729 +    {1}\n\
  1.1730 +    Please remove or make sure it appears in the correct subdirectory of the sourcepath.
  1.1731 +
  1.1732 +## The following are all possible strings for the second argument ({1}) of the
  1.1733 +## above strings.
  1.1734 +compiler.misc.bad.class.signature=\
  1.1735 +    bad class signature: {0}
  1.1736 +
  1.1737 +#0: symbol, 1: symbol
  1.1738 +compiler.misc.bad.enclosing.class=\
  1.1739 +    bad enclosing class for {0}: {1}
  1.1740 +
  1.1741 +# 0: symbol
  1.1742 +compiler.misc.bad.enclosing.method=\
  1.1743 +    bad enclosing method attribute for class {0}
  1.1744 +
  1.1745 +compiler.misc.bad.runtime.invisible.param.annotations=\
  1.1746 +    bad RuntimeInvisibleParameterAnnotations attribute: {0}
  1.1747 +
  1.1748 +compiler.misc.bad.const.pool.tag=\
  1.1749 +    bad constant pool tag: {0}
  1.1750 +
  1.1751 +compiler.misc.bad.const.pool.tag.at=\
  1.1752 +    bad constant pool tag: {0} at {1}
  1.1753 +
  1.1754 +compiler.misc.bad.signature=\
  1.1755 +    bad signature: {0}
  1.1756 +
  1.1757 +compiler.misc.bad.type.annotation.value=\
  1.1758 +    bad type annotation target type value: {0}
  1.1759 +
  1.1760 +compiler.misc.class.file.wrong.class=\
  1.1761 +    class file contains wrong class: {0}
  1.1762 +
  1.1763 +compiler.misc.class.file.not.found=\
  1.1764 +    class file for {0} not found
  1.1765 +
  1.1766 +# 0: classfile major version, 1: classfile minor version
  1.1767 +compiler.misc.invalid.default.interface=\
  1.1768 +    default method found in version {0}.{1} classfile
  1.1769 +
  1.1770 +# 0: classfile major version, 1: classfile minor version
  1.1771 +compiler.misc.invalid.static.interface=\
  1.1772 +    static method found in version {0}.{1} classfile
  1.1773 +
  1.1774 +# 0: name
  1.1775 +compiler.misc.file.doesnt.contain.class=\
  1.1776 +    file does not contain class {0}
  1.1777 +
  1.1778 +compiler.misc.file.does.not.contain.package=\
  1.1779 +    file does not contain package {0}
  1.1780 +
  1.1781 +compiler.misc.illegal.start.of.class.file=\
  1.1782 +    illegal start of class file
  1.1783 +
  1.1784 +compiler.misc.unable.to.access.file=\
  1.1785 +    unable to access file: {0}
  1.1786 +
  1.1787 +compiler.misc.unicode.str.not.supported=\
  1.1788 +    unicode string in class file not supported
  1.1789 +
  1.1790 +compiler.misc.undecl.type.var=\
  1.1791 +    undeclared type variable: {0}
  1.1792 +
  1.1793 +compiler.misc.wrong.version=\
  1.1794 +    class file has wrong version {0}.{1}, should be {2}.{3}
  1.1795 +
  1.1796 +#####
  1.1797 +
  1.1798 +# 0: type, 1: type or symbol
  1.1799 +compiler.err.not.within.bounds=\
  1.1800 +    type argument {0} is not within bounds of type-variable {1}
  1.1801 +
  1.1802 +## The following are all possible strings for the second argument ({1}) of the
  1.1803 +## above string.
  1.1804 +
  1.1805 +## none yet...
  1.1806 +
  1.1807 +#####
  1.1808 +
  1.1809 +# 0: message segment
  1.1810 +compiler.err.prob.found.req=\
  1.1811 +    incompatible types: {0}
  1.1812 +
  1.1813 +# 0: message segment
  1.1814 +compiler.misc.prob.found.req=\
  1.1815 +    incompatible types: {0}
  1.1816 +
  1.1817 +# 0: message segment, 1: type, 2: type
  1.1818 +compiler.warn.prob.found.req=\
  1.1819 +    {0}\n\
  1.1820 +    required: {2}\n\
  1.1821 +    found:    {1}
  1.1822 +
  1.1823 +# 0: type, 1: type
  1.1824 +compiler.misc.inconvertible.types=\
  1.1825 +    {0} cannot be converted to {1}
  1.1826 +
  1.1827 +# 0: type, 1: type
  1.1828 +compiler.misc.possible.loss.of.precision=\
  1.1829 +    possible lossy conversion from {0} to {1}
  1.1830 +
  1.1831 +compiler.misc.unchecked.assign=\
  1.1832 +    unchecked conversion
  1.1833 +
  1.1834 +# compiler.misc.storecheck=\
  1.1835 +#     assignment might cause later store checks to fail
  1.1836 +# compiler.misc.unchecked=\
  1.1837 +#     assigned array cannot dynamically check its stores
  1.1838 +compiler.misc.unchecked.cast.to.type=\
  1.1839 +    unchecked cast
  1.1840 +
  1.1841 +# compiler.err.star.expected=\
  1.1842 +#     ''*'' expected
  1.1843 +# compiler.err.no.elem.type=\
  1.1844 +#     \[\*\] cannot have a type
  1.1845 +
  1.1846 +# 0: type
  1.1847 +compiler.misc.try.not.applicable.to.type=\
  1.1848 +    try-with-resources not applicable to variable type\n\
  1.1849 +    ({0})
  1.1850 +
  1.1851 +#####
  1.1852 +
  1.1853 +# 0: message segment or type, 1: message segment
  1.1854 +compiler.err.type.found.req=\
  1.1855 +    unexpected type\n\
  1.1856 +    required: {1}\n\
  1.1857 +    found:    {0}
  1.1858 +
  1.1859 +## The following are all possible strings for the first argument ({0}) of the
  1.1860 +## above string.
  1.1861 +compiler.misc.type.req.class=\
  1.1862 +    class
  1.1863 +
  1.1864 +compiler.misc.type.req.class.array=\
  1.1865 +    class or array
  1.1866 +
  1.1867 +compiler.misc.type.req.array.or.iterable=\
  1.1868 +    array or java.lang.Iterable
  1.1869 +
  1.1870 +compiler.misc.type.req.ref=\
  1.1871 +    reference
  1.1872 +
  1.1873 +compiler.misc.type.req.exact=\
  1.1874 +    class or interface without bounds
  1.1875 +
  1.1876 +# 0: type
  1.1877 +compiler.misc.type.parameter=\
  1.1878 +    type parameter {0}
  1.1879 +
  1.1880 +#####
  1.1881 +
  1.1882 +## The following are all possible strings for the last argument of all those
  1.1883 +## diagnostics whose key ends in ".1"
  1.1884 +
  1.1885 +# 0: type, 1: list of type
  1.1886 +compiler.misc.no.unique.maximal.instance.exists=\
  1.1887 +    no unique maximal instance exists for type variable {0} with upper bounds {1}
  1.1888 +
  1.1889 +compiler.misc.no.unique.minimal.instance.exists=\
  1.1890 +    no unique minimal instance exists for type variable {0} with lower bounds {1}
  1.1891 +
  1.1892 +# 0: type, 1: list of type
  1.1893 +compiler.misc.incompatible.upper.bounds=\
  1.1894 +    inference variable {0} has incompatible upper bounds {1}
  1.1895 +
  1.1896 +# 0: type, 1: list of type, 2: list of type
  1.1897 +compiler.misc.incompatible.eq.upper.bounds=\
  1.1898 +    inference variable {0} has incompatible bounds\n\
  1.1899 +    equality constraints: {1}\n\
  1.1900 +    upper bounds: {2}
  1.1901 +
  1.1902 +# 0: type, 1: list of type, 2: list of type
  1.1903 +compiler.misc.incompatible.eq.lower.bounds=\
  1.1904 +    inference variable {0} has incompatible bounds\n\
  1.1905 +    equality constraints: {1}\n\
  1.1906 +    lower bounds: {2}
  1.1907 +
  1.1908 +# 0: list of type, 1: type, 2: type
  1.1909 +compiler.misc.infer.no.conforming.instance.exists=\
  1.1910 +    no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
  1.1911 +
  1.1912 +# 0: list of type, 1: message segment
  1.1913 +compiler.misc.infer.no.conforming.assignment.exists=\
  1.1914 +    cannot infer type-variable(s) {0}\n\
  1.1915 +    (argument mismatch; {1})
  1.1916 +
  1.1917 +# 0: list of type
  1.1918 +compiler.misc.infer.arg.length.mismatch=\
  1.1919 +    cannot infer type-variable(s) {0}\n\
  1.1920 +    (actual and formal argument lists differ in length)
  1.1921 +
  1.1922 +# 0: list of type, 1: message segment
  1.1923 +compiler.misc.infer.varargs.argument.mismatch=\
  1.1924 +    cannot infer type-variable(s) {0}\n\
  1.1925 +    (varargs mismatch; {1})
  1.1926 +
  1.1927 +# 0: type, 1: list of type
  1.1928 +compiler.misc.inferred.do.not.conform.to.upper.bounds=\
  1.1929 +    inferred type does not conform to upper bound(s)\n\
  1.1930 +    inferred: {0}\n\
  1.1931 +    upper bound(s): {1}
  1.1932 +
  1.1933 +# 0: type, 1: list of type
  1.1934 +compiler.misc.inferred.do.not.conform.to.lower.bounds=\
  1.1935 +    inferred type does not conform to lower bound(s)\n\
  1.1936 +    inferred: {0}\n\
  1.1937 +    lower bound(s): {1}
  1.1938 +
  1.1939 +# 0: type, 1: list of type
  1.1940 +compiler.misc.inferred.do.not.conform.to.eq.bounds=\
  1.1941 +    inferred type does not conform to equality constraint(s)\n\
  1.1942 +    inferred: {0}\n\
  1.1943 +    equality constraints(s): {1}
  1.1944 +
  1.1945 +# 0: symbol
  1.1946 +compiler.misc.diamond=\
  1.1947 +    {0}<>
  1.1948 +
  1.1949 +# 0: type
  1.1950 +compiler.misc.diamond.non.generic=\
  1.1951 +    cannot use ''<>'' with non-generic class {0}
  1.1952 +
  1.1953 +# 0: unused
  1.1954 +compiler.misc.diamond.and.explicit.params=\
  1.1955 +    cannot use ''<>'' with explicit type parameters for constructor
  1.1956 +
  1.1957 +# 0: unused
  1.1958 +compiler.misc.mref.infer.and.explicit.params=\
  1.1959 +    cannot use raw constructor reference with explicit type parameters for constructor
  1.1960 +
  1.1961 +# 0: type, 1: list of type
  1.1962 +compiler.misc.explicit.param.do.not.conform.to.bounds=\
  1.1963 +    explicit type argument {0} does not conform to declared bound(s) {1}
  1.1964 +
  1.1965 +compiler.misc.arg.length.mismatch=\
  1.1966 +    actual and formal argument lists differ in length
  1.1967 +
  1.1968 +# 0: message segment
  1.1969 +compiler.misc.no.conforming.assignment.exists=\
  1.1970 +    argument mismatch; {0}
  1.1971 +
  1.1972 +# 0: message segment
  1.1973 +compiler.misc.varargs.argument.mismatch=\
  1.1974 +    varargs mismatch; {0}
  1.1975 +
  1.1976 +#####
  1.1977 +
  1.1978 +# 0: symbol or type, 1: file name
  1.1979 +compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\
  1.1980 +    auxiliary class {0} in {1} should not be accessed from outside its own source file
  1.1981 +
  1.1982 +## The first argument ({0}) is a "kindname".
  1.1983 +# 0: symbol kind, 1: symbol, 2: symbol
  1.1984 +compiler.err.abstract.cant.be.accessed.directly=\
  1.1985 +    abstract {0} {1} in {2} cannot be accessed directly
  1.1986 +
  1.1987 +## The first argument ({0}) is a "kindname".
  1.1988 +# 0: symbol kind, 1: symbol
  1.1989 +compiler.err.non-static.cant.be.ref=\
  1.1990 +    non-static {0} {1} cannot be referenced from a static context
  1.1991 +
  1.1992 +# 0: symbol kind, 1: symbol
  1.1993 +compiler.misc.non-static.cant.be.ref=\
  1.1994 +    non-static {0} {1} cannot be referenced from a static context
  1.1995 +
  1.1996 +# 0: symbol kind, 1: symbol
  1.1997 +compiler.misc.static.method.in.unbound.lookup=\
  1.1998 +    static {0} {1} found in unbound lookup
  1.1999 +
  1.2000 +## Both arguments ({0}, {1}) are "kindname"s.  {0} is a comma-separated list
  1.2001 +## of kindnames (the list should be identical to that provided in source.
  1.2002 +compiler.err.unexpected.type=\
  1.2003 +    unexpected type\n\
  1.2004 +    required: {0}\n\
  1.2005 +    found:    {1}
  1.2006 +
  1.2007 +compiler.err.unexpected.lambda=\
  1.2008 +   lambda expression not expected here
  1.2009 +
  1.2010 +compiler.err.unexpected.mref=\
  1.2011 +   method reference not expected here
  1.2012 +
  1.2013 +## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.)
  1.2014 +## The second argument {1} is the non-resolved symbol
  1.2015 +## The third argument {2} is a list of type parameters (non-empty if {1} is a method)
  1.2016 +## The fourth argument {3} is a list of argument types (non-empty if {1} is a method)
  1.2017 +# 0: symbol kind, 1: name, 2: unused, 3: unused
  1.2018 +compiler.err.cant.resolve=\
  1.2019 +    cannot find symbol\n\
  1.2020 +    symbol: {0} {1}
  1.2021 +
  1.2022 +# 0: symbol kind, 1: name, 2: unused, 3: list of type
  1.2023 +compiler.err.cant.resolve.args=\
  1.2024 +    cannot find symbol\n\
  1.2025 +    symbol: {0} {1}({3})
  1.2026 +
  1.2027 +# 0: symbol kind, 1: name, 2: list of type, 3: list of type
  1.2028 +compiler.err.cant.resolve.args.params=\
  1.2029 +    cannot find symbol\n\
  1.2030 +    symbol: {0} <{2}>{1}({3})
  1.2031 +
  1.2032 +## arguments from {0} to {3} have the same meaning as above
  1.2033 +## The fifth argument {4} is a location subdiagnostic (see below)
  1.2034 +# 0: symbol kind, 1: name, 2: unused, 3: unused, 4: message segment
  1.2035 +compiler.err.cant.resolve.location=\
  1.2036 +    cannot find symbol\n\
  1.2037 +    symbol:   {0} {1}\n\
  1.2038 +    location: {4}
  1.2039 +
  1.2040 +# 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
  1.2041 +compiler.err.cant.resolve.location.args=\
  1.2042 +    cannot find symbol\n\
  1.2043 +    symbol:   {0} {1}({3})\n\
  1.2044 +    location: {4}
  1.2045 +
  1.2046 +# 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
  1.2047 +compiler.err.cant.resolve.location.args.params=\
  1.2048 +    cannot find symbol\n\
  1.2049 +    symbol:   {0} <{2}>{1}({3})\n\
  1.2050 +    location: {4}
  1.2051 +
  1.2052 +### Following are replicated/used for method reference diagnostics
  1.2053 +
  1.2054 +# 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
  1.2055 +compiler.misc.cant.resolve.location.args=\
  1.2056 +    cannot find symbol\n\
  1.2057 +    symbol:   {0} {1}({3})\n\
  1.2058 +    location: {4}
  1.2059 +
  1.2060 +# 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
  1.2061 +compiler.misc.cant.resolve.location.args.params=\
  1.2062 +    cannot find symbol\n\
  1.2063 +    symbol:   {0} <{2}>{1}({3})\n\
  1.2064 +    location: {4}
  1.2065 +
  1.2066 +##a location subdiagnostic is composed as follows:
  1.2067 +## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.)
  1.2068 +## The second argument {1} is the location name
  1.2069 +## The third argument {2} is the location type (only when {1} is a variable name)
  1.2070 +
  1.2071 +# 0: symbol kind, 1: type or symbol, 2: unused
  1.2072 +compiler.misc.location=\
  1.2073 +    {0} {1}
  1.2074 +
  1.2075 +# 0: symbol kind, 1: symbol, 2: type
  1.2076 +compiler.misc.location.1=\
  1.2077 +    {0} {1} of type {2}
  1.2078 +
  1.2079 +## The following are all possible string for "kindname".
  1.2080 +## They should be called whatever the JLS calls them after it been translated
  1.2081 +## to the appropriate language.
  1.2082 +# compiler.misc.kindname.constructor=\
  1.2083 +#     static member
  1.2084 +compiler.misc.kindname.annotation=\
  1.2085 +    @interface
  1.2086 +
  1.2087 +compiler.misc.kindname.constructor=\
  1.2088 +    constructor
  1.2089 +
  1.2090 +compiler.misc.kindname.enum=\
  1.2091 +    enum
  1.2092 +
  1.2093 +compiler.misc.kindname.interface=\
  1.2094 +    interface
  1.2095 +
  1.2096 +compiler.misc.kindname.static=\
  1.2097 +    static
  1.2098 +
  1.2099 +compiler.misc.kindname.type.variable=\
  1.2100 +    type variable
  1.2101 +
  1.2102 +compiler.misc.kindname.type.variable.bound=\
  1.2103 +    bound of type variable
  1.2104 +
  1.2105 +compiler.misc.kindname.variable=\
  1.2106 +    variable
  1.2107 +
  1.2108 +compiler.misc.kindname.value=\
  1.2109 +    value
  1.2110 +
  1.2111 +compiler.misc.kindname.method=\
  1.2112 +    method
  1.2113 +
  1.2114 +compiler.misc.kindname.class=\
  1.2115 +    class
  1.2116 +
  1.2117 +compiler.misc.kindname.package=\
  1.2118 +    package
  1.2119 +
  1.2120 +compiler.misc.kindname.static.init=\
  1.2121 +    static initializer
  1.2122 +
  1.2123 +compiler.misc.kindname.instance.init=\
  1.2124 +    instance initializer
  1.2125 +
  1.2126 +#####
  1.2127 +
  1.2128 +compiler.misc.no.args=\
  1.2129 +    no arguments
  1.2130 +
  1.2131 +# 0: message segment
  1.2132 +compiler.err.override.static=\
  1.2133 +    {0}\n\
  1.2134 +    overriding method is static
  1.2135 +
  1.2136 +# 0: message segment, 1: set of modifier
  1.2137 +compiler.err.override.meth=\
  1.2138 +    {0}\n\
  1.2139 +    overridden method is {1}
  1.2140 +
  1.2141 +# 0: message segment, 1: type
  1.2142 +compiler.err.override.meth.doesnt.throw=\
  1.2143 +    {0}\n\
  1.2144 +    overridden method does not throw {1}
  1.2145 +
  1.2146 +# In the following string {1} is a space separated list of Java Keywords, as
  1.2147 +# they would have been declared in the source code
  1.2148 +# 0: message segment, 1: set of modifier
  1.2149 +compiler.err.override.weaker.access=\
  1.2150 +    {0}\n\
  1.2151 +    attempting to assign weaker access privileges; was {1}
  1.2152 +
  1.2153 +# 0: message segment, 1: type, 2: type
  1.2154 +compiler.err.override.incompatible.ret=\
  1.2155 +    {0}\n\
  1.2156 +    return type {1} is not compatible with {2}
  1.2157 +
  1.2158 +# 0: message segment, 1: type, 2: type
  1.2159 +compiler.warn.override.unchecked.ret=\
  1.2160 +    {0}\n\
  1.2161 +    return type requires unchecked conversion from {1} to {2}
  1.2162 +
  1.2163 +# 0: message segment, 1: type
  1.2164 +compiler.warn.override.unchecked.thrown=\
  1.2165 +    {0}\n\
  1.2166 +    overridden method does not throw {1}
  1.2167 +
  1.2168 +# 0: symbol
  1.2169 +compiler.warn.override.equals.but.not.hashcode=\
  1.2170 +    Class {0} overrides equals, but neither it nor any superclass overrides hashCode method
  1.2171 +
  1.2172 +## The following are all possible strings for the first argument ({0}) of the
  1.2173 +## above strings.
  1.2174 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2175 +compiler.misc.cant.override=\
  1.2176 +    {0} in {1} cannot override {2} in {3}
  1.2177 +
  1.2178 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2179 +compiler.misc.cant.implement=\
  1.2180 +    {0} in {1} cannot implement {2} in {3}
  1.2181 +
  1.2182 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2183 +compiler.misc.clashes.with=\
  1.2184 +    {0} in {1} clashes with {2} in {3}
  1.2185 +
  1.2186 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2187 +compiler.misc.unchecked.override=\
  1.2188 +    {0} in {1} overrides {2} in {3}
  1.2189 +
  1.2190 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2191 +compiler.misc.unchecked.implement=\
  1.2192 +    {0} in {1} implements {2} in {3}
  1.2193 +
  1.2194 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2195 +compiler.misc.unchecked.clash.with=\
  1.2196 +    {0} in {1} overrides {2} in {3}
  1.2197 +
  1.2198 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2199 +compiler.misc.varargs.override=\
  1.2200 +    {0} in {1} overrides {2} in {3}
  1.2201 +
  1.2202 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2203 +compiler.misc.varargs.implement=\
  1.2204 +    {0} in {1} implements {2} in {3}
  1.2205 +
  1.2206 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1.2207 +compiler.misc.varargs.clash.with=\
  1.2208 +    {0} in {1} overrides {2} in {3}
  1.2209 +
  1.2210 +# 0: unused
  1.2211 +compiler.misc.diamond.and.anon.class=\
  1.2212 +    cannot use ''<>'' with anonymous inner classes
  1.2213 +
  1.2214 +# 0: symbol kind, 1: symbol, 2: symbol, 3: message segment
  1.2215 +compiler.misc.inapplicable.method=\
  1.2216 +    {0} {1}.{2} is not applicable\n\
  1.2217 +    ({3})
  1.2218 +
  1.2219 +########################################
  1.2220 +# Diagnostics for language feature changes
  1.2221 +########################################
  1.2222 +# 0: string
  1.2223 +compiler.err.unsupported.fp.lit=\
  1.2224 +    hexadecimal floating point literals are not supported in -source {0}\n\
  1.2225 +    (use -source 5 or higher to enable hexadecimal floating point literals)
  1.2226 +
  1.2227 +# 0: string
  1.2228 +compiler.err.unsupported.binary.lit=\
  1.2229 +    binary literals are not supported in -source {0}\n\
  1.2230 +    (use -source 7 or higher to enable binary literals)
  1.2231 +
  1.2232 +# 0: string
  1.2233 +compiler.err.unsupported.underscore.lit=\
  1.2234 +    underscores in literals are not supported in -source {0}\n\
  1.2235 +    (use -source 7 or higher to enable underscores in literals)
  1.2236 +
  1.2237 +# 0: string
  1.2238 +compiler.err.try.with.resources.not.supported.in.source=\
  1.2239 +    try-with-resources is not supported in -source {0}\n\
  1.2240 +    (use -source 7 or higher to enable try-with-resources)
  1.2241 +
  1.2242 +compiler.warn.enum.as.identifier=\
  1.2243 +    as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
  1.2244 +    (use -source 5 or higher to use ''enum'' as a keyword)
  1.2245 +
  1.2246 +compiler.warn.assert.as.identifier=\
  1.2247 +    as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
  1.2248 +    (use -source 1.4 or higher to use ''assert'' as a keyword)
  1.2249 +
  1.2250 +compiler.warn.underscore.as.identifier=\
  1.2251 +    ''_'' used as an identifier\n\
  1.2252 +    (use of ''_'' as an identifier might not be supported in releases after Java SE 8)
  1.2253 +
  1.2254 +compiler.err.underscore.as.identifier.in.lambda=\
  1.2255 +    ''_'' used as an identifier\n\
  1.2256 +    (use of ''_'' as an identifier is forbidden for lambda parameters)
  1.2257 +
  1.2258 +compiler.err.enum.as.identifier=\
  1.2259 +    as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
  1.2260 +    (use -source 1.4 or lower to use ''enum'' as an identifier)
  1.2261 +
  1.2262 +compiler.err.assert.as.identifier=\
  1.2263 +    as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
  1.2264 +    (use -source 1.3 or lower to use ''assert'' as an identifier)
  1.2265 +
  1.2266 +# TODO 308: make a better error message
  1.2267 +compiler.err.this.as.identifier=\
  1.2268 +    as of release 8, ''this'' is allowed as the parameter name for the receiver type only, which has to be the first parameter
  1.2269 +
  1.2270 +# 0: symbol
  1.2271 +compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\
  1.2272 +    receiver parameter not applicable for constructor of top-level class
  1.2273 +
  1.2274 +# TODO 308: make a better error message
  1.2275 +# 0: symbol
  1.2276 +compiler.err.cant.type.annotate.scoping.1=\
  1.2277 +    scoping construct cannot be annotated with type-use annotation: {0}
  1.2278 +
  1.2279 +# TODO 308: make a better error message
  1.2280 +# 0: list of symbol
  1.2281 +compiler.err.cant.type.annotate.scoping=\
  1.2282 +    scoping construct cannot be annotated with type-use annotations: {0}
  1.2283 +
  1.2284 +# 0: type, 1: type
  1.2285 +compiler.err.incorrect.receiver.name=\
  1.2286 +    the receiver name does not match the enclosing class type\n\
  1.2287 +    required: {0}\n\
  1.2288 +    found: {1}
  1.2289 +
  1.2290 +# 0: type, 1: type
  1.2291 +compiler.err.incorrect.receiver.type=\
  1.2292 +    the receiver type does not match the enclosing class type\n\
  1.2293 +    required: {0}\n\
  1.2294 +    found: {1}
  1.2295 +
  1.2296 +# 0: type, 1: type
  1.2297 +compiler.err.incorrect.constructor.receiver.type=\
  1.2298 +    the receiver type does not match the enclosing outer class type\n\
  1.2299 +    required: {0}\n\
  1.2300 +    found: {1}
  1.2301 +
  1.2302 +# 0: type, 1: type
  1.2303 +compiler.err.incorrect.constructor.receiver.name=\
  1.2304 +    the receiver name does not match the enclosing outer class type\n\
  1.2305 +    required: {0}\n\
  1.2306 +    found: {1}
  1.2307 +
  1.2308 +compiler.err.no.annotations.on.dot.class=\
  1.2309 +    no annotations are allowed in the type of a class literal
  1.2310 +
  1.2311 +# 0: string
  1.2312 +compiler.err.generics.not.supported.in.source=\
  1.2313 +    generics are not supported in -source {0}\n\
  1.2314 +    (use -source 5 or higher to enable generics)
  1.2315 +
  1.2316 +# 0: string
  1.2317 +compiler.err.varargs.not.supported.in.source=\
  1.2318 +    variable-arity methods are not supported in -source {0}\n\
  1.2319 +    (use -source 5 or higher to enable variable-arity methods)
  1.2320 +
  1.2321 +# 0: string
  1.2322 +compiler.err.annotations.not.supported.in.source=\
  1.2323 +    annotations are not supported in -source {0}\n\
  1.2324 +    (use -source 5 or higher to enable annotations)
  1.2325 +
  1.2326 +# 0: string
  1.2327 +compiler.err.type.annotations.not.supported.in.source=\
  1.2328 +    type annotations are not supported in -source {0}\n\
  1.2329 +(use -source 8 or higher to enable type annotations)
  1.2330 +
  1.2331 +# 0: string
  1.2332 +compiler.err.annotations.after.type.params.not.supported.in.source=\
  1.2333 +    annotations after method type parameters are not supported in -source {0}\n\
  1.2334 +(use -source 8 or higher to enable annotations after method type parameters)
  1.2335 +
  1.2336 +# 0: string
  1.2337 +compiler.err.repeatable.annotations.not.supported.in.source=\
  1.2338 +    repeated annotations are not supported in -source {0}\n\
  1.2339 +(use -source 8 or higher to enable repeated annotations)
  1.2340 +
  1.2341 +# 0: string
  1.2342 +compiler.err.foreach.not.supported.in.source=\
  1.2343 +    enhanced for loops are not supported in -source {0}\n\
  1.2344 +    (use -source 5 or higher to enable for-each loops)
  1.2345 +
  1.2346 +# 0: string
  1.2347 +compiler.err.static.import.not.supported.in.source=\
  1.2348 +    static import declarations are not supported in -source {0}\n\
  1.2349 +    (use -source 5 or higher to enable static import declarations)
  1.2350 +
  1.2351 +# 0: string
  1.2352 +compiler.err.enums.not.supported.in.source=\
  1.2353 +    enums are not supported in -source {0}\n\
  1.2354 +    (use -source 5 or higher to enable enums)
  1.2355 +
  1.2356 +# 0: string
  1.2357 +compiler.err.diamond.not.supported.in.source=\
  1.2358 +    diamond operator is not supported in -source {0}\n\
  1.2359 +    (use -source 7 or higher to enable diamond operator)
  1.2360 +
  1.2361 +# 0: string
  1.2362 +compiler.err.multicatch.not.supported.in.source=\
  1.2363 +    multi-catch statement is not supported in -source {0}\n\
  1.2364 +    (use -source 7 or higher to enable multi-catch statement)
  1.2365 +
  1.2366 +# 0: string
  1.2367 +compiler.err.string.switch.not.supported.in.source=\
  1.2368 +    strings in switch are not supported in -source {0}\n\
  1.2369 +    (use -source 7 or higher to enable strings in switch)
  1.2370 +
  1.2371 +# 0: string
  1.2372 +compiler.err.lambda.not.supported.in.source=\
  1.2373 +    lambda expressions are not supported in -source {0}\n\
  1.2374 +    (use -source 8 or higher to enable lambda expressions)
  1.2375 +
  1.2376 +# 0: string
  1.2377 +compiler.err.method.references.not.supported.in.source=\
  1.2378 +    method references are not supported in -source {0}\n\
  1.2379 +    (use -source 8 or higher to enable method references)
  1.2380 +
  1.2381 +# 0: string
  1.2382 +compiler.err.default.methods.not.supported.in.source=\
  1.2383 +    default methods are not supported in -source {0}\n\
  1.2384 +    (use -source 8 or higher to enable default methods)
  1.2385 +
  1.2386 +# 0: string
  1.2387 +compiler.err.intersection.types.in.cast.not.supported.in.source=\
  1.2388 +    intersection types in cast are not supported in -source {0}\n\
  1.2389 +    (use -source 8 or higher to enable default methods)
  1.2390 +
  1.2391 +# 0: string
  1.2392 +compiler.err.static.intf.methods.not.supported.in.source=\
  1.2393 +    static interface methods are not supported in -source {0}\n\
  1.2394 +    (use -source 8 or higher to enable static interface methods)
  1.2395 +
  1.2396 +# 0: string
  1.2397 +compiler.err.static.intf.method.invoke.not.supported.in.source=\
  1.2398 +    static interface method invocations are not supported in -source {0}\n\
  1.2399 +    (use -source 8 or higher to enable static interface method invocations)
  1.2400 +
  1.2401 +########################################
  1.2402 +# Diagnostics for verbose resolution
  1.2403 +# used by Resolve (debug only)
  1.2404 +########################################
  1.2405 +
  1.2406 +# 0: number, 1: symbol, 2: unused
  1.2407 +compiler.misc.applicable.method.found=\
  1.2408 +    #{0} applicable method found: {1}
  1.2409 +
  1.2410 +# 0: number, 1: symbol, 2: message segment
  1.2411 +compiler.misc.applicable.method.found.1=\
  1.2412 +    #{0} applicable method found: {1}\n\
  1.2413 +    ({2})
  1.2414 +
  1.2415 +# 0: number, 1: symbol, 2: message segment
  1.2416 +compiler.misc.not.applicable.method.found=\
  1.2417 +    #{0} not applicable method found: {1}\n\
  1.2418 +    ({2})
  1.2419 +
  1.2420 +# 0: type
  1.2421 +compiler.misc.partial.inst.sig=\
  1.2422 +    partially instantiated to: {0}
  1.2423 +
  1.2424 +# 0: name, 1: symbol, 2: number, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment
  1.2425 +compiler.note.verbose.resolve.multi=\
  1.2426 +    resolving method {0} in type {1} to candidate {2}\n\
  1.2427 +    phase: {3}\n\
  1.2428 +    with actuals: {4}\n\
  1.2429 +    with type-args: {5}\n\
  1.2430 +    candidates:
  1.2431 +
  1.2432 +# 0: name, 1: symbol, 2: unused, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment
  1.2433 +compiler.note.verbose.resolve.multi.1=\
  1.2434 +    erroneous resolution for method {0} in type {1}\n\
  1.2435 +    phase: {3}\n\
  1.2436 +    with actuals: {4}\n\
  1.2437 +    with type-args: {5}\n\
  1.2438 +    candidates:
  1.2439 +
  1.2440 +# 0: symbol, 1: type, 2: type
  1.2441 +compiler.note.deferred.method.inst=\
  1.2442 +    Deferred instantiation of method {0}\n\
  1.2443 +    instantiated signature: {1}\n\
  1.2444 +    target-type: {2}
  1.2445 +
  1.2446 +########################################
  1.2447 +# Diagnostics for where clause implementation
  1.2448 +# used by the RichDiagnosticFormatter.
  1.2449 +########################################
  1.2450 +
  1.2451 +compiler.misc.type.null=\
  1.2452 +    <null>
  1.2453 +
  1.2454 +# X#n (where n is an int id) is disambiguated tvar name
  1.2455 +# 0: name, 1: number
  1.2456 +compiler.misc.type.var=\
  1.2457 +    {0}#{1}
  1.2458 +
  1.2459 +# CAP#n (where n is an int id) is an abbreviation for 'captured type'
  1.2460 +# 0: number
  1.2461 +compiler.misc.captured.type=\
  1.2462 +    CAP#{0}
  1.2463 +
  1.2464 +# <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
  1.2465 +# 0: number
  1.2466 +compiler.misc.intersection.type=\
  1.2467 +    INT#{0}
  1.2468 +
  1.2469 +# where clause for captured type: contains upper ('extends {1}') and lower
  1.2470 +# ('super {2}') bound along with the wildcard that generated this captured type ({3})
  1.2471 +# 0: type, 1: type, 2: type, 3: type
  1.2472 +compiler.misc.where.captured=\
  1.2473 +    {0} extends {1} super: {2} from capture of {3}
  1.2474 +
  1.2475 +# compact where clause for captured type: contains upper ('extends {1}') along
  1.2476 +# with the wildcard that generated this captured type ({3})
  1.2477 +# 0: type, 1: type, 2: unused, 3: type
  1.2478 +compiler.misc.where.captured.1=\
  1.2479 +    {0} extends {1} from capture of {3}
  1.2480 +
  1.2481 +# where clause for type variable: contains upper bound(s) ('extends {1}') along with
  1.2482 +# the kindname ({2}) and location ({3}) in which the typevar has been declared
  1.2483 +# 0: type, 1: list of type, 2: symbol kind, 3: symbol
  1.2484 +compiler.misc.where.typevar=\
  1.2485 +    {0} extends {1} declared in {2} {3}
  1.2486 +
  1.2487 +# compact where clause for type variable: contains the kindname ({2}) and location ({3})
  1.2488 +# in which the typevar has been declared
  1.2489 +# 0: type, 1: list of type, 2: symbol kind, 3: symbol
  1.2490 +compiler.misc.where.typevar.1=\
  1.2491 +    {0} declared in {2} {3}
  1.2492 +
  1.2493 +# where clause for fresh type variable: contains upper bound(s) ('extends {1}').
  1.2494 +# Since a fresh type-variable is synthetic - there's no location/kindname here.
  1.2495 +# 0: type, 1: list of type
  1.2496 +compiler.misc.where.fresh.typevar=\
  1.2497 +    {0} extends {1}
  1.2498 +
  1.2499 +# where clause for type variable: contains all the upper bound(s) ('extends {1}')
  1.2500 +# of this intersection type
  1.2501 +# 0: type, 1: list of type
  1.2502 +compiler.misc.where.intersection=\
  1.2503 +    {0} extends {1}
  1.2504 +
  1.2505 +### Where clause headers ###
  1.2506 +compiler.misc.where.description.captured=\
  1.2507 +    where {0} is a fresh type-variable:
  1.2508 +
  1.2509 +# 0: set of type
  1.2510 +compiler.misc.where.description.typevar=\
  1.2511 +    where {0} is a type-variable:
  1.2512 +
  1.2513 +# 0: set of type
  1.2514 +compiler.misc.where.description.intersection=\
  1.2515 +    where {0} is an intersection type:
  1.2516 +
  1.2517 +# 0: set of type
  1.2518 +compiler.misc.where.description.captured.1=\
  1.2519 +    where {0} are fresh type-variables:
  1.2520 +
  1.2521 +# 0: set of type
  1.2522 +compiler.misc.where.description.typevar.1=\
  1.2523 +    where {0} are type-variables:
  1.2524 +
  1.2525 +compiler.misc.where.description.intersection.1=\
  1.2526 +    where {0} are intersection types:
  1.2527 +
  1.2528 +###
  1.2529 +# errors related to doc comments
  1.2530 +
  1.2531 +compiler.err.dc.bad.entity=\
  1.2532 +    bad HTML entity
  1.2533 +
  1.2534 +compiler.err.dc.bad.gt=\
  1.2535 +    bad use of ''>''
  1.2536 +
  1.2537 +compiler.err.dc.bad.inline.tag=\
  1.2538 +    incorrect use of inline tag
  1.2539 +
  1.2540 +compiler.err.dc.identifier.expected=\
  1.2541 +    identifier expected
  1.2542 +
  1.2543 +compiler.err.dc.malformed.html=\
  1.2544 +    malformed HTML
  1.2545 +
  1.2546 +compiler.err.dc.missing.semicolon=\
  1.2547 +    semicolon missing
  1.2548 +
  1.2549 +compiler.err.dc.no.content=\
  1.2550 +    no content
  1.2551 +
  1.2552 +compiler.err.dc.no.tag.name=\
  1.2553 +    no tag name after '@'
  1.2554 +
  1.2555 +compiler.err.dc.gt.expected=\
  1.2556 +    ''>'' expected
  1.2557 +
  1.2558 +compiler.err.dc.ref.bad.parens=\
  1.2559 +    '')'' missing in reference
  1.2560 +
  1.2561 +compiler.err.dc.ref.syntax.error=\
  1.2562 +    syntax error in reference
  1.2563 +
  1.2564 +compiler.err.dc.ref.unexpected.input=\
  1.2565 +    unexpected text
  1.2566 +
  1.2567 +compiler.err.dc.unexpected.content=\
  1.2568 +    unexpected content
  1.2569 +
  1.2570 +compiler.err.dc.unterminated.inline.tag=\
  1.2571 +    unterminated inline tag
  1.2572 +
  1.2573 +compiler.err.dc.unterminated.signature=\
  1.2574 +    unterminated signature
  1.2575 +
  1.2576 +compiler.err.dc.unterminated.string=\
  1.2577 +    unterminated string
  1.2578 +
  1.2579 +

mercurial