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