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