1 #
   2 # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 ##
  27 ## errors
  28 ##
  29 
  30 compiler.err.abstract.cant.be.instantiated=\
  31     {0} is abstract; cannot be instantiated
  32 compiler.err.abstract.meth.cant.have.body=\
  33     abstract methods cannot have a body
  34 compiler.err.already.annotated=\
  35     {0} {1} has already been annotated
  36 compiler.err.already.defined=\
  37     {0} is already defined in {1}
  38 compiler.err.already.defined.single.import=\
  39     {0} is already defined in a single-type import
  40 compiler.err.already.defined.static.single.import=\
  41     {0} is already defined in a static single-type import
  42 compiler.err.already.defined.this.unit=\
  43     {0} is already defined in this compilation unit
  44 compiler.err.annotation.missing.default.value=\
  45     annotation {0} is missing {1}
  46 compiler.err.annotation.not.valid.for.type=\
  47     annotation not valid for a value of type {0}
  48 compiler.err.annotation.type.not.applicable=\
  49     annotation type not applicable to this kind of declaration
  50 compiler.err.annotation.value.must.be.annotation=\
  51     annotation value must be an annotation
  52 compiler.err.annotation.value.must.be.class.literal=\
  53     annotation value must be a class literal
  54 compiler.err.annotation.value.must.be.name.value=\
  55     annotation values must be of the form ''name=value''
  56 compiler.err.annotation.value.not.allowable.type=\
  57     annotation value not of an allowable type
  58 compiler.err.anon.class.impl.intf.no.args=\
  59     anonymous class implements interface; cannot have arguments
  60 compiler.err.anon.class.impl.intf.no.typeargs=\
  61     anonymous class implements interface; cannot have type arguments
  62 compiler.err.anon.class.impl.intf.no.qual.for.new=\
  63     anonymous class implements interface; cannot have qualifier for new
  64 compiler.misc.arm.not.applicable.to.type=\
  65     automatic resource management not applicable to value of type {0}
  66 compiler.err.arm.resource.may.not.be.assigned=\
  67     cannot assign another value to automatic resource variable {0}
  68 compiler.err.array.and.varargs=\
  69     cannot declare both {0} and {1} in {2}
  70 compiler.err.array.dimension.missing=\
  71     array dimension missing
  72 compiler.err.array.req.but.found=\
  73     array required, but {0} found
  74 
  75 compiler.err.assignment.from.super-bound=\
  76     assigning from wildcard {0}
  77 compiler.err.assignment.to.extends-bound=\
  78     assigning to wildcard {0}
  79 compiler.err.attribute.value.must.be.constant=\
  80     attribute value must be constant
  81 
  82 compiler.err.break.outside.switch.loop=\
  83     break outside switch or loop
  84 
  85 compiler.err.call.must.be.first.stmt.in.ctor=\
  86     call to {0} must be first statement in constructor
  87 compiler.err.cant.apply.symbol=\
  88     {0} {1} in {4} {5} cannot be applied to given types\n\
  89     required: {2}\n\
  90     found: {3}
  91 compiler.err.cant.apply.symbol.1=\
  92     {0} {1} in {4} {5} cannot be applied to given types;\n\
  93     required: {2}\n\
  94     found: {3}\n\
  95     reason: {6}
  96 compiler.err.cant.assign.val.to.final.var=\
  97     cannot assign a value to final variable {0}
  98 compiler.err.cant.deref=\
  99     {0} cannot be dereferenced
 100 compiler.err.cant.extend.intf.annotation=\
 101     ''extends'' not allowed for @interfaces
 102 compiler.err.cant.inherit.from.final=\
 103     cannot inherit from final {0}
 104 compiler.err.cant.ref.before.ctor.called=\
 105     cannot reference {0} before supertype constructor has been called
 106 compiler.err.cant.ret.val.from.meth.decl.void=\
 107     cannot return a value from method whose result type is void
 108 compiler.err.cant.select.static.class.from.param.type=\
 109     cannot select a static class from a parameterized type
 110 compiler.err.cant.inherit.diff.arg=\
 111     {0} cannot be inherited with different arguments: <{1}> and <{2}>
 112 compiler.err.catch.without.try=\
 113     ''catch'' without ''try''
 114 compiler.err.clash.with.pkg.of.same.name=\
 115     {0} clashes with package of same name
 116 compiler.err.const.expr.req=\
 117     constant expression required
 118 compiler.err.enum.const.req=\
 119     unqualified enumeration constant name required
 120 compiler.err.cont.outside.loop=\
 121     continue outside of loop
 122 compiler.err.cyclic.inheritance=\
 123     cyclic inheritance involving {0}
 124 compiler.err.cyclic.annotation.element=\
 125     cyclic annotation element type
 126 compiler.err.call.to.super.not.allowed.in.enum.ctor=\
 127     call to super not allowed in enum constructor
 128 compiler.err.no.superclass=\
 129     {0} has no superclass
 130 
 131 compiler.err.concrete.inheritance.conflict=\
 132     methods {0} from {1} and {2} from {3} are inherited with the same signature
 133 
 134 compiler.err.default.allowed.in.intf.annotation.member=\
 135     default value only allowed in an @interface member
 136 compiler.err.doesnt.exist=\
 137     package {0} does not exist
 138 compiler.err.duplicate.annotation=\
 139     duplicate annotation
 140 compiler.err.duplicate.annotation.member.value=\
 141     duplicate annotation member value {0} in {1}
 142 compiler.err.duplicate.class=\
 143     duplicate class: {0}
 144 compiler.err.duplicate.case.label=\
 145     duplicate case label
 146 compiler.err.duplicate.default.label=\
 147     duplicate default label
 148 
 149 compiler.err.else.without.if=\
 150     ''else'' without ''if''
 151 compiler.err.empty.bytecode.ident=\
 152     empty bytecode identifier
 153 compiler.err.empty.char.lit=\
 154     empty character literal
 155 compiler.err.encl.class.required=\
 156     an enclosing instance that contains {0} is required
 157 compiler.err.enum.annotation.must.be.enum.constant=\
 158     an enum annotation value must be an enum constant
 159 
 160 compiler.err.enum.cant.be.instantiated=\
 161     enum types may not be instantiated
 162 compiler.err.enum.label.must.be.unqualified.enum=\
 163     an enum switch case label must be the unqualified name of an enumeration constant
 164 compiler.err.enum.no.subclassing=\
 165     classes cannot directly extend java.lang.Enum
 166 compiler.err.enum.types.not.extensible=\
 167     enum types are not extensible
 168 compiler.err.enum.no.finalize=\
 169     enums cannot have finalize methods
 170 compiler.err.error.reading.file=\
 171     error reading {0}; {1}
 172 compiler.err.except.already.caught=\
 173     exception {0} has already been caught
 174 compiler.err.except.never.thrown.in.try=\
 175     exception {0} is never thrown in body of corresponding try statement
 176 
 177 compiler.err.final.parameter.may.not.be.assigned=\
 178     final parameter {0} may not be assigned
 179 compiler.err.multicatch.parameter.may.not.be.assigned=\
 180     multi-catch parameter {0} may not be assigned
 181 compiler.err.multicatch.param.must.be.final=\
 182     multi-catch parameter {0} must be final
 183 compiler.err.finally.without.try=\
 184     ''finally'' without ''try''
 185 compiler.err.foreach.not.applicable.to.type=\
 186     foreach not applicable to expression type
 187 compiler.err.fp.number.too.large=\
 188     floating point number too large
 189 compiler.err.fp.number.too.small=\
 190     floating point number too small
 191 
 192 compiler.err.generic.array.creation=\
 193     generic array creation
 194 compiler.err.generic.throwable=\
 195     a generic class may not extend java.lang.Throwable
 196 
 197 compiler.err.icls.cant.have.static.decl=\
 198     inner classes cannot have static declarations
 199 compiler.err.illegal.bytecode.ident.char=\
 200     illegal bytecode identifier character: \\{0}
 201 compiler.err.illegal.char=\
 202     illegal character: \\{0}
 203 compiler.err.illegal.char.for.encoding=\
 204     unmappable character for encoding {0}
 205 compiler.err.illegal.combination.of.modifiers=\
 206     illegal combination of modifiers: {0} and {1}
 207 compiler.err.illegal.enum.static.ref=\
 208     illegal reference to static field from initializer
 209 compiler.err.illegal.esc.char=\
 210     illegal escape character
 211 compiler.err.illegal.forward.ref=\
 212     illegal forward reference
 213 compiler.warn.forward.ref=\
 214     reference to variable ''{0}'' before it has been initialized
 215 compiler.err.illegal.self.ref=\
 216     self-reference in initializer
 217 compiler.warn.self.ref=\
 218     self-reference in initializer of variable ''{0}''
 219 compiler.err.illegal.generic.type.for.instof=\
 220     illegal generic type for instanceof
 221 compiler.err.illegal.initializer.for.type=\
 222     illegal initializer for {0}
 223 compiler.err.illegal.line.end.in.char.lit=\
 224     illegal line end in character literal
 225 compiler.err.illegal.nonascii.digit=\
 226     illegal non-ASCII digit
 227 compiler.err.illegal.underscore=\
 228     illegal underscore
 229 compiler.err.illegal.qual.not.icls=\
 230     illegal qualifier; {0} is not an inner class
 231 compiler.err.illegal.start.of.expr=\
 232     illegal start of expression
 233 compiler.err.illegal.start.of.type=\
 234     illegal start of type
 235 compiler.err.illegal.unicode.esc=\
 236     illegal unicode escape
 237 compiler.err.import.requires.canonical=\
 238     import requires canonical name for {0}
 239 compiler.err.improperly.formed.type.param.missing=\
 240     improperly formed type, some parameters are missing
 241 compiler.err.improperly.formed.type.inner.raw.param=\
 242     improperly formed type, type parameters given on a raw type
 243 compiler.err.incomparable.types=\
 244     incomparable types: {0} and {1}
 245 compiler.err.int.number.too.large=\
 246     integer number too large: {0}
 247 compiler.err.internal.error.cant.instantiate=\
 248     internal error; cannot instantiate {0} at {1} to ({2})
 249 compiler.err.intf.annotation.members.cant.have.params=\
 250     @interface members may not have parameters
 251 compiler.err.intf.annotation.cant.have.type.params=\
 252     @interface may not have type parameters
 253 compiler.err.intf.annotation.members.cant.have.type.params=\
 254     @interface members may not have type parameters
 255 compiler.err.intf.annotation.member.clash=\
 256     @interface member clashes with method ''{0}'' in {1}
 257 compiler.err.intf.expected.here=\
 258     interface expected here
 259 compiler.err.intf.meth.cant.have.body=\
 260     interface methods cannot have body
 261 compiler.err.invalid.annotation.member.type=\
 262     invalid type for annotation member
 263 compiler.err.invalid.binary.number=\
 264     binary numbers must contain at least one binary digit
 265 compiler.err.invalid.hex.number=\
 266     hexadecimal numbers must contain at least one hexadecimal digit
 267 compiler.err.invalid.meth.decl.ret.type.req=\
 268     invalid method declaration; return type required
 269 
 270 compiler.err.label.already.in.use=\
 271     label {0} already in use
 272 compiler.err.local.var.accessed.from.icls.needs.final=\
 273     local variable {0} is accessed from within inner class; needs to be declared final
 274 compiler.err.local.enum=\
 275     enum types must not be local
 276 compiler.err.cannot.create.array.with.type.arguments=\
 277     cannot create array with type arguments
 278 
 279 #
 280 # limits.  We don't give the limits in the diagnostic because we expect
 281 # them to change, yet we want to use the same diagnostic.  These are all
 282 # detected during code generation.
 283 #
 284 compiler.err.limit.code=\
 285     code too large
 286 compiler.err.limit.code.too.large.for.try.stmt=\
 287     code too large for try statement
 288 compiler.err.limit.dimensions=\
 289     array type has too many dimensions
 290 compiler.err.limit.locals=\
 291     too many local variables
 292 compiler.err.limit.parameters=\
 293     too many parameters
 294 compiler.err.limit.pool=\
 295     too many constants
 296 compiler.err.limit.pool.in.class=\
 297     too many constants in class {0}
 298 compiler.err.limit.stack=\
 299     code requires too much stack
 300 compiler.err.limit.string=\
 301     constant string too long
 302 compiler.err.limit.string.overflow=\
 303     UTF8 representation for string \"{0}...\" is too long for the constant pool
 304 
 305 compiler.err.malformed.fp.lit=\
 306     malformed floating point literal
 307 compiler.err.method.does.not.override.superclass=\
 308     method does not override or implement a method from a supertype
 309 compiler.err.missing.meth.body.or.decl.abstract=\
 310     missing method body, or declare abstract
 311 compiler.err.missing.ret.stmt=\
 312     missing return statement
 313 compiler.err.missing.ret.val=\
 314     missing return value
 315 compiler.err.mod.not.allowed.here=\
 316     modifier {0} not allowed here
 317 compiler.err.intf.not.allowed.here=\
 318     interface not allowed here
 319 compiler.err.enums.must.be.static=\
 320     enum declarations allowed only in static contexts
 321 
 322 compiler.err.name.clash.same.erasure=\
 323     name clash: {0} and {1} have the same erasure
 324 compiler.err.name.clash.same.erasure.no.override=\
 325     name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
 326 compiler.err.name.reserved.for.internal.use=\
 327     {0} is reserved for internal use
 328 compiler.err.native.meth.cant.have.body=\
 329     native methods cannot have a body
 330 compiler.err.neither.conditional.subtype=\
 331 incompatible types for ?: neither is a subtype of the other\n\
 332 second operand: {0}\n\
 333 third operand : {1}
 334 compiler.err.new.not.allowed.in.annotation=\
 335     ''new'' not allowed in an annotation
 336 compiler.err.no.annotation.member=\
 337     no annotation member {0} in {1}
 338 compiler.err.no.encl.instance.of.type.in.scope=\
 339     no enclosing instance of type {0} is in scope
 340 compiler.err.no.intf.expected.here=\
 341     no interface expected here
 342 compiler.err.no.match.entry=\
 343     {0} has no match in entry in {1}; required {2}
 344 compiler.err.not.annotation.type=\
 345     {0} is not an annotation type
 346 compiler.err.not.def.access.class.intf.cant.access=\
 347     {0} in {1} is defined in an inaccessible class or interface
 348 compiler.err.not.def.public.cant.access=\
 349     {0} is not public in {1}; cannot be accessed from outside package
 350 compiler.err.not.loop.label=\
 351     not a loop label: {0}
 352 compiler.err.not.stmt=\
 353     not a statement
 354 compiler.err.not.encl.class=\
 355     not an enclosing class: {0}
 356 
 357 compiler.err.operator.cant.be.applied=\
 358     operator {0} cannot be applied to {1}
 359 
 360 compiler.err.pkg.annotations.sb.in.package-info.java=\
 361     package annotations should be in file package-info.java
 362 compiler.err.pkg.clashes.with.class.of.same.name=\
 363     package {0} clashes with class of same name
 364 
 365 compiler.err.warnings.and.werror=\
 366     warnings found and -Werror specified
 367 
 368 # Errors related to annotation processing
 369 
 370 compiler.err.proc.cant.access=\
 371 cannot access {0}\n\
 372 {1}\n\
 373 Consult the following stack trace for details.\n\
 374 {2}
 375 
 376 compiler.err.proc.cant.find.class=\
 377     Could not find class file for ''{0}''.
 378 
 379 # Print a client-generated error message; assumed to be localized, no translation required
 380 compiler.err.proc.messager=\
 381     {0}
 382 
 383 compiler.err.proc.no.explicit.annotation.processing.requested=\
 384     Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
 385 
 386 compiler.err.proc.no.service=\
 387     A service loader class could not be found.\n\
 388     Either java.util.ServiceLoader or sun.misc.Service must be available.
 389 
 390 compiler.err.proc.processor.bad.option.name=\
 391     Bad option name ''{0}'' provided by processor ''{1}''
 392 
 393 compiler.err.proc.processor.cant.instantiate=\
 394     Could not instantiate an instance of processor ''{0}''
 395 
 396 compiler.err.proc.processor.constructor.error=\
 397     Exception thrown while constructing Processor object: {0}
 398 
 399 compiler.err.proc.processor.not.found=\
 400     Annotation processor ''{0}'' not found
 401 
 402 compiler.err.proc.processor.wrong.type=\
 403     Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
 404 
 405 compiler.err.proc.service.problem=\
 406     Error creating a service loader to load Processors.
 407 
 408 compiler.err.proc.bad.config.file=\
 409     Bad service configuration file, or exception thrown while constructing Processor object: {0}
 410 
 411 compiler.err.proc.cant.create.loader=\
 412     Could not create class loader for annotation processors: {0}
 413 
 414 compiler.err.qualified.new.of.static.class=\
 415     qualified new of static class
 416 
 417 compiler.err.recursive.ctor.invocation=\
 418     recursive constructor invocation
 419 compiler.err.ref.ambiguous=\
 420     reference to {0} is ambiguous, both {1} {2} in {3} and {4} {5} in {6} match
 421 compiler.err.repeated.annotation.target=\
 422     repeated annotation target
 423 compiler.err.repeated.interface=\
 424     repeated interface
 425 compiler.err.repeated.modifier=\
 426     repeated modifier
 427 compiler.err.report.access=\
 428     {0} has {1} access in {2}
 429 compiler.err.ret.outside.meth=\
 430     return outside method
 431 
 432 compiler.err.signature.doesnt.match.supertype=\
 433     signature does not match {0}; incompatible supertype
 434 compiler.err.signature.doesnt.match.intf=\
 435     signature does not match {0}; incompatible interfaces
 436 compiler.err.does.not.override.abstract=\
 437     {0} is not abstract and does not override abstract method {1} in {2}
 438 compiler.err.source.cant.overwrite.input.file=\
 439     error writing source; cannot overwrite input file {0}
 440 compiler.err.stack.sim.error=\
 441     Internal error: stack sim error on {0}
 442 compiler.err.static.imp.only.classes.and.interfaces=\
 443     static import only from classes and interfaces
 444 compiler.err.string.const.req=\
 445     constant string expression required
 446 compiler.err.synthetic.name.conflict=\
 447     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 448 compiler.warn.synthetic.name.conflict=\
 449     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 450 
 451 compiler.err.throws.not.allowed.in.intf.annotation=\
 452     throws clause not allowed in @interface members
 453 compiler.err.try.without.catch.or.finally=\
 454     ''try'' without ''catch'' or ''finally''
 455 compiler.err.try.without.catch.finally.or.resource.decls=\
 456     ''try'' without ''catch'', ''finally'' or resource declarations
 457 compiler.err.type.doesnt.take.params=\
 458     type {0} does not take parameters
 459 compiler.err.type.var.cant.be.deref=\
 460     cannot select from a type variable
 461 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
 462     a type variable may not be followed by other bounds
 463 compiler.err.type.var.more.than.once=\
 464     type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
 465 compiler.err.type.var.more.than.once.in.result=\
 466     type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
 467 compiler.err.types.incompatible.diff.ret=\
 468     types {0} and {1} are incompatible; both define {2}, but with unrelated return types
 469 
 470 compiler.err.unclosed.bytecode.ident=\
 471     unclosed bytecode identifier
 472 compiler.err.unclosed.char.lit=\
 473     unclosed character literal
 474 compiler.err.unclosed.comment=\
 475     unclosed comment
 476 compiler.err.unclosed.str.lit=\
 477     unclosed string literal
 478 compiler.err.unknown.enum.constant=\
 479     in class file {0}: unknown enum constant {1}.{2}
 480 compiler.err.unsupported.encoding=\
 481     unsupported encoding: {0}
 482 compiler.err.io.exception=\
 483     error reading source file: {0}
 484 compiler.err.undef.label=\
 485     undefined label: {0}
 486 compiler.err.undetermined.type=\
 487     type parameters of {0} cannot be determined
 488 compiler.err.undetermined.type.1=\
 489     type parameters of {0} cannot be determined; {1}
 490 compiler.err.invalid.inferred.types=\
 491     invalid inferred types for {0}; {1}
 492 compiler.err.cant.apply.diamond=\
 493     cannot infer type arguments for {0}
 494 compiler.err.cant.apply.diamond.1=\
 495     cannot infer type arguments for {0};\n\
 496     reason: {1}
 497 compiler.err.unreachable.stmt=\
 498     unreachable statement
 499 compiler.err.initializer.must.be.able.to.complete.normally=\
 500     initializer must be able to complete normally
 501 compiler.err.unreported.exception.need.to.catch.or.throw=\
 502     unreported exception {0}; must be caught or declared to be thrown
 503 compiler.err.unreported.exception.default.constructor=\
 504     unreported exception {0} in default constructor
 505 compiler.err.unsupported.cross.fp.lit=\
 506     hexadecimal floating-point literals are not supported on this VM
 507 compiler.err.void.not.allowed.here=\
 508     ''void'' type not allowed here
 509 
 510 compiler.err.wrong.number.type.args=\
 511     wrong number of type arguments; required {0}
 512 
 513 compiler.err.var.might.already.be.assigned=\
 514     variable {0} might already have been assigned
 515 compiler.err.var.might.not.have.been.initialized=\
 516     variable {0} might not have been initialized
 517 compiler.err.var.might.be.assigned.in.loop=\
 518     variable {0} might be assigned in loop
 519 
 520 # In the following string, {1} will always be the detail message from
 521 # java.io.IOException.
 522 compiler.err.class.cant.write=\
 523     error while writing {0}: {1}
 524 
 525 # In the following string, {0} is the name of the class in the Java source.
 526 # It really should be used two times..
 527 compiler.err.class.public.should.be.in.file=\
 528     class {0} is public, should be declared in a file named {0}.java
 529 
 530 ## All errors which do not refer to a particular line in the source code are
 531 ## preceded by this string.
 532 compiler.err.error=\
 533     error:\u0020
 534 
 535 # The following error messages do not refer to a line in the source code.
 536 compiler.err.cant.read.file=\
 537     cannot read: {0}
 538 
 539 #####
 540 
 541 # Fatal Errors
 542 
 543 compiler.misc.fatal.err.no.java.lang=\
 544     Fatal Error: Unable to find package java.lang in classpath or bootclasspath
 545 compiler.misc.fatal.err.cant.locate.meth=\
 546     Fatal Error: Unable to find method {0}
 547 compiler.misc.fatal.err.cant.locate.field=\
 548     Fatal Error: Unable to find field {0}
 549 compiler.misc.fatal.err.cant.locate.ctor=\
 550     Fatal Error: Unable to find constructor for {0}
 551 
 552 #####
 553 
 554 ##
 555 ## miscellaneous strings
 556 ##
 557 
 558 compiler.misc.source.unavailable=\
 559     (source unavailable)
 560 compiler.misc.base.membership=\
 561     all your base class are belong to us
 562 compiler.misc.x.print.processor.info=\
 563     Processor {0} matches {1} and returns {2}.
 564 compiler.misc.x.print.rounds=\
 565     Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
 566 
 567 #####
 568 
 569 ## The following string will appear before all messages keyed as:
 570 ## "compiler.note".
 571 compiler.note.note=\
 572     Note:\u0020
 573 
 574 compiler.note.deprecated.filename=\
 575     {0} uses or overrides a deprecated API.
 576 compiler.note.deprecated.plural=\
 577     Some input files use or override a deprecated API.
 578 # The following string may appear after one of the above deprecation
 579 # messages.
 580 compiler.note.deprecated.recompile=\
 581     Recompile with -Xlint:deprecation for details.
 582 
 583 compiler.note.deprecated.filename.additional=\
 584     {0} has additional uses or overrides of a deprecated API.
 585 compiler.note.deprecated.plural.additional=\
 586     Some input files additionally use or override a deprecated API.
 587 
 588 compiler.note.unchecked.filename=\
 589     {0} uses unchecked or unsafe operations.
 590 compiler.note.unchecked.plural=\
 591     Some input files use unchecked or unsafe operations.
 592 # The following string may appear after one of the above deprecation
 593 # messages.
 594 compiler.note.unchecked.recompile=\
 595     Recompile with -Xlint:unchecked for details.
 596 
 597 compiler.note.unchecked.filename.additional=\
 598     {0} has additional unchecked or unsafe operations.
 599 compiler.note.unchecked.plural.additional=\
 600     Some input files additionally use unchecked or unsafe operations.
 601 
 602 compiler.note.varargs.filename=\
 603     {0} declares unsafe vararg methods.
 604 compiler.note.varargs.plural=\
 605     Some input files declare unsafe vararg methods.
 606 # The following string may appear after one of the above unsafe varargs
 607 # messages.
 608 compiler.note.varargs.recompile=\
 609     Recompile with -Xlint:varargs for details.
 610 
 611 compiler.note.varargs.filename.additional=\
 612     {0} declares additional unsafe vararg methods.
 613 compiler.note.varargs.plural.additional=\
 614     Some input files additionally declares unsafe vararg methods.
 615 
 616 compiler.note.sunapi.filename=\
 617     {0} uses internal proprietary API that may be removed in a future release.
 618 compiler.note.sunapi.plural=\
 619     Some input files use internal proprietary API that may be removed in a future release.
 620 # The following string may appear after one of the above sunapi messages.
 621 compiler.note.sunapi.recompile=\
 622     Recompile with -Xlint:sunapi for details.
 623 
 624 compiler.note.sunapi.filename.additional=\
 625     {0} uses additional internal proprietary API that may be removed in a future release.
 626 compiler.note.sunapi.plural.additional=\
 627     Some input files additionally use internal proprietary API that may be removed in a future release.
 628 
 629 # Notes related to annotation processing
 630 
 631 # Print a client-generated note; assumed to be localized, no translation required
 632 compiler.note.proc.messager=\
 633     {0}
 634 
 635 #####
 636 
 637 compiler.misc.count.error=\
 638     {0} error
 639 compiler.misc.count.error.plural=\
 640     {0} errors
 641 compiler.misc.count.warn=\
 642     {0} warning
 643 compiler.misc.count.warn.plural=\
 644     {0} warnings
 645 
 646 ## extra output when using -verbose (JavaCompiler)
 647 
 648 compiler.misc.verbose.checking.attribution=\
 649     [checking {0}]
 650 compiler.misc.verbose.parsing.done=\
 651     [parsing completed {0}ms]
 652 compiler.misc.verbose.parsing.started=\
 653     [parsing started {0}]
 654 compiler.misc.verbose.total=\
 655     [total {0}ms]
 656 compiler.misc.verbose.wrote.file=\
 657     [wrote {0}]
 658 
 659 ## extra output when using -verbose (Retro)
 660 compiler.misc.verbose.retro=\
 661     [retrofitting {0}]
 662 compiler.misc.verbose.retro.with=\
 663     \tretrofitting {0} with {1}
 664 compiler.misc.verbose.retro.with.list=\
 665     \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
 666 
 667 ## extra output when using -verbose (code/ClassReader)
 668 compiler.misc.verbose.loading=\
 669     [loading {0}]
 670 
 671 compiler.misc.verbose.sourcepath=\
 672     [search path for source files: {0}]
 673 
 674 compiler.misc.verbose.classpath=\
 675     [search path for class files: {0}]
 676 
 677 ## extra output when using -checkclassfile (code/ClassReader)
 678 compiler.misc.ccf.found.later.version=\
 679     class file has later version than expected: {0}
 680 compiler.misc.ccf.unrecognized.attribute=\
 681     unrecognized attribute: {0}
 682 
 683 ## extra output when using -prompt (util/Log)
 684 compiler.misc.resume.abort=\
 685     R)esume, A)bort>
 686 
 687 #####
 688 
 689 ##
 690 ## warnings
 691 ##
 692 
 693 ## All warning messages are preceded by the following string.
 694 compiler.warn.warning=\
 695     warning:\u0020
 696 
 697 compiler.warn.constant.SVUID=\
 698     [serial] serialVersionUID must be constant in class {0}
 699 
 700 compiler.warn.dir.path.element.not.found=\
 701     [path] bad path element "{0}": no such directory
 702 
 703 compiler.warn.finally.cannot.complete=\
 704     [finally] finally clause cannot complete normally
 705 
 706 compiler.warn.has.been.deprecated=\
 707     [deprecation] {0} in {1} has been deprecated
 708 
 709 compiler.warn.sun.proprietary=\
 710     {0} is internal proprietary API and may be removed in a future release
 711 
 712 compiler.warn.illegal.char.for.encoding=\
 713     unmappable character for encoding {0}
 714 compiler.warn.improper.SVUID=\
 715     [serial] serialVersionUID must be declared static final in class {0}
 716 
 717 compiler.warn.inexact.non-varargs.call=\
 718 non-varargs call of varargs method with inexact argument type for last parameter;\n\
 719 cast to {0} for a varargs call\n\
 720 cast to {1} for a non-varargs call and to suppress this warning
 721 
 722 compiler.warn.long.SVUID=\
 723     [serial] serialVersionUID must be of type long in class {0}
 724 
 725 compiler.warn.missing.SVUID=\
 726     [serial] serializable class {0} has no definition of serialVersionUID
 727 
 728 compiler.warn.override.varargs.missing=\
 729     {0}; overridden method has no ''...''
 730 compiler.warn.override.varargs.extra=\
 731     {0}; overriding method is missing ''...''
 732 compiler.warn.override.bridge=\
 733     {0}; overridden method is a bridge method
 734 
 735 compiler.warn.pkg-info.already.seen=\
 736     a package-info.java file has already been seen for package {0}
 737 compiler.warn.path.element.not.found=\
 738     [path] bad path element "{0}": no such file or directory
 739 compiler.warn.possible.fall-through.into.case=\
 740     [fallthrough] possible fall-through into case
 741 
 742 compiler.warn.redundant.cast=\
 743     [cast] redundant cast to {0}
 744 
 745 compiler.warn.position.overflow=\
 746     Position encoding overflows at line {0}
 747 
 748 compiler.warn.big.major.version=\
 749     {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
 750     It is recommended that the compiler be upgraded.
 751 
 752 compiler.warn.static.not.qualified.by.type=\
 753     [static] static {0} should be qualified by type name, {1}, instead of by an expression
 754 
 755 # Warnings related to annotation processing
 756 compiler.warn.proc.package.does.not.exist=\
 757     package {0} does not exist
 758 compiler.warn.proc.file.reopening=\
 759     Attempt to create a file for ''{0}'' multiple times
 760 
 761 compiler.warn.proc.type.already.exists=\
 762     A file for type ''{0}'' already exists on the sourcepath or classpath
 763 
 764 compiler.warn.proc.type.recreate=\
 765     Attempt to create a file for type ''{0}'' multiple times
 766 
 767 compiler.warn.proc.illegal.file.name=\
 768     Cannot create file for illegal name ''{0}''.
 769 
 770 compiler.warn.proc.file.create.last.round=\
 771     File for type ''{0}'' created in the last round will not be subject to annotation processing.
 772 
 773 compiler.warn.proc.malformed.supported.string=\
 774     Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
 775 
 776 compiler.warn.proc.annotations.without.processors=\
 777     No processor claimed any of these annotations: {0}
 778 
 779 compiler.warn.proc.processor.incompatible.source.version=\
 780     Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
 781 
 782 compiler.warn.proc.proc-only.requested.no.procs=\
 783     Annotation processing without compilation requested but no processors were found.
 784 
 785 compiler.warn.proc.use.implicit=\
 786 Implicitly compiled files were not subject to annotation processing.\n\
 787 Use -implicit to specify a policy for implicit compilation.
 788 
 789 compiler.warn.proc.use.proc.or.implicit=\
 790 Implicitly compiled files were not subject to annotation processing.\n\
 791 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
 792 
 793 # Print a client-generated warning; assumed to be localized, no translation required
 794 compiler.warn.proc.messager=\
 795     {0}
 796 
 797 compiler.warn.proc.unclosed.type.files=\
 798     Unclosed files for the types ''{0}''; these types will not undergo annotation processing
 799 
 800 compiler.warn.proc.unmatched.processor.options=\
 801     The following options were not recognized by any processor: ''{0}''
 802 
 803 compiler.warn.unchecked.assign=\
 804     [unchecked] unchecked assignment: {0} to {1}
 805 compiler.warn.unchecked.assign.to.var=\
 806     [unchecked] unchecked assignment to variable {0} as member of raw type {1}
 807 compiler.warn.unchecked.call.mbr.of.raw.type=\
 808     [unchecked] unchecked call to {0} as a member of the raw type {1}
 809 compiler.warn.unchecked.cast.to.type=\
 810     [unchecked] unchecked cast to type {0}
 811 compiler.warn.unchecked.meth.invocation.applied=\
 812     [unchecked] unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
 813     required: {2}\n\
 814     found: {3}
 815 
 816 compiler.warn.unchecked.generic.array.creation=\
 817     [unchecked] unchecked generic array creation for varargs parameter of type {0}
 818 
 819 compiler.warn.varargs.non.reifiable.type=\
 820     [varargs] Possible heap pollution from parameterized vararg type {0}
 821 
 822 compiler.warn.missing.deprecated.annotation=\
 823     [dep-ann] deprecated item is not annotated with @Deprecated
 824 
 825 compiler.warn.invalid.archive.file=\
 826     [path] Unexpected file on path: {0}
 827 
 828 compiler.warn.unexpected.archive.file=\
 829     [path] Unexpected extension for archive file: {0}
 830 
 831 compiler.warn.div.zero=\
 832     [divzero] division by zero
 833 
 834 compiler.warn.empty.if=\
 835     [empty] empty statement after if
 836 
 837 compiler.warn.annotation.method.not.found=\
 838     Cannot find annotation method ''{1}()'' in type ''{0}''
 839 
 840 compiler.warn.annotation.method.not.found.reason=\
 841     Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
 842 
 843 compiler.warn.raw.class.use=\
 844     [rawtypes] found raw type: {0}\n\
 845     missing type parameters for generic class {1}
 846 
 847 #####
 848 
 849 ## The following are tokens which are non-terminals in the language. They should
 850 ## be named as JLS3 calls them when translated to the appropriate language.
 851 compiler.misc.token.identifier=\
 852     <identifier>
 853 compiler.misc.token.character=\
 854     <character>
 855 compiler.misc.token.string=\
 856     <string>
 857 compiler.misc.token.integer=\
 858     <integer>
 859 compiler.misc.token.long-integer=\
 860     <long integer>
 861 compiler.misc.token.float=\
 862     <float>
 863 compiler.misc.token.double=\
 864     <double>
 865 compiler.misc.token.bad-symbol=\
 866     <bad symbol>
 867 compiler.misc.token.end-of-input=\
 868     <end of input>
 869 
 870 ## The argument to the following string will always be one of the following:
 871 ## 1. one of the above non-terminals
 872 ## 2. a keyword (JLS1.8)
 873 ## 3. a boolean literal (JLS3.10.3)
 874 ## 4. the null literal (JLS3.10.7)
 875 ## 5. a Java separator (JLS3.11)
 876 ## 6. an operator (JLS3.12)
 877 ##
 878 ## This is the only place these tokens will be used.
 879 compiler.err.expected=\
 880     {0} expected
 881 compiler.err.expected2=\
 882     {0} or {1} expected
 883 compiler.err.expected3=\
 884     {0}, {1}, or {2} expected
 885 
 886 compiler.err.premature.eof=\
 887     reached end of file while parsing
 888 
 889 ## The following are related in form, but do not easily fit the above paradigm.
 890 compiler.err.dot.class.expected=\
 891     ''.class'' expected
 892 
 893 ## The argument to this string will always be either 'case' or 'default'.
 894 compiler.err.orphaned=\
 895     orphaned {0}
 896 
 897 compiler.misc.anonymous.class=\
 898     <anonymous {0}>
 899 
 900 compiler.misc.type.captureof=\
 901     capture#{0} of {1}
 902 
 903 compiler.misc.type.captureof.1=\
 904     capture#{0}
 905 
 906 compiler.misc.type.none=\
 907     <none>
 908 
 909 compiler.misc.unnamed.package=\
 910     unnamed package
 911 
 912 #####
 913 
 914 compiler.err.cant.access=\
 915 cannot access {0}\n\
 916 {1}
 917 
 918 compiler.misc.bad.class.file.header=\
 919 bad class file: {0}\n\
 920 {1}\n\
 921 Please remove or make sure it appears in the correct subdirectory of the classpath.
 922 compiler.misc.bad.source.file.header=\
 923 bad source file: {0}\n\
 924 {1}\n\
 925 Please remove or make sure it appears in the correct subdirectory of the sourcepath.
 926 
 927 ## The following are all possible strings for the second argument ({1}) of the
 928 ## above strings.
 929 compiler.misc.bad.class.signature=\
 930     bad class signature: {0}
 931 compiler.misc.bad.enclosing.method=\
 932     bad enclosing method attribute: {0}
 933 compiler.misc.bad.runtime.invisible.param.annotations=\
 934     bad RuntimeInvisibleParameterAnnotations attribute: {0}
 935 compiler.misc.bad.const.pool.tag=\
 936     bad constant pool tag: {0}
 937 compiler.misc.bad.const.pool.tag.at=\
 938     bad constant pool tag: {0} at {1}
 939 compiler.misc.bad.signature=\
 940     bad signature: {0}
 941 compiler.misc.bad.type.annotation.value=\
 942     bad type annotation target type value: {0}
 943 compiler.misc.class.file.wrong.class=\
 944     class file contains wrong class: {0}
 945 compiler.misc.class.file.not.found=\
 946     class file for {0} not found
 947 compiler.misc.file.doesnt.contain.class=\
 948     file does not contain class {0}
 949 compiler.misc.file.does.not.contain.package=\
 950     file does not contain package {0}
 951 compiler.misc.illegal.start.of.class.file=\
 952     illegal start of class file
 953 compiler.misc.unable.to.access.file=\
 954     unable to access file: {0}
 955 compiler.misc.unicode.str.not.supported=\
 956     unicode string in class file not supported
 957 compiler.misc.undecl.type.var=\
 958     undeclared type variable: {0}
 959 compiler.misc.wrong.version=\
 960     class file has wrong version {0}.{1}, should be {2}.{3}
 961 
 962 #####
 963 
 964 compiler.err.not.within.bounds=\
 965     type parameter {0} is not within its bound
 966 
 967 compiler.err.not.within.bounds.explain=\
 968     type parameter {0} is not within its bound; {1}
 969 
 970 ## The following are all possible strings for the second argument ({1}) of the
 971 ## above string.
 972 
 973 ## none yet...
 974 
 975 #####
 976 
 977 compiler.err.prob.found.req=\
 978 {0}\n\
 979 required: {2}\n\
 980 found:    {1}
 981 compiler.warn.prob.found.req=\
 982 {0}\n\
 983 required: {2}\n\
 984 found:    {1}
 985 compiler.err.prob.found.req.1=\
 986 {0} {3}\n\
 987 required: {2}\n\
 988 found:    {1}
 989 
 990 ## The following are all possible strings for the first argument ({0}) of the
 991 ## above strings.
 992 compiler.misc.incompatible.types=\
 993     incompatible types
 994 compiler.misc.incompatible.types.1=\
 995     incompatible types; {0}
 996 compiler.misc.inconvertible.types=\
 997     inconvertible types
 998 compiler.misc.possible.loss.of.precision=\
 999     possible loss of precision
1000 
1001 compiler.misc.unchecked.assign=\
1002     [unchecked] unchecked conversion
1003 # compiler.misc.storecheck=\
1004 #     [unchecked] assignment might cause later store checks to fail
1005 # compiler.misc.unchecked=\
1006 #     [unchecked] assigned array cannot dynamically check its stores
1007 compiler.misc.unchecked.cast.to.type=\
1008     [unchecked] unchecked cast
1009 
1010 compiler.misc.assignment.from.super-bound=\
1011     assignment from super-bound type {0}
1012 compiler.misc.assignment.to.extends-bound=\
1013     assignment to extends-bound type {0}
1014 # compiler.err.star.expected=\
1015 #     ''*'' expected
1016 # compiler.err.no.elem.type=\
1017 #     \[\*\] cannot have a type
1018 
1019 #####
1020 
1021 compiler.err.type.found.req=\
1022 unexpected type\n\
1023 required: {1}\n\
1024 found:    {0}
1025 
1026 ## The following are all possible strings for the first argument ({0}) of the
1027 ## above string.
1028 compiler.misc.type.req.class=\
1029     class
1030 compiler.misc.type.req.class.array=\
1031     class or array
1032 compiler.misc.type.req.ref=\
1033     reference
1034 compiler.misc.type.req.exact=\
1035     class or interface without bounds
1036 compiler.misc.type.parameter=\
1037     type parameter {0}
1038 
1039 #####
1040 
1041 ## The following are all possible strings for the last argument of all those
1042 ## diagnostics whose key ends in ".1"
1043 compiler.misc.undetermined.type=\
1044     undetermined type
1045 ncompiler.misc.type.variable.has.undetermined.type=\
1046     type variable {0} has undetermined type
1047 compiler.misc.no.unique.maximal.instance.exists=\
1048     no unique maximal instance exists for type variable {0} with upper bounds {1}
1049 compiler.misc.no.unique.minimal.instance.exists=\
1050     no unique minimal instance exists for type variable {0} with lower bounds {1}
1051 compiler.misc.no.conforming.instance.exists=\
1052     no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
1053 compiler.misc.no.conforming.assignment.exists=\
1054     no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to formal parameter type {2}
1055 compiler.misc.arg.length.mismatch=\
1056     cannot instantiate from arguments because actual and formal argument lists differ in length
1057 compiler.misc.inferred.do.not.conform.to.bounds=\
1058     inferred type does not conform to declared bound(s)\n\
1059     inferred: {0}\n\
1060     bound(s): {1}
1061 compiler.misc.inferred.do.not.conform.to.params=\
1062     actual arguments do not conform to inferred formal arguments\n\
1063     required: {0}\n\
1064     found: {1}
1065 compiler.misc.diamond=\
1066     {0}<>
1067 compiler.misc.diamond.invalid.arg=\
1068     type argument {0} inferred for {1} is not allowed in this context
1069 compiler.misc.diamond.invalid.args=\
1070     type arguments {0} inferred for {1} are not allowed in this context
1071 #####
1072 
1073 ## The first argument ({0}) is a "kindname".
1074 compiler.err.abstract.cant.be.accessed.directly=\
1075     abstract {0} {1} in {2} cannot be accessed directly
1076 
1077 ## The first argument ({0}) is a "kindname".
1078 compiler.err.non-static.cant.be.ref=\
1079     non-static {0} {1} cannot be referenced from a static context
1080 
1081 ## Both arguments ({0}, {1}) are "kindname"s.  {0} is a comma-separated list
1082 ## of kindnames (the list should be identical to that provided in source.
1083 compiler.err.unexpected.type=\
1084 unexpected type\n\
1085 required: {0}\n\
1086 found:    {1}
1087 
1088 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.)
1089 ## The second argument {1} is the non-resolved symbol
1090 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method)
1091 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method)
1092 compiler.err.cant.resolve=\
1093     cannot find symbol\n\
1094     symbol: {0} {1}
1095 
1096 compiler.err.cant.resolve.args=\
1097     cannot find symbol\n\
1098     symbol: {0} {1}({3})
1099 
1100 compiler.err.cant.resolve.args.params=\
1101     cannot find symbol\n\
1102     symbol: {0} <{2}>{1}({3})
1103 
1104 ## arguments from {0} to {3} have the same meaning as above
1105 ## The fifth argument {4} is the location "kindname" (e.g. 'constructor', 'field', etc.)
1106 ## The sixth argument {5} is the location type
1107 compiler.err.cant.resolve.location=\
1108     cannot find symbol\n\
1109     symbol:   {0} {1}\n\
1110     location: {4} {5}
1111 
1112 compiler.err.cant.resolve.location.args=\
1113     cannot find symbol\n\
1114     symbol:   {0} {1}({3})\n\
1115     location: {4} {5}
1116 
1117 compiler.err.cant.resolve.location.args.params=\
1118     cannot find symbol\n\
1119     symbol:   {0} <{2}>{1}({3})\n\
1120     location: {4} {5}
1121 
1122 ## The following are all possible string for "kindname".
1123 ## They should be called whatever the JLS calls them after it been translated
1124 ## to the appropriate language.
1125 # compiler.misc.kindname.constructor=\
1126 #     static member
1127 compiler.misc.kindname.annotation=\
1128     @interface
1129 compiler.misc.kindname.constructor=\
1130     constructor
1131 compiler.misc.kindname.interface=\
1132     interface
1133 compiler.misc.kindname.static=\
1134     static
1135 compiler.misc.kindname.type.variable=\
1136     type variable
1137 compiler.misc.kindname.type.variable.bound=\
1138     bound of type variable
1139 compiler.misc.kindname.variable=\
1140     variable
1141 compiler.misc.kindname.value=\
1142     value
1143 compiler.misc.kindname.method=\
1144     method
1145 compiler.misc.kindname.class=\
1146     class
1147 compiler.misc.kindname.package=\
1148     package
1149 #####
1150 
1151 compiler.misc.no.args=\
1152     no arguments
1153 
1154 compiler.err.override.static=\
1155     {0}\n\
1156     overriding method is static
1157 compiler.err.override.meth=\
1158     {0}\n\
1159     overridden method is {1}
1160 
1161 compiler.err.override.meth.doesnt.throw=\
1162     {0}\n\
1163     overridden method does not throw {1}
1164 
1165 # In the following string {1} is a space separated list of Java Keywords, as
1166 # they would have been declared in the source code
1167 compiler.err.override.weaker.access=\
1168     {0}\n\
1169     attempting to assign weaker access privileges; was {1}
1170 
1171 compiler.err.override.incompatible.ret=\
1172     {0}\n\
1173     return type {1} is not compatible with {2}
1174 
1175 compiler.warn.override.unchecked.ret=\
1176     [unchecked] {0}\n\
1177     return type requires unchecked conversion from {1} to {2}
1178 
1179 compiler.warn.override.unchecked.thrown=\
1180     [unchecked] {0}\n\
1181     overridden method does not throw {1}
1182 
1183 ## The following are all possible strings for the first argument ({0}) of the
1184 ## above strings.
1185 compiler.misc.cant.override=\
1186     {0} in {1} cannot override {2} in {3}
1187 compiler.misc.cant.implement=\
1188     {0} in {1} cannot implement {2} in {3}
1189 compiler.misc.clashes.with=\
1190     {0} in {1} clashes with {2} in {3}
1191 compiler.misc.unchecked.override=\
1192     {0} in {1} overrides {2} in {3}
1193 compiler.misc.unchecked.implement=\
1194     {0} in {1} implements {2} in {3}
1195 compiler.misc.unchecked.clash.with=\
1196     {0} in {1} overrides {2} in {3}
1197 compiler.misc.varargs.override=\
1198     {0} in {1} overrides {2} in {3}
1199 compiler.misc.varargs.implement=\
1200     {0} in {1} implements {2} in {3}
1201 compiler.misc.varargs.clash.with=\
1202     {0} in {1} overrides {2} in {3}
1203 compiler.misc.non.denotable.type=\
1204     Non-denotable type {0} not allowed here
1205 
1206 ########################################
1207 # Diagnostics for language feature changes
1208 ########################################
1209 compiler.err.unsupported.fp.lit=\
1210     hexadecimal floating point literals are not supported in -source {0}\n\
1211 (use -source 5 or higher to enable hexadecimal floating point literals)
1212 
1213 compiler.err.unsupported.binary.lit=\
1214     binary literals are not supported in -source {0}\n\
1215 (use -source 7 or higher to enable binary literals)
1216 
1217 compiler.err.unsupported.underscore.lit=\
1218     underscores in literals are not supported in -source {0}\n\
1219 (use -source 7 or higher to enable underscores in literals)
1220 
1221 compiler.err.automatic.resource.management.not.supported.in.source=\
1222     automatic resource management is not supported in -source {0}\n\
1223 (use -source 7 or higher to enable automatic resource management)
1224 
1225 compiler.warn.automatic.resource.not.referenced=\
1226     automatic resource {0} is never referenced in body of corresponding try statement
1227 
1228 compiler.warn.enum.as.identifier=\
1229     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
1230 (use -source 5 or higher to use ''enum'' as a keyword)
1231 
1232 compiler.warn.assert.as.identifier=\
1233     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
1234 (use -source 1.4 or higher to use ''assert'' as a keyword)
1235 
1236 compiler.err.enum.as.identifier=\
1237     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
1238 (use -source 1.4 or lower to use ''enum'' as an identifier)
1239 
1240 compiler.err.assert.as.identifier=\
1241     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
1242 (use -source 1.3 or lower to use ''assert'' as an identifier)
1243 
1244 compiler.err.generics.not.supported.in.source=\
1245     generics are not supported in -source {0}\n\
1246 (use -source 5 or higher to enable generics)
1247 
1248 compiler.err.varargs.not.supported.in.source=\
1249     variable-arity methods are not supported in -source {0}\n\
1250 (use -source 5 or higher to enable variable-arity methods)
1251 
1252 compiler.err.annotations.not.supported.in.source=\
1253     annotations are not supported in -source {0}\n\
1254 (use -source 5 or higher to enable annotations)
1255 
1256 compiler.err.type.annotations.not.supported.in.source=\
1257     type annotations are not supported in -source {0}\n\
1258 (use -source 7 or higher to enable type annotations)
1259 
1260 compiler.err.foreach.not.supported.in.source=\
1261     for-each loops are not supported in -source {0}\n\
1262 (use -source 5 or higher to enable for-each loops)
1263 
1264 compiler.err.static.import.not.supported.in.source=\
1265     static import declarations are not supported in -source {0}\n\
1266 (use -source 5 or higher to enable static import declarations)
1267 
1268 compiler.err.enums.not.supported.in.source=\
1269     enums are not supported in -source {0}\n\
1270 (use -source 5 or higher to enable enums)
1271 
1272 compiler.err.multicatch.not.supported.in.source=\
1273     multi-catch statement is not supported in -source {0}\n\
1274 (use -source 7 or higher to enable multi-catch statement)
1275 
1276 compiler.err.string.switch.not.supported.in.source=\
1277     strings in switch are not supported in -source {0}\n\
1278 (use -source 7 or higher to enable strings in switch)
1279 
1280 ########################################
1281 # Diagnostics for where clause implementation
1282 # used by the RichDiagnosticFormatter.
1283 ########################################
1284 
1285 compiler.misc.type.null=\
1286     <null>
1287 
1288 # X#n (where n is an int id) is disambiguated tvar name
1289 compiler.misc.type.var=\
1290     {0}#{1}
1291 
1292 # CAP#n (where n is an int id) is an abbreviation for 'captured type'
1293 compiler.misc.captured.type=\
1294     CAP#{0}
1295 
1296 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
1297 compiler.misc.intersection.type=\
1298     INT#{0}
1299 
1300 # where clause for captured type: contains upper ('extends {1}') and lower
1301 # ('super {2}') bound along with the wildcard that generated this captured type ({3})
1302 compiler.misc.where.captured=\
1303     {0} extends {1} super: {2} from capture of {3}
1304 
1305 # compact where clause for captured type: contains upper ('extends {1}') along
1306 # with the wildcard that generated this captured type ({3})
1307 compiler.misc.where.captured.1=\
1308     {0} extends {1} from capture of {3}
1309 
1310 # where clause for type variable: contains upper bound(s) ('extends {1}') along with
1311 # the kindname ({2}) and location ({3}) in which the typevar has been declared
1312 compiler.misc.where.typevar=\
1313     {0} extends {1} declared in {2} {3}
1314 
1315 # compact where clause for type variable: contains the kindname ({2}) and location ({3})
1316 # in which the typevar has been declared
1317 compiler.misc.where.typevar.1=\
1318     {0} declared in {2} {3}
1319 
1320 # where clause for type variable: contains all the upper bound(s) ('extends {1}')
1321 # of this intersection type
1322 compiler.misc.where.intersection=\
1323     {0} extends {1}
1324 
1325 ### Where clause headers ###
1326 compiler.misc.where.description.captured=\
1327     where {0} is a fresh type-variable:
1328 compiler.misc.where.description.typevar=\
1329     where {0} is a type-variable:
1330 compiler.misc.where.description.intersection=\
1331     where {0} is an intersection type:
1332 compiler.misc.where.description.captured.1=\
1333     where {0} are fresh type-variables:
1334 compiler.misc.where.description.typevar.1=\
1335     where {0} are type-variables:
1336 compiler.misc.where.description.intersection.1=\
1337     where {0} are intersection types:
1338 
1339