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

Thu, 18 Nov 2010 16:13:11 -0800

author
jjg
date
Thu, 18 Nov 2010 16:13:11 -0800
changeset 752
03177f49411d
parent 743
6a99b741a1b0
child 757
c44234f680da
permissions
-rw-r--r--

6999438: remove support for exotic identifiers from JDK 7
Reviewed-by: mcimadamore

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

mercurial