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

Tue, 25 Jan 2011 17:02:56 -0800

author
darcy
date
Tue, 25 Jan 2011 17:02:56 -0800
changeset 840
7f8794f9cc14
parent 831
812c6251ea78
child 842
3da26790ccb7
permissions
-rw-r--r--

7013420: Project Coin: remove general expression support from try-with-resources statement
Reviewed-by: mcimadamore, jjg

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

mercurial