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

Tue, 02 Nov 2010 12:01:35 +0000

author
mcimadamore
date
Tue, 02 Nov 2010 12:01:35 +0000
changeset 731
fadc6d3e63f4
parent 722
4851ff2ffc10
child 735
f2048d9c666e
permissions
-rw-r--r--

6939780: add a warning to detect diamond sites
Summary: added hidden compiler flag '-XDfindDiamond' to detect 'diamondifiable' sites
Reviewed-by: jjg

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

mercurial