| duke@0 | #
|
| ohair@109 | # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
|
| duke@0 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
| duke@0 | #
|
| duke@0 | # This code is free software; you can redistribute it and/or modify it
|
| duke@0 | # under the terms of the GNU General Public License version 2 only, as
|
| ohair@86 | # published by the Free Software Foundation. Oracle designates this
|
| duke@0 | # particular file as subject to the "Classpath" exception as provided
|
| ohair@86 | # by Oracle in the LICENSE file that accompanied this code.
|
| duke@0 | #
|
| duke@0 | # This code is distributed in the hope that it will be useful, but WITHOUT
|
| duke@0 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
| duke@0 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
| duke@0 | # version 2 for more details (a copy is included in the LICENSE file that
|
| duke@0 | # accompanied this code).
|
| duke@0 | #
|
| duke@0 | # You should have received a copy of the GNU General Public License version
|
| duke@0 | # 2 along with this work; if not, write to the Free Software Foundation,
|
| duke@0 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
| duke@0 | #
|
| ohair@86 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
| ohair@86 | # or visit www.oracle.com if you need additional information or have any
|
| ohair@86 | # questions.
|
| duke@0 | #
|
| duke@0 |
|
| duke@0 | ##
|
| duke@0 | ## errors
|
| duke@0 | ##
|
| duke@0 |
|
| duke@0 | compiler.err.abstract.cant.be.instantiated=\
|
| duke@0 | {0} is abstract; cannot be instantiated
|
| duke@0 | compiler.err.abstract.meth.cant.have.body=\
|
| duke@0 | abstract methods cannot have a body
|
| duke@0 | compiler.err.already.annotated=\
|
| duke@0 | {0} {1} has already been annotated
|
| duke@0 | compiler.err.already.defined=\
|
| duke@0 | {0} is already defined in {1}
|
| duke@0 | compiler.err.already.defined.single.import=\
|
| duke@0 | {0} is already defined in a single-type import
|
| duke@0 | compiler.err.already.defined.static.single.import=\
|
| duke@0 | {0} is already defined in a static single-type import
|
| duke@0 | compiler.err.already.defined.this.unit=\
|
| duke@0 | {0} is already defined in this compilation unit
|
| duke@0 | compiler.err.annotation.missing.default.value=\
|
| duke@0 | annotation {0} is missing {1}
|
| duke@0 | compiler.err.annotation.not.valid.for.type=\
|
| duke@0 | annotation not valid for a value of type {0}
|
| duke@0 | compiler.err.annotation.type.not.applicable=\
|
| duke@0 | annotation type not applicable to this kind of declaration
|
| duke@0 | compiler.err.annotation.value.must.be.annotation=\
|
| duke@0 | annotation value must be an annotation
|
| duke@0 | compiler.err.annotation.value.must.be.class.literal=\
|
| duke@0 | annotation value must be a class literal
|
| duke@0 | compiler.err.annotation.value.must.be.name.value=\
|
| duke@0 | annotation values must be of the form ''name=value''
|
| duke@0 | compiler.err.annotation.value.not.allowable.type=\
|
| duke@0 | annotation value not of an allowable type
|
| duke@0 | compiler.err.anon.class.impl.intf.no.args=\
|
| duke@0 | anonymous class implements interface; cannot have arguments
|
| duke@0 | compiler.err.anon.class.impl.intf.no.typeargs=\
|
| duke@0 | anonymous class implements interface; cannot have type arguments
|
| duke@0 | compiler.err.anon.class.impl.intf.no.qual.for.new=\
|
| duke@0 | anonymous class implements interface; cannot have qualifier for new
|
| duke@0 | compiler.err.array.and.varargs=\
|
| duke@0 | cannot declare both {0} and {1} in {2}
|
| duke@0 | compiler.err.array.dimension.missing=\
|
| duke@0 | array dimension missing
|
| duke@0 | compiler.err.array.req.but.found=\
|
| duke@0 | array required, but {0} found
|
| duke@0 |
|
| duke@0 | compiler.err.assignment.from.super-bound=\
|
| duke@0 | assigning from wildcard {0}
|
| duke@0 | compiler.err.assignment.to.extends-bound=\
|
| duke@0 | assigning to wildcard {0}
|
| duke@0 | compiler.err.attribute.value.must.be.constant=\
|
| duke@0 | attribute value must be constant
|
| duke@0 |
|
| duke@0 | compiler.err.break.outside.switch.loop=\
|
| duke@0 | break outside switch or loop
|
| duke@0 |
|
| duke@0 | compiler.err.call.must.be.first.stmt.in.ctor=\
|
| duke@0 | call to {0} must be first statement in constructor
|
| duke@0 | compiler.err.cant.apply.symbol=\
|
| duke@0 | {0} in {1} cannot be applied to {2}({3})
|
| duke@0 | compiler.err.cant.apply.symbol.1=\
|
| duke@0 | {0} in {1} cannot be applied to {2}({3}); {4}
|
| duke@0 | compiler.err.cant.assign.val.to.final.var=\
|
| duke@0 | cannot assign a value to final variable {0}
|
| duke@0 | compiler.err.cant.deref=\
|
| duke@0 | {0} cannot be dereferenced
|
| duke@0 | compiler.err.cant.extend.intf.annotation=\
|
| duke@0 | ''extends'' not allowed for @interfaces
|
| duke@0 | compiler.err.cant.inherit.from.final=\
|
| duke@0 | cannot inherit from final {0}
|
| duke@0 | compiler.err.cant.ref.before.ctor.called=\
|
| duke@0 | cannot reference {0} before supertype constructor has been called
|
| duke@0 | compiler.err.cant.ret.val.from.meth.decl.void=\
|
| duke@0 | cannot return a value from method whose result type is void
|
| duke@0 | compiler.err.cant.select.static.class.from.param.type=\
|
| duke@0 | cannot select a static class from a parameterized type
|
| duke@0 | compiler.err.cant.inherit.diff.arg=\
|
| duke@0 | {0} cannot be inherited with different arguments: <{1}> and <{2}>
|
| duke@0 | compiler.err.catch.without.try=\
|
| duke@0 | ''catch'' without ''try''
|
| duke@0 | compiler.err.clash.with.pkg.of.same.name=\
|
| duke@0 | {0} clashes with package of same name
|
| duke@0 | compiler.err.const.expr.req=\
|
| duke@0 | constant expression required
|
| duke@0 | compiler.err.enum.const.req=\
|
| duke@0 | unqualified enumeration constant name required
|
| duke@0 | compiler.err.cont.outside.loop=\
|
| duke@0 | continue outside of loop
|
| duke@0 | compiler.err.cyclic.inheritance=\
|
| duke@0 | cyclic inheritance involving {0}
|
| duke@0 | compiler.err.cyclic.annotation.element=\
|
| duke@0 | cyclic annotation element type
|
| duke@0 | compiler.err.call.to.super.not.allowed.in.enum.ctor=\
|
| duke@0 | call to super not allowed in enum constructor
|
| duke@0 | compiler.err.no.superclass=\
|
| duke@0 | {0} has no superclass
|
| duke@0 |
|
| duke@0 | compiler.err.concrete.inheritance.conflict=\
|
| duke@0 | methods {0} from {1} and {2} from {3} are inherited with the same signature
|
| duke@0 |
|
| duke@0 | compiler.err.default.allowed.in.intf.annotation.member=\
|
| duke@0 | default value only allowed in an @interface member
|
| duke@0 | compiler.err.doesnt.exist=\
|
| duke@0 | package {0} does not exist
|
| duke@0 | compiler.err.duplicate.annotation=\
|
| duke@0 | duplicate annotation
|
| duke@0 | compiler.err.duplicate.annotation.member.value=\
|
| duke@0 | duplicate annotation member value {0} in {1}
|
| duke@0 | compiler.err.duplicate.class=\
|
| duke@0 | duplicate class: {0}
|
| duke@0 | compiler.err.duplicate.case.label=\
|
| duke@0 | duplicate case label
|
| duke@0 | compiler.err.duplicate.default.label=\
|
| duke@0 | duplicate default label
|
| duke@0 |
|
| duke@0 | compiler.err.else.without.if=\
|
| duke@0 | ''else'' without ''if''
|
| duke@0 | compiler.err.empty.char.lit=\
|
| duke@0 | empty character literal
|
| duke@0 | compiler.err.encl.class.required=\
|
| duke@0 | an enclosing instance that contains {0} is required
|
| duke@0 | compiler.err.enum.annotation.must.be.enum.constant=\
|
| duke@0 | an enum annotation value must be an enum constant
|
| duke@0 |
|
| duke@0 | compiler.err.enum.cant.be.instantiated=\
|
| duke@0 | enum types may not be instantiated
|
| duke@0 | compiler.err.enum.label.must.be.unqualified.enum=\
|
| duke@0 | an enum switch case label must be the unqualified name of an enumeration constant
|
| duke@0 | compiler.err.enum.no.subclassing=\
|
| duke@0 | classes cannot directly extend java.lang.Enum
|
| duke@0 | compiler.err.enum.types.not.extensible=\
|
| duke@0 | enum types are not extensible
|
| duke@0 | compiler.err.enum.no.finalize=\
|
| duke@0 | enums cannot have finalize methods
|
| duke@0 | compiler.err.error.reading.file=\
|
| duke@0 | error reading {0}; {1}
|
| duke@0 | compiler.err.except.already.caught=\
|
| duke@0 | exception {0} has already been caught
|
| duke@0 | compiler.err.except.never.thrown.in.try=\
|
| duke@0 | exception {0} is never thrown in body of corresponding try statement
|
| duke@0 |
|
| duke@0 | compiler.err.final.parameter.may.not.be.assigned=\
|
| duke@0 | final parameter {0} may not be assigned
|
| duke@0 | compiler.err.finally.without.try=\
|
| duke@0 | ''finally'' without ''try''
|
| duke@0 | compiler.err.foreach.not.applicable.to.type=\
|
| duke@0 | foreach not applicable to expression type
|
| duke@0 | compiler.err.fp.number.too.large=\
|
| duke@0 | floating point number too large
|
| duke@0 | compiler.err.fp.number.too.small=\
|
| duke@0 | floating point number too small
|
| duke@0 |
|
| duke@0 | compiler.err.generic.array.creation=\
|
| duke@0 | generic array creation
|
| duke@0 | compiler.err.generic.throwable=\
|
| duke@0 | a generic class may not extend java.lang.Throwable
|
| duke@0 |
|
| duke@0 | compiler.err.icls.cant.have.static.decl=\
|
| duke@0 | inner classes cannot have static declarations
|
| duke@0 | compiler.err.illegal.char=\
|
| duke@0 | illegal character: \\{0}
|
| duke@0 | compiler.err.illegal.char.for.encoding=\
|
| duke@0 | unmappable character for encoding {0}
|
| duke@0 | compiler.err.illegal.combination.of.modifiers=\
|
| duke@0 | illegal combination of modifiers: {0} and {1}
|
| duke@0 | compiler.err.illegal.enum.static.ref=\
|
| duke@0 | illegal reference to static field from initializer
|
| duke@0 | compiler.err.illegal.esc.char=\
|
| duke@0 | illegal escape character
|
| duke@0 | compiler.err.illegal.forward.ref=\
|
| duke@0 | illegal forward reference
|
| duke@0 | compiler.warn.forward.ref=\
|
| duke@0 | reference to variable ''{0}'' before it has been initialized
|
| duke@0 | compiler.err.illegal.generic.type.for.instof=\
|
| duke@0 | illegal generic type for instanceof
|
| duke@0 | compiler.err.illegal.initializer.for.type=\
|
| duke@0 | illegal initializer for {0}
|
| duke@0 | compiler.err.illegal.line.end.in.char.lit=\
|
| duke@0 | illegal line end in character literal
|
| duke@0 | compiler.err.illegal.nonascii.digit=\
|
| duke@0 | illegal non-ASCII digit
|
| duke@0 | compiler.err.illegal.qual.not.icls=\
|
| duke@0 | illegal qualifier; {0} is not an inner class
|
| duke@0 | compiler.err.illegal.start.of.expr=\
|
| duke@0 | illegal start of expression
|
| duke@0 | compiler.err.illegal.start.of.type=\
|
| duke@0 | illegal start of type
|
| duke@0 | compiler.err.illegal.unicode.esc=\
|
| duke@0 | illegal unicode escape
|
| duke@0 | compiler.err.import.requires.canonical=\
|
| duke@0 | import requires canonical name for {0}
|
| duke@0 | compiler.err.improperly.formed.type.param.missing=\
|
| duke@0 | improperly formed type, some parameters are missing
|
| duke@0 | compiler.err.improperly.formed.type.inner.raw.param=\
|
| duke@0 | improperly formed type, type parameters given on a raw type
|
| duke@0 | compiler.err.incomparable.types=\
|
| duke@0 | incomparable types: {0} and {1}
|
| duke@0 | compiler.err.int.number.too.large=\
|
| duke@0 | integer number too large: {0}
|
| duke@0 | compiler.err.internal.error.cant.instantiate=\
|
| duke@0 | internal error; cannot instantiate {0} at {1} to ({2})
|
| duke@0 | compiler.err.intf.annotation.members.cant.have.params=\
|
| duke@0 | @interface members may not have parameters
|
| duke@0 | compiler.err.intf.annotation.cant.have.type.params=\
|
| duke@0 | @interface may not have type parameters
|
| duke@0 | compiler.err.intf.annotation.members.cant.have.type.params=\
|
| duke@0 | @interface members may not have type parameters
|
| duke@0 | compiler.err.intf.annotation.member.clash=\
|
| duke@0 | @interface member clashes with method ''{0}'' in {1}
|
| duke@0 | compiler.err.intf.expected.here=\
|
| duke@0 | interface expected here
|
| duke@0 | compiler.err.intf.meth.cant.have.body=\
|
| duke@0 | interface methods cannot have body
|
| duke@0 | compiler.err.invalid.annotation.member.type=\
|
| duke@0 | invalid type for annotation member
|
| duke@0 | compiler.err.invalid.hex.number=\
|
| duke@0 | hexadecimal numbers must contain at least one hexadecimal digit
|
| duke@0 | compiler.err.invalid.meth.decl.ret.type.req=\
|
| duke@0 | invalid method declaration; return type required
|
| duke@0 |
|
| duke@0 | compiler.err.label.already.in.use=\
|
| duke@0 | label {0} already in use
|
| duke@0 | compiler.err.local.var.accessed.from.icls.needs.final=\
|
| duke@0 | local variable {0} is accessed from within inner class; needs to be declared final
|
| duke@0 | compiler.err.local.enum=\
|
| duke@0 | enum types must not be local
|
| duke@0 | compiler.err.cannot.create.array.with.type.arguments=\
|
| duke@0 | cannot create array with type arguments
|
| duke@0 |
|
| duke@0 | #
|
| duke@0 | # limits. We don't give the limits in the diagnostic because we expect
|
| duke@0 | # them to change, yet we want to use the same diagnostic. These are all
|
| duke@0 | # detected during code generation.
|
| duke@0 | #
|
| duke@0 | compiler.err.limit.code=\
|
| duke@0 | code too large
|
| duke@0 | compiler.err.limit.code.too.large.for.try.stmt=\
|
| duke@0 | code too large for try statement
|
| duke@0 | compiler.err.limit.dimensions=\
|
| duke@0 | array type has too many dimensions
|
| duke@0 | compiler.err.limit.locals=\
|
| duke@0 | too many local variables
|
| duke@0 | compiler.err.limit.parameters=\
|
| duke@0 | too many parameters
|
| duke@0 | compiler.err.limit.pool=\
|
| duke@0 | too many constants
|
| duke@0 | compiler.err.limit.pool.in.class=\
|
| duke@0 | too many constants in class {0}
|
| duke@0 | compiler.err.limit.stack=\
|
| duke@0 | code requires too much stack
|
| duke@0 | compiler.err.limit.string=\
|
| duke@0 | constant string too long
|
| duke@0 | compiler.err.limit.string.overflow=\
|
| duke@0 | UTF8 representation for string \"{0}...\" is too long for the constant pool
|
| duke@0 |
|
| duke@0 | compiler.err.malformed.fp.lit=\
|
| duke@0 | malformed floating point literal
|
| duke@0 | compiler.err.method.does.not.override.superclass=\
|
| duke@0 | method does not override or implement a method from a supertype
|
| duke@0 | compiler.err.missing.meth.body.or.decl.abstract=\
|
| duke@0 | missing method body, or declare abstract
|
| duke@0 | compiler.err.missing.ret.stmt=\
|
| duke@0 | missing return statement
|
| duke@0 | compiler.err.missing.ret.val=\
|
| duke@0 | missing return value
|
| duke@0 | compiler.err.mod.not.allowed.here=\
|
| duke@0 | modifier {0} not allowed here
|
| duke@0 | compiler.err.intf.not.allowed.here=\
|
| duke@0 | interface not allowed here
|
| duke@0 | compiler.err.enums.must.be.static=\
|
| duke@0 | enum declarations allowed only in static contexts
|
| duke@0 |
|
| duke@0 | compiler.err.name.clash.same.erasure=\
|
| duke@0 | name clash: {0} and {1} have the same erasure
|
| duke@0 | compiler.err.name.clash.same.erasure.no.override=\
|
| duke@0 | name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
|
| duke@0 | compiler.err.name.reserved.for.internal.use=\
|
| duke@0 | {0} is reserved for internal use
|
| duke@0 | compiler.err.native.meth.cant.have.body=\
|
| duke@0 | native methods cannot have a body
|
| duke@0 | compiler.err.neither.conditional.subtype=\
|
| duke@0 | incompatible types for ?: neither is a subtype of the other\n\
|
| duke@0 | second operand: {0}\n\
|
| duke@0 | third operand : {1}
|
| duke@0 | compiler.err.new.not.allowed.in.annotation=\
|
| duke@0 | ''new'' not allowed in an annotation
|
| duke@0 | compiler.err.no.annotation.member=\
|
| duke@0 | no annotation member {0} in {1}
|
| duke@0 | compiler.err.no.encl.instance.of.type.in.scope=\
|
| duke@0 | no enclosing instance of type {0} is in scope
|
| duke@0 | compiler.err.no.intf.expected.here=\
|
| duke@0 | no interface expected here
|
| duke@0 | compiler.err.no.match.entry=\
|
| duke@0 | {0} has no match in entry in {1}; required {2}
|
| duke@0 | compiler.err.not.annotation.type=\
|
| duke@0 | {0} is not an annotation type
|
| duke@0 | compiler.err.not.def.access.class.intf.cant.access=\
|
| duke@0 | {0} in {1} is defined in an inaccessible class or interface
|
| duke@0 | compiler.err.not.def.public.cant.access=\
|
| duke@0 | {0} is not public in {1}; cannot be accessed from outside package
|
| duke@0 | compiler.err.not.loop.label=\
|
| duke@0 | not a loop label: {0}
|
| duke@0 | compiler.err.not.stmt=\
|
| duke@0 | not a statement
|
| duke@0 | compiler.err.not.encl.class=\
|
| duke@0 | not an enclosing class: {0}
|
| duke@0 |
|
| duke@0 | compiler.err.operator.cant.be.applied=\
|
| duke@0 | operator {0} cannot be applied to {1}
|
| duke@0 |
|
| duke@0 | compiler.err.pkg.annotations.sb.in.package-info.java=\
|
| duke@0 | package annotations should be in file package-info.java
|
| duke@0 | compiler.err.pkg.clashes.with.class.of.same.name=\
|
| duke@0 | package {0} clashes with class of same name
|
| jjg@103 |
|
| jjg@103 | compiler.err.warnings.and.werror=\
|
| jjg@103 | warnings found and -Werror specified
|
| duke@0 |
|
| duke@0 | # Errors related to annotation processing
|
| duke@0 |
|
| duke@0 | compiler.err.proc.cant.access=\
|
| duke@0 | cannot access {0}\n\
|
| duke@0 | {1}\n\
|
| duke@0 | Consult the following stack trace for details.\n\
|
| duke@0 | {2}
|
| duke@0 |
|
| duke@0 | compiler.err.proc.cant.find.class=\
|
| duke@0 | Could not find class file for ''{0}''.
|
| duke@0 |
|
| duke@0 | # Print a client-generated error message; assumed to be localized, no translation required
|
| duke@0 | compiler.err.proc.messager=\
|
| duke@0 | {0}
|
| duke@0 |
|
| duke@0 | compiler.err.proc.no.explicit.annotation.processing.requested=\
|
| duke@0 | Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
|
| duke@0 |
|
| duke@0 | compiler.err.proc.no.service=\
|
| duke@0 | A service loader class could not be found.\n\
|
| duke@0 | Either java.util.ServiceLoader or sun.misc.Service must be available.
|
| duke@0 |
|
| duke@0 | compiler.err.proc.processor.bad.option.name=\
|
| duke@0 | Bad option name ''{0}'' provided by processor ''{1}''
|
| duke@0 |
|
| duke@0 | compiler.err.proc.processor.cant.instantiate=\
|
| duke@0 | Could not instantiate an instance of processor ''{0}''
|
| duke@0 |
|
| duke@0 | compiler.err.proc.processor.constructor.error=\
|
| duke@0 | Exception thrown while constructing Processor object: {0}
|
| duke@0 |
|
| duke@0 | compiler.err.proc.processor.not.found=\
|
| duke@0 | Annotation processor ''{0}'' not found
|
| duke@0 |
|
| duke@0 | compiler.err.proc.processor.wrong.type=\
|
| duke@0 | Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
|
| duke@0 |
|
| duke@0 | compiler.err.proc.service.problem=\
|
| duke@0 | Error creating a service loader to load Processors.
|
| duke@0 |
|
| duke@0 | compiler.err.proc.bad.config.file=\
|
| duke@0 | Bad service configuration file, or exception thrown while constructing Processor object: {0}
|
| duke@0 |
|
| duke@0 | compiler.err.proc.cant.create.loader=\
|
| duke@0 | Could not create class loader for annotation processors: {0}
|
| duke@0 |
|
| duke@0 | compiler.err.qualified.new.of.static.class=\
|
| duke@0 | qualified new of static class
|
| duke@0 |
|
| duke@0 | compiler.err.recursive.ctor.invocation=\
|
| duke@0 | recursive constructor invocation
|
| duke@0 | compiler.err.ref.ambiguous=\
|
| duke@0 | reference to {0} is ambiguous, both {1} {2} in {3} and {4} {5} in {6} match
|
| duke@0 | compiler.err.repeated.annotation.target=\
|
| duke@0 | repeated annotation target
|
| duke@0 | compiler.err.repeated.interface=\
|
| duke@0 | repeated interface
|
| duke@0 | compiler.err.repeated.modifier=\
|
| duke@0 | repeated modifier
|
| duke@0 | compiler.err.report.access=\
|
| duke@0 | {0} has {1} access in {2}
|
| duke@0 | compiler.err.ret.outside.meth=\
|
| duke@0 | return outside method
|
| duke@0 |
|
| duke@0 | compiler.err.signature.doesnt.match.supertype=\
|
| duke@0 | signature does not match {0}; incompatible supertype
|
| duke@0 | compiler.err.signature.doesnt.match.intf=\
|
| duke@0 | signature does not match {0}; incompatible interfaces
|
| duke@0 | compiler.err.does.not.override.abstract=\
|
| duke@0 | {0} is not abstract and does not override abstract method {1} in {2}
|
| duke@0 | compiler.err.source.cant.overwrite.input.file=\
|
| duke@0 | error writing source; cannot overwrite input file {0}
|
| duke@0 | compiler.err.stack.sim.error=\
|
| duke@0 | Internal error: stack sim error on {0}
|
| duke@0 | compiler.err.static.imp.only.classes.and.interfaces=\
|
| duke@0 | static import only from classes and interfaces
|
| duke@0 | compiler.err.synthetic.name.conflict=\
|
| duke@0 | the symbol {0} conflicts with a compiler-synthesized symbol in {1}
|
| duke@0 |
|
| duke@0 | compiler.err.throws.not.allowed.in.intf.annotation=\
|
| duke@0 | throws clause not allowed in @interface members
|
| duke@0 | compiler.err.try.without.catch.or.finally=\
|
| duke@0 | ''try'' without ''catch'' or ''finally''
|
| duke@0 | compiler.err.type.doesnt.take.params=\
|
| duke@0 | type {0} does not take parameters
|
| duke@0 | compiler.err.type.var.cant.be.deref=\
|
| duke@0 | cannot select from a type variable
|
| duke@0 | compiler.err.type.var.may.not.be.followed.by.other.bounds=\
|
| duke@0 | a type variable may not be followed by other bounds
|
| duke@0 | compiler.err.type.var.more.than.once=\
|
| duke@0 | type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
|
| duke@0 | compiler.err.type.var.more.than.once.in.result=\
|
| duke@0 | type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
|
| duke@0 | compiler.err.types.incompatible.diff.ret=\
|
| duke@0 | types {0} and {1} are incompatible; both define {2}, but with unrelated return types
|
| duke@0 |
|
| duke@0 | compiler.err.unclosed.char.lit=\
|
| duke@0 | unclosed character literal
|
| duke@0 | compiler.err.unclosed.comment=\
|
| duke@0 | unclosed comment
|
| duke@0 | compiler.err.unclosed.str.lit=\
|
| duke@0 | unclosed string literal
|
| duke@0 | compiler.err.unknown.enum.constant=\
|
| duke@0 | in class file {0}: unknown enum constant {1}.{2}
|
| duke@0 | compiler.err.unsupported.encoding=\
|
| duke@0 | unsupported encoding: {0}
|
| duke@0 | compiler.err.io.exception=\
|
| duke@0 | error reading source file: {0}
|
| duke@0 | compiler.err.undef.label=\
|
| duke@0 | undefined label: {0}
|
| duke@0 | compiler.err.undetermined.type=\
|
| duke@0 | type parameters of {0} cannot be determined
|
| duke@0 | compiler.err.undetermined.type.1=\
|
| duke@0 | type parameters of {0} cannot be determined; {1}
|
| duke@0 | compiler.err.unreachable.stmt=\
|
| duke@0 | unreachable statement
|
| duke@0 | compiler.err.initializer.must.be.able.to.complete.normally=\
|
| duke@0 | initializer must be able to complete normally
|
| duke@0 | compiler.err.unreported.exception.need.to.catch.or.throw=\
|
| duke@0 | unreported exception {0}; must be caught or declared to be thrown
|
| duke@0 | compiler.err.unreported.exception.default.constructor=\
|
| duke@0 | unreported exception {0} in default constructor
|
| duke@0 | compiler.err.unsupported.cross.fp.lit=\
|
| duke@0 | hexadecimal floating-point literals are not supported on this VM
|
| duke@0 | compiler.err.void.not.allowed.here=\
|
| duke@0 | ''void'' type not allowed here
|
| duke@0 |
|
| duke@0 | compiler.err.wrong.number.type.args=\
|
| duke@0 | wrong number of type arguments; required {0}
|
| duke@0 |
|
| duke@0 | compiler.err.var.might.already.be.assigned=\
|
| duke@0 | variable {0} might already have been assigned
|
| duke@0 | compiler.err.var.might.not.have.been.initialized=\
|
| duke@0 | variable {0} might not have been initialized
|
| duke@0 | compiler.err.var.might.be.assigned.in.loop=\
|
| duke@0 | variable {0} might be assigned in loop
|
| duke@0 |
|
| duke@0 | # In the following string, {1} will always be the detail message from
|
| duke@0 | # java.io.IOException.
|
| duke@0 | compiler.err.class.cant.write=\
|
| duke@0 | error while writing {0}: {1}
|
| duke@0 |
|
| duke@0 | # In the following string, {0} is the name of the class in the Java source.
|
| duke@0 | # It really should be used two times..
|
| duke@0 | compiler.err.class.public.should.be.in.file=\
|
| duke@0 | class {0} is public, should be declared in a file named {0}.java
|
| duke@0 |
|
| duke@0 | ## All errors which do not refer to a particular line in the source code are
|
| duke@0 | ## preceded by this string.
|
| duke@0 | compiler.err.error=\
|
| duke@0 | error:\u0020
|
| duke@0 |
|
| duke@0 | # The following error messages do not refer to a line in the source code.
|
| duke@0 | compiler.err.cant.read.file=\
|
| duke@0 | cannot read: {0}
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | # Fatal Errors
|
| duke@0 |
|
| duke@0 | compiler.misc.fatal.err.no.java.lang=\
|
| duke@0 | Fatal Error: Unable to find package java.lang in classpath or bootclasspath
|
| duke@0 | compiler.misc.fatal.err.cant.locate.meth=\
|
| duke@0 | Fatal Error: Unable to find method {0}
|
| duke@0 | compiler.misc.fatal.err.cant.locate.field=\
|
| duke@0 | Fatal Error: Unable to find field {0}
|
| duke@0 | compiler.misc.fatal.err.cant.locate.ctor=\
|
| duke@0 | Fatal Error: Unable to find constructor for {0}
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | ##
|
| duke@0 | ## miscellaneous strings
|
| duke@0 | ##
|
| duke@0 |
|
| duke@0 | compiler.misc.source.unavailable=\
|
| duke@0 | (source unavailable)
|
| duke@0 | compiler.misc.base.membership=\
|
| duke@0 | all your base class are belong to us
|
| duke@0 | compiler.misc.x.print.processor.info=\
|
| duke@0 | Processor {0} matches {1} and returns {2}.
|
| duke@0 | compiler.misc.x.print.rounds=\
|
| duke@0 | Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | ## The following string will appear before all messages keyed as:
|
| duke@0 | ## "compiler.note".
|
| duke@0 | compiler.note.note=\
|
| duke@0 | Note:\u0020
|
| duke@0 |
|
| duke@0 | compiler.note.deprecated.filename=\
|
| duke@0 | {0} uses or overrides a deprecated API.
|
| duke@0 | compiler.note.deprecated.plural=\
|
| duke@0 | Some input files use or override a deprecated API.
|
| duke@0 | # The following string may appear after one of the above deprecation
|
| duke@0 | # messages.
|
| duke@0 | compiler.note.deprecated.recompile=\
|
| duke@0 | Recompile with -Xlint:deprecation for details.
|
| duke@0 |
|
| duke@0 | compiler.note.deprecated.filename.additional=\
|
| duke@0 | {0} has additional uses or overrides of a deprecated API.
|
| duke@0 | compiler.note.deprecated.plural.additional=\
|
| duke@0 | Some input files additionally use or override a deprecated API.
|
| duke@0 |
|
| duke@0 | # Notes related to annotation processing
|
| duke@0 |
|
| duke@0 | # Print a client-generated note; assumed to be localized, no translation required
|
| duke@0 | compiler.note.proc.messager=\
|
| duke@0 | {0}
|
| duke@0 |
|
| duke@0 | compiler.note.unchecked.filename=\
|
| duke@0 | {0} uses unchecked or unsafe operations.
|
| duke@0 | compiler.note.unchecked.plural=\
|
| duke@0 | Some input files use unchecked or unsafe operations.
|
| duke@0 | # The following string may appear after one of the above deprecation
|
| duke@0 | # messages.
|
| duke@0 | compiler.note.unchecked.recompile=\
|
| duke@0 | Recompile with -Xlint:unchecked for details.
|
| duke@0 |
|
| duke@0 | compiler.note.unchecked.filename.additional=\
|
| duke@0 | {0} has additional unchecked or unsafe operations.
|
| duke@0 | compiler.note.unchecked.plural.additional=\
|
| duke@0 | Some input files additionally use unchecked or unsafe operations.
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | compiler.misc.count.error=\
|
| duke@0 | {0} error
|
| duke@0 | compiler.misc.count.error.plural=\
|
| duke@0 | {0} errors
|
| duke@0 | compiler.misc.count.warn=\
|
| duke@0 | {0} warning
|
| duke@0 | compiler.misc.count.warn.plural=\
|
| duke@0 | {0} warnings
|
| duke@0 |
|
| duke@0 | ## extra output when using -verbose (JavaCompiler)
|
| duke@0 |
|
| duke@0 | compiler.misc.verbose.checking.attribution=\
|
| duke@0 | [checking {0}]
|
| duke@0 | compiler.misc.verbose.parsing.done=\
|
| duke@0 | [parsing completed {0}ms]
|
| duke@0 | compiler.misc.verbose.parsing.started=\
|
| duke@0 | [parsing started {0}]
|
| duke@0 | compiler.misc.verbose.total=\
|
| duke@0 | [total {0}ms]
|
| duke@0 | compiler.misc.verbose.wrote.file=\
|
| duke@0 | [wrote {0}]
|
| duke@0 |
|
| duke@0 | ## extra output when using -verbose (Retro)
|
| duke@0 | compiler.misc.verbose.retro=\
|
| duke@0 | [retrofitting {0}]
|
| duke@0 | compiler.misc.verbose.retro.with=\
|
| duke@0 | \tretrofitting {0} with {1}
|
| duke@0 | compiler.misc.verbose.retro.with.list=\
|
| duke@0 | \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
|
| duke@0 |
|
| duke@0 | ## extra output when using -verbose (code/ClassReader)
|
| duke@0 | compiler.misc.verbose.loading=\
|
| duke@0 | [loading {0}]
|
| duke@0 |
|
| duke@0 | compiler.misc.verbose.sourcepath=\
|
| duke@0 | [search path for source files: {0}]
|
| duke@0 |
|
| duke@0 | compiler.misc.verbose.classpath=\
|
| duke@0 | [search path for class files: {0}]
|
| duke@0 |
|
| duke@0 | ## extra output when using -checkclassfile (code/ClassReader)
|
| duke@0 | compiler.misc.ccf.found.later.version=\
|
| duke@0 | class file has later version than expected: {0}
|
| duke@0 | compiler.misc.ccf.unrecognized.attribute=\
|
| duke@0 | unrecognized attribute: {0}
|
| duke@0 |
|
| duke@0 | ## extra output when using -prompt (util/Log)
|
| duke@0 | compiler.misc.resume.abort=\
|
| duke@0 | R)esume, A)bort>
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | ##
|
| duke@0 | ## warnings
|
| duke@0 | ##
|
| duke@0 |
|
| duke@0 | ## All warning messages are preceded by the following string.
|
| duke@0 | compiler.warn.warning=\
|
| duke@0 | warning:\u0020
|
| duke@0 |
|
| duke@0 | compiler.warn.constant.SVUID=\
|
| duke@0 | [serial] serialVersionUID must be constant in class {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.dir.path.element.not.found=\
|
| duke@0 | [path] bad path element "{0}": no such directory
|
| duke@0 |
|
| duke@0 | compiler.warn.finally.cannot.complete=\
|
| duke@0 | [finally] finally clause cannot complete normally
|
| duke@0 |
|
| duke@0 | compiler.warn.has.been.deprecated=\
|
| duke@0 | [deprecation] {0} in {1} has been deprecated
|
| duke@0 |
|
| duke@0 | compiler.warn.sun.proprietary=\
|
| jjg@89 | {0} is internal proprietary API and may be removed in a future release
|
| duke@0 |
|
| duke@0 | compiler.warn.illegal.char.for.encoding=\
|
| duke@0 | unmappable character for encoding {0}
|
| duke@0 | compiler.warn.improper.SVUID=\
|
| duke@0 | [serial] serialVersionUID must be declared static final in class {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.inexact.non-varargs.call=\
|
| duke@0 | non-varargs call of varargs method with inexact argument type for last parameter;\n\
|
| duke@0 | cast to {0} for a varargs call\n\
|
| duke@0 | cast to {1} for a non-varargs call and to suppress this warning
|
| duke@0 |
|
| duke@0 | compiler.warn.long.SVUID=\
|
| duke@0 | [serial] serialVersionUID must be of type long in class {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.missing.SVUID=\
|
| duke@0 | [serial] serializable class {0} has no definition of serialVersionUID
|
| duke@0 |
|
| duke@0 | compiler.warn.override.varargs.missing=\
|
| duke@0 | {0}; overridden method has no ''...''
|
| duke@0 | compiler.warn.override.varargs.extra=\
|
| duke@0 | {0}; overriding method is missing ''...''
|
| duke@0 | compiler.warn.override.bridge=\
|
| duke@0 | {0}; overridden method is a bridge method
|
| duke@0 |
|
| duke@0 | compiler.warn.pkg-info.already.seen=\
|
| duke@0 | [package-info] a package-info.java file has already been seen for package {0}
|
| duke@0 | compiler.warn.path.element.not.found=\
|
| duke@0 | [path] bad path element "{0}": no such file or directory
|
| duke@0 | compiler.warn.possible.fall-through.into.case=\
|
| duke@0 | [fallthrough] possible fall-through into case
|
| duke@0 |
|
| duke@0 | compiler.warn.redundant.cast=\
|
| duke@0 | [cast] redundant cast to {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.position.overflow=\
|
| duke@0 | Position encoding overflows at line {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.big.major.version=\
|
| duke@0 | {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
|
| duke@0 | It is recommended that the compiler be upgraded.
|
| duke@0 |
|
| duke@0 | # Warnings related to annotation processing
|
| duke@0 | compiler.warn.proc.package.does.not.exist=\
|
| duke@0 | package {0} does not exist
|
| duke@0 | compiler.warn.proc.file.reopening=\
|
| duke@0 | Attempt to create a file for ''{0}'' multiple times
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.type.already.exists=\
|
| duke@0 | A file for type ''{0}'' already exists on the sourcepath or classpath
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.type.recreate=\
|
| duke@0 | Attempt to create a file for type ''{0}'' multiple times
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.illegal.file.name=\
|
| duke@0 | Cannot create file for illegal name ''{0}''.
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.file.create.last.round=\
|
| duke@0 | File for type ''{0}'' created in the last round will not be subject to annotation processing.
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.malformed.supported.string=\
|
| duke@0 | Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.annotations.without.processors=\
|
| duke@0 | No processor claimed any of these annotations: {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.processor.incompatible.source.version=\
|
| duke@0 | Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.proc-only.requested.no.procs=\
|
| duke@0 | Annotation processing without compilation requested but no processors were found.
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.use.implicit=\
|
| duke@0 | Implicitly compiled files were not subject to annotation processing.\n\
|
| duke@0 | Use -implicit to specify a policy for implicit compilation.
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.use.proc.or.implicit=\
|
| duke@0 | Implicitly compiled files were not subject to annotation processing.\n\
|
| duke@0 | Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
|
| duke@0 |
|
| duke@0 | # Print a client-generated warning; assumed to be localized, no translation required
|
| duke@0 | compiler.warn.proc.messager=\
|
| duke@0 | {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.unclosed.type.files=\
|
| duke@0 | Unclosed files for the types ''{0}''; these types will not undergo annotation processing
|
| duke@0 |
|
| duke@0 | compiler.warn.proc.unmatched.processor.options=\
|
| duke@0 | The following options were not recognized by any processor: ''{0}''
|
| duke@0 |
|
| duke@0 | compiler.warn.unchecked.assign=\
|
| duke@0 | [unchecked] unchecked assignment: {0} to {1}
|
| duke@0 | compiler.warn.unchecked.assign.to.var=\
|
| duke@0 | [unchecked] unchecked assignment to variable {0} as member of raw type {1}
|
| duke@0 | compiler.warn.unchecked.call.mbr.of.raw.type=\
|
| duke@0 | [unchecked] unchecked call to {0} as a member of the raw type {1}
|
| duke@0 | compiler.warn.unchecked.cast.to.type=\
|
| duke@0 | [unchecked] unchecked cast to type {0}
|
| duke@0 | compiler.warn.unchecked.meth.invocation.applied=\
|
| duke@0 | [unchecked] unchecked method invocation: {0} in {1} is applied to {2}({3})
|
| duke@0 | compiler.warn.unchecked.generic.array.creation=\
|
| duke@0 | [unchecked] unchecked generic array creation of type {0} for varargs parameter
|
| duke@0 |
|
| duke@0 | compiler.warn.missing.deprecated.annotation=\
|
| duke@0 | [dep-ann] deprecated item is not annotated with @Deprecated
|
| duke@0 |
|
| duke@0 | compiler.warn.invalid.archive.file=\
|
| duke@0 | [path] Unexpected file on path: {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.unexpected.archive.file=\
|
| duke@0 | [path] Unexpected extension for archive file: {0}
|
| duke@0 |
|
| duke@0 | compiler.warn.div.zero=\
|
| duke@0 | [divzero] division by zero
|
| duke@0 |
|
| duke@0 | compiler.warn.empty.if=\
|
| duke@0 | [empty] empty statement after if
|
| duke@0 |
|
| duke@0 | compiler.warn.annotation.method.not.found=\
|
| duke@0 | Cannot find annotation method ''{1}()'' in type ''{0}''
|
| duke@0 |
|
| duke@0 | compiler.warn.annotation.method.not.found.reason=\
|
| duke@0 | Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | ## The following are tokens which are non-terminals in the language. They should
|
| duke@0 | ## be named as JLS3 calls them when translated to the appropriate language.
|
| duke@0 | compiler.misc.token.identifier=\
|
| duke@0 | <identifier>
|
| duke@0 | compiler.misc.token.character=\
|
| duke@0 | <character>
|
| duke@0 | compiler.misc.token.string=\
|
| duke@0 | <string>
|
| duke@0 | compiler.misc.token.integer=\
|
| duke@0 | <integer>
|
| duke@0 | compiler.misc.token.long-integer=\
|
| duke@0 | <long integer>
|
| duke@0 | compiler.misc.token.float=\
|
| duke@0 | <float>
|
| duke@0 | compiler.misc.token.double=\
|
| duke@0 | <double>
|
| duke@0 | compiler.misc.token.bad-symbol=\
|
| duke@0 | <bad symbol>
|
| duke@0 | compiler.misc.token.end-of-input=\
|
| duke@0 | <end of input>
|
| duke@0 |
|
| duke@0 | ## The argument to the following string will always be one of the following:
|
| duke@0 | ## 1. one of the above non-terminals
|
| duke@0 | ## 2. a keyword (JLS1.8)
|
| duke@0 | ## 3. a boolean literal (JLS3.10.3)
|
| duke@0 | ## 4. the null literal (JLS3.10.7)
|
| duke@0 | ## 5. a Java separator (JLS3.11)
|
| duke@0 | ## 6. an operator (JLS3.12)
|
| duke@0 | ##
|
| duke@0 | ## This is the only place these tokens will be used.
|
| duke@0 | compiler.err.expected=\
|
| duke@0 | {0} expected
|
| duke@0 | compiler.err.expected2=\
|
| duke@0 | {0} or {1} expected
|
| duke@0 | compiler.err.expected3=\
|
| duke@0 | {0}, {1}, or {2} expected
|
| duke@0 |
|
| duke@0 | compiler.err.premature.eof=\
|
| duke@0 | reached end of file while parsing
|
| duke@0 |
|
| duke@0 | ## The following are related in form, but do not easily fit the above paradigm.
|
| duke@0 | compiler.err.dot.class.expected=\
|
| duke@0 | ''.class'' expected
|
| duke@0 |
|
| duke@0 | ## The argument to this string will always be either 'case' or 'default'.
|
| duke@0 | compiler.err.orphaned=\
|
| duke@0 | orphaned {0}
|
| duke@0 |
|
| duke@0 | compiler.misc.anonymous.class=\
|
| duke@0 | <anonymous {0}>
|
| duke@0 |
|
| duke@0 | compiler.misc.unnamed.package=\
|
| duke@0 | unnamed package
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | compiler.err.cant.access=\
|
| duke@0 | cannot access {0}\n\
|
| duke@0 | {1}
|
| duke@0 |
|
| duke@0 | compiler.misc.bad.class.file.header=\
|
| duke@0 | bad class file: {0}\n\
|
| duke@0 | {1}\n\
|
| duke@0 | Please remove or make sure it appears in the correct subdirectory of the classpath.
|
| duke@0 |
|
| duke@0 | ## The following are all possible strings for the second argument ({1}) of the
|
| duke@0 | ## above strings.
|
| duke@0 | compiler.misc.bad.class.signature=\
|
| duke@0 | bad class signature: {0}
|
| duke@0 | compiler.misc.bad.enclosing.method=\
|
| duke@0 | bad enclosing method attribute: {0}
|
| duke@0 | compiler.misc.bad.runtime.invisible.param.annotations=\
|
| duke@0 | bad RuntimeInvisibleParameterAnnotations attribute: {0}
|
| duke@0 | compiler.misc.bad.const.pool.tag=\
|
| duke@0 | bad constant pool tag: {0}
|
| duke@0 | compiler.misc.bad.const.pool.tag.at=\
|
| duke@0 | bad constant pool tag: {0} at {1}
|
| duke@0 | compiler.misc.bad.signature=\
|
| duke@0 | bad signature: {0}
|
| duke@0 | compiler.misc.class.file.wrong.class=\
|
| duke@0 | class file contains wrong class: {0}
|
| duke@0 | compiler.misc.class.file.not.found=\
|
| duke@0 | class file for {0} not found
|
| duke@0 | compiler.misc.file.doesnt.contain.class=\
|
| duke@0 | file does not contain class {0}
|
| duke@0 | compiler.misc.file.does.not.contain.package=\
|
| duke@0 | file does not contain package {0}
|
| duke@0 | compiler.misc.illegal.start.of.class.file=\
|
| duke@0 | illegal start of class file
|
| duke@0 | compiler.misc.unable.to.access.file=\
|
| duke@0 | unable to access file: {0}
|
| duke@0 | compiler.misc.unicode.str.not.supported=\
|
| duke@0 | unicode string in class file not supported
|
| duke@0 | compiler.misc.undecl.type.var=\
|
| duke@0 | undeclared type variable: {0}
|
| duke@0 | compiler.misc.wrong.version=\
|
| duke@0 | class file has wrong version {0}.{1}, should be {2}.{3}
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | compiler.err.not.within.bounds=\
|
| duke@0 | type parameter {0} is not within its bound
|
| duke@0 |
|
| duke@0 | compiler.err.not.within.bounds.explain=\
|
| duke@0 | type parameter {0} is not within its bound; {1}
|
| duke@0 |
|
| duke@0 | ## The following are all possible strings for the second argument ({1}) of the
|
| duke@0 | ## above string.
|
| duke@0 |
|
| duke@0 | ## none yet...
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | compiler.err.prob.found.req=\
|
| duke@0 | {0}\n\
|
| duke@0 | found : {1}\n\
|
| duke@0 | required: {2}
|
| duke@0 | compiler.warn.prob.found.req=\
|
| duke@0 | {0}\n\
|
| duke@0 | found : {1}\n\
|
| duke@0 | required: {2}
|
| duke@0 | compiler.err.prob.found.req.1=\
|
| duke@0 | {0} {3}\n\
|
| duke@0 | found : {1}\n\
|
| duke@0 | required: {2}
|
| duke@0 |
|
| duke@0 | ## The following are all possible strings for the first argument ({0}) of the
|
| duke@0 | ## above strings.
|
| duke@0 | compiler.misc.incompatible.types=\
|
| duke@0 | incompatible types
|
| duke@0 | compiler.misc.incompatible.types.1=\
|
| duke@0 | incompatible types; {0}
|
| duke@0 | compiler.misc.inconvertible.types=\
|
| duke@0 | inconvertible types
|
| duke@0 | compiler.misc.possible.loss.of.precision=\
|
| duke@0 | possible loss of precision
|
| duke@0 |
|
| duke@0 | compiler.misc.unchecked.assign=\
|
| duke@0 | [unchecked] unchecked conversion
|
| duke@0 | # compiler.misc.storecheck=\
|
| duke@0 | # [unchecked] assignment might cause later store checks to fail
|
| duke@0 | # compiler.misc.unchecked=\
|
| duke@0 | # [unchecked] assigned array cannot dynamically check its stores
|
| duke@0 | compiler.misc.unchecked.cast.to.type=\
|
| duke@0 | [unchecked] unchecked cast
|
| duke@0 |
|
| duke@0 | compiler.misc.assignment.from.super-bound=\
|
| duke@0 | assignment from super-bound type {0}
|
| duke@0 | compiler.misc.assignment.to.extends-bound=\
|
| duke@0 | assignment to extends-bound type {0}
|
| duke@0 | # compiler.err.star.expected=\
|
| duke@0 | # ''*'' expected
|
| duke@0 | # compiler.err.no.elem.type=\
|
| duke@0 | # \[\*\] cannot have a type
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | compiler.err.type.found.req=\
|
| duke@0 | unexpected type\n\
|
| duke@0 | found : {0}\n\
|
| duke@0 | required: {1}
|
| duke@0 |
|
| duke@0 | ## The following are all possible strings for the first argument ({0}) of the
|
| duke@0 | ## above string.
|
| duke@0 | compiler.misc.type.req.class=\
|
| duke@0 | class
|
| duke@0 | compiler.misc.type.req.class.array=\
|
| duke@0 | class or array
|
| duke@0 | compiler.misc.type.req.ref=\
|
| duke@0 | reference
|
| duke@0 | compiler.misc.type.req.exact=\
|
| duke@0 | class or interface without bounds
|
| duke@0 | compiler.misc.type.parameter=\
|
| duke@0 | type parameter {0}
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | ## The following are all possible strings for the last argument of all those
|
| duke@0 | ## diagnostics whose key ends in ".1"
|
| duke@0 | compiler.misc.undetermined.type=\
|
| duke@0 | undetermined type
|
| duke@0 | ncompiler.misc.type.variable.has.undetermined.type=\
|
| duke@0 | type variable {0} has undetermined type
|
| duke@0 | compiler.misc.no.unique.maximal.instance.exists=\
|
| duke@0 | no unique maximal instance exists for type variable {0} with upper bounds {1}
|
| duke@0 | compiler.misc.no.unique.minimal.instance.exists=\
|
| duke@0 | no unique minimal instance exists for type variable {0} with lower bounds {1}
|
| duke@0 | compiler.misc.no.conforming.instance.exists=\
|
| duke@0 | no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
|
| duke@0 | compiler.misc.no.conforming.assignment.exists=\
|
| duke@0 | no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to formal parameter type {2}
|
| duke@0 | compiler.misc.arg.length.mismatch=\
|
| duke@0 | cannot instantiate from arguments because actual and formal argument lists differ in length
|
| duke@0 | compiler.misc.inferred.do.not.conform.to.bounds=\
|
| duke@0 | inferred type argument(s) {0} do not conform to bounds of type variable(s) {1}
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | ## The first argument ({0}) is a "kindname".
|
| duke@0 | compiler.err.abstract.cant.be.accessed.directly=\
|
| duke@0 | abstract {0} {1} in {2} cannot be accessed directly
|
| duke@0 |
|
| duke@0 | ## The first argument ({0}) is a "kindname".
|
| duke@0 | compiler.err.non-static.cant.be.ref=\
|
| duke@0 | non-static {0} {1} cannot be referenced from a static context
|
| duke@0 |
|
| duke@0 | ## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list
|
| duke@0 | ## of kindnames (the list should be identical to that provided in source.
|
| duke@0 | compiler.err.unexpected.type=\
|
| duke@0 | unexpected type\n\
|
| duke@0 | required: {0}\n\
|
| duke@0 | found : {1}
|
| duke@0 |
|
| duke@0 | ## The first argument ({0}) is a "kindname".
|
| duke@0 | compiler.err.cant.resolve=\
|
| duke@0 | cannot find symbol\n\
|
| duke@0 | symbol: {0} {3}{1}{2}
|
| duke@0 |
|
| duke@0 | ## The first argument ({0}) and fifth argument ({4}) are "kindname"s.
|
| duke@0 | compiler.err.cant.resolve.location=\
|
| duke@0 | cannot find symbol\n\
|
| duke@0 | symbol : {0} {3}{1}{2}\n\
|
| duke@0 | location: {4} {5}
|
| duke@0 |
|
| duke@0 | ## The following are all possible string for "kindname".
|
| duke@0 | ## They should be called whatever the JLS calls them after it been translated
|
| duke@0 | ## to the appropriate language.
|
| duke@0 | # compiler.misc.kindname.constructor=\
|
| duke@0 | # static member
|
| duke@0 | compiler.misc.kindname.annotation=\
|
| duke@0 | @interface
|
| duke@0 | compiler.misc.kindname.constructor=\
|
| duke@0 | constructor
|
| duke@0 | compiler.misc.kindname.interface=\
|
| duke@0 | interface
|
| duke@0 | compiler.misc.kindname.static=\
|
| duke@0 | static
|
| duke@0 | compiler.misc.kindname.type.variable=\
|
| duke@0 | type variable
|
| duke@0 | compiler.misc.kindname.type.variable.bound=\
|
| duke@0 | bound of type variable
|
| duke@0 | compiler.misc.kindname=\
|
| duke@0 | identifier({0})
|
| duke@0 | compiler.misc.kindname.variable=\
|
| duke@0 | variable
|
| duke@0 | compiler.misc.kindname.value=\
|
| duke@0 | value
|
| duke@0 | compiler.misc.kindname.method=\
|
| duke@0 | method
|
| duke@0 | compiler.misc.kindname.variable.method=\
|
| duke@0 | variable, method
|
| duke@0 | compiler.misc.kindname.value.method=\
|
| duke@0 | value, method
|
| duke@0 | compiler.misc.kindname.class=\
|
| duke@0 | class
|
| duke@0 | compiler.misc.kindname.variable.class=\
|
| duke@0 | variable, class
|
| duke@0 | compiler.misc.kindname.value.class=\
|
| duke@0 | value, class
|
| duke@0 | compiler.misc.kindname.method.class=\
|
| duke@0 | method, class
|
| duke@0 | compiler.misc.kindname.variable.method.class=\
|
| duke@0 | variable, method, class
|
| duke@0 | compiler.misc.kindname.value.method.class=\
|
| duke@0 | value, method, class
|
| duke@0 | compiler.misc.kindname.package=\
|
| duke@0 | package
|
| duke@0 | compiler.misc.kindname.variable.package=\
|
| duke@0 | variable, package
|
| duke@0 | compiler.misc.kindname.value.package=\
|
| duke@0 | value, package
|
| duke@0 | compiler.misc.kindname.method.package=\
|
| duke@0 | method, package
|
| duke@0 | compiler.misc.kindname.variable.method.package=\
|
| duke@0 | variable, method, package
|
| duke@0 | compiler.misc.kindname.value.method.package=\
|
| duke@0 | value, method, package
|
| duke@0 | compiler.misc.kindname.class.package=\
|
| duke@0 | class, package
|
| duke@0 | compiler.misc.kindname.variable.class.package=\
|
| duke@0 | variable, class, package
|
| duke@0 | compiler.misc.kindname.value.class.package=\
|
| duke@0 | value, class, package
|
| duke@0 | compiler.misc.kindname.method.class.package=\
|
| duke@0 | method, class, package
|
| duke@0 | compiler.misc.kindname.variable.method.class.package=\
|
| duke@0 | variable, method, class, package
|
| duke@0 | compiler.misc.kindname.value.method.class.package=\
|
| duke@0 | value, method, class, package
|
| duke@0 |
|
| duke@0 | #####
|
| duke@0 |
|
| duke@0 | compiler.err.override.static=\
|
| duke@0 | {0}; overriding method is static
|
| duke@0 | compiler.err.override.meth=\
|
| duke@0 | {0}; overridden method is {1}
|
| duke@0 |
|
| duke@0 | compiler.err.override.meth.doesnt.throw=\
|
| duke@0 | {0}; overridden method does not throw {1}
|
| duke@0 |
|
| duke@0 | # In the following string {1} is a space separated list of Java Keywords, as
|
| duke@0 | # they would have been declared in the source code
|
| duke@0 | compiler.err.override.weaker.access=\
|
| duke@0 | {0}; attempting to assign weaker access privileges; was {1}
|
| duke@0 |
|
| duke@0 | compiler.misc.override.incompatible.ret=\
|
| duke@0 | {0}; attempting to use incompatible return type
|
| duke@0 |
|
| duke@0 | compiler.misc.override.unchecked.ret=\
|
| duke@0 | {0}; return type requires unchecked conversion
|
| duke@0 |
|
| duke@0 | ## The following are all possible strings for the first argument ({0}) of the
|
| duke@0 | ## above strings.
|
| duke@0 | compiler.misc.cant.override=\
|
| duke@0 | {0} in {1} cannot override {2} in {3}
|
| duke@0 | compiler.misc.cant.implement=\
|
| duke@0 | {0} in {1} cannot implement {2} in {3}
|
| duke@0 | compiler.misc.clashes.with=\
|
| duke@0 | {0} in {1} clashes with {2} in {3}
|
| duke@0 | compiler.misc.unchecked.override=\
|
| duke@0 | {0} in {1} overrides {2} in {3}
|
| duke@0 | compiler.misc.unchecked.implement=\
|
| duke@0 | {0} in {1} implements {2} in {3}
|
| duke@0 | compiler.misc.unchecked.clash.with=\
|
| duke@0 | {0} in {1} overrides {2} in {3}
|
| duke@0 | compiler.misc.varargs.override=\
|
| duke@0 | {0} in {1} overrides {2} in {3}
|
| duke@0 | compiler.misc.varargs.implement=\
|
| duke@0 | {0} in {1} implements {2} in {3}
|
| duke@0 | compiler.misc.varargs.clash.with=\
|
| duke@0 | {0} in {1} overrides {2} in {3}
|
| duke@0 |
|
| duke@0 | ########################################
|
| duke@0 | # Diagnostics for language feature changes
|
| duke@0 | ########################################
|
| duke@0 | compiler.err.unsupported.fp.lit=\
|
| duke@0 | hexadecimal floating-point literals are not supported before -source 5
|
| duke@0 |
|
| duke@0 | compiler.warn.enum.as.identifier=\
|
| duke@0 | as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
|
| duke@0 | (use -source 5 or higher to use ''enum'' as a keyword)
|
| duke@0 |
|
| duke@0 | compiler.warn.assert.as.identifier=\
|
| duke@0 | as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
|
| duke@0 | (use -source 1.4 or higher to use ''assert'' as a keyword)
|
| duke@0 |
|
| duke@0 | compiler.err.enum.as.identifier=\
|
| duke@0 | as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
|
| duke@0 | (use -source 1.4 or lower to use ''enum'' as an identifier)
|
| duke@0 |
|
| duke@0 | compiler.err.assert.as.identifier=\
|
| duke@0 | as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
|
| duke@0 | (use -source 1.3 or lower to use ''assert'' as an identifier)
|
| duke@0 |
|
| duke@0 | compiler.err.generics.not.supported.in.source=\
|
| duke@0 | generics are not supported in -source {0}\n\
|
| duke@0 | (use -source 5 or higher to enable generics)
|
| duke@0 |
|
| duke@0 | compiler.err.varargs.not.supported.in.source=\
|
| duke@0 | variable-arity methods are not supported in -source {0}\n\
|
| duke@0 | (use -source 5 or higher to enable variable-arity methods)
|
| duke@0 |
|
| duke@0 | compiler.err.annotations.not.supported.in.source=\
|
| duke@0 | annotations are not supported in -source {0}\n\
|
| duke@0 | (use -source 5 or higher to enable annotations)
|
| duke@0 |
|
| duke@0 | compiler.err.foreach.not.supported.in.source=\
|
| duke@0 | for-each loops are not supported in -source {0}\n\
|
| duke@0 | (use -source 5 or higher to enable for-each loops)
|
| duke@0 |
|
| duke@0 | compiler.err.static.import.not.supported.in.source=\
|
| duke@0 | static import declarations are not supported in -source {0}\n\
|
| duke@0 | (use -source 5 or higher to enable static import declarations)
|
| duke@0 |
|
| duke@0 | compiler.err.enums.not.supported.in.source=\
|
| duke@0 | enums are not supported in -source {0}\n\
|
| duke@0 | (use -source 5 or higher to enable enums)
|