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

Wed, 09 Oct 2013 13:09:31 +0200

author
jlahoda
date
Wed, 09 Oct 2013 13:09:31 +0200
changeset 2099
1b469fd31e35
parent 2080
1e6088da1740
child 2102
6dcf94e32a3a
permissions
-rw-r--r--

8025087: Annotation processing api returns default modifier for interface static method
Summary: ClassReader must not set Flags.DEFAULT for interface static methods
Reviewed-by: vromero, jjg

duke@1 1 #
jjg@1492 2 # Copyright (c) 1999, 2013, 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
jjg@842 26 # Messages in this file which use "placeholders" for values (e.g. {0}, {1})
jjg@842 27 # are preceded by a stylized comment describing the type of the corresponding
jjg@842 28 # values.
jjg@842 29 # The types currently in use are
jjg@842 30 #
jjg@842 31 # boolean true or false
jjg@842 32 # file name the name of an input file; e.g. MyFile.java
jjg@842 33 # message segment a sub-message; see compiler.misc.*
jjg@842 34 # modifier a Java modifier; e.g. public, private, protected
jjg@842 35 # name a name, typically a Java identifier
jjg@842 36 # number an integer
jjg@842 37 # option name the name of a command line option
jjg@842 38 # source version a source version number, such as 1.5, 1.6, 1.7
jjg@842 39 # string a general string
jjg@842 40 # symbol the name of a declared type
jjg@842 41 # symbol kind a description of the kind of a declaration; see compiler.misc.kindname.*
jjg@842 42 # token the name of a non-terminal in source code; see compiler.misc.token.*
jjg@842 43 # type a Java type; e.g. int, X, X<T>
jjg@842 44 # unused the value is not used in this message
jjg@842 45 #
jjg@842 46 # list of X a comma-separated list of items; e.g. list of type
jjg@842 47 # X or Y alternation; e.g. message segment or type
jjg@842 48 # set of X a comma-separated collection of items; e.g. set of modifier
jjg@842 49 #
jjg@842 50 # These may be composed: e.g. list of type or message segment
jjg@842 51 #
jjg@842 52 # These comments are verified by the jtreg test test/tools/javac/diags/MessageInfo,
jjg@842 53 # using info derived from the collected set of examples in test/tools/javac/diags/examples.
jjg@842 54 # MessageInfo can also be run as a standalone utility providing more facilities
jjg@842 55 # for manipulating this file. For more details, see MessageInfo.java.
jjg@842 56
duke@1 57 ##
duke@1 58 ## errors
duke@1 59 ##
duke@1 60
jjg@842 61 # 0: symbol
duke@1 62 compiler.err.abstract.cant.be.instantiated=\
duke@1 63 {0} is abstract; cannot be instantiated
jjg@842 64
duke@1 65 compiler.err.abstract.meth.cant.have.body=\
duke@1 66 abstract methods cannot have a body
jjg@842 67
duke@1 68 compiler.err.already.annotated=\
duke@1 69 {0} {1} has already been annotated
jjg@842 70
mcimadamore@1085 71 # 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol
duke@1 72 compiler.err.already.defined=\
mcimadamore@1085 73 {0} {1} is already defined in {2} {3}
mcimadamore@1085 74
mcimadamore@1085 75 # 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol kind, 4: symbol
mcimadamore@1085 76 compiler.err.already.defined.in.clinit=\
mcimadamore@1085 77 {0} {1} is already defined in {2} of {3} {4}
jjg@842 78
jjg@842 79 # 0: string
duke@1 80 compiler.err.already.defined.single.import=\
duke@1 81 {0} is already defined in a single-type import
jjg@842 82
jjg@842 83 # 0: string
duke@1 84 compiler.err.already.defined.static.single.import=\
duke@1 85 {0} is already defined in a static single-type import
jjg@842 86
duke@1 87 compiler.err.already.defined.this.unit=\
duke@1 88 {0} is already defined in this compilation unit
jjg@842 89
jjg@842 90 # 0: type, 1: list of name
duke@1 91 compiler.err.annotation.missing.default.value=\
mcimadamore@632 92 annotation {0} is missing value for the attribute {1}
jjg@842 93
jjg@842 94 # 0: type, 1: list of name
mcimadamore@632 95 compiler.err.annotation.missing.default.value.1=\
mcimadamore@632 96 annotation {0} is missing values for attributes {1}
jjg@842 97
jjg@842 98 # 0: type
duke@1 99 compiler.err.annotation.not.valid.for.type=\
duke@1 100 annotation not valid for a value of type {0}
jjg@842 101
duke@1 102 compiler.err.annotation.type.not.applicable=\
duke@1 103 annotation type not applicable to this kind of declaration
jjg@842 104
duke@1 105 compiler.err.annotation.value.must.be.annotation=\
duke@1 106 annotation value must be an annotation
jjg@842 107
duke@1 108 compiler.err.annotation.value.must.be.class.literal=\
duke@1 109 annotation value must be a class literal
jjg@842 110
duke@1 111 compiler.err.annotation.value.must.be.name.value=\
duke@1 112 annotation values must be of the form ''name=value''
jjg@842 113
duke@1 114 compiler.err.annotation.value.not.allowable.type=\
duke@1 115 annotation value not of an allowable type
jjg@842 116
duke@1 117 compiler.err.anon.class.impl.intf.no.args=\
duke@1 118 anonymous class implements interface; cannot have arguments
jjg@842 119
duke@1 120 compiler.err.anon.class.impl.intf.no.typeargs=\
duke@1 121 anonymous class implements interface; cannot have type arguments
jjg@842 122
duke@1 123 compiler.err.anon.class.impl.intf.no.qual.for.new=\
duke@1 124 anonymous class implements interface; cannot have qualifier for new
jjg@842 125
jjg@842 126 # 0: symbol, 1: symbol, 2: symbol
duke@1 127 compiler.err.array.and.varargs=\
duke@1 128 cannot declare both {0} and {1} in {2}
jjg@842 129
duke@1 130 compiler.err.array.dimension.missing=\
duke@1 131 array dimension missing
jjg@842 132
jjg@842 133 # 0: type
duke@1 134 compiler.err.array.req.but.found=\
duke@1 135 array required, but {0} found
duke@1 136
duke@1 137 compiler.err.attribute.value.must.be.constant=\
duke@1 138 attribute value must be constant
duke@1 139
ksrini@1259 140 # 0: statement type
ksrini@1259 141 compiler.err.bad.initializer=\
ksrini@1259 142 bad initializer for {0}
ksrini@1259 143
duke@1 144 compiler.err.break.outside.switch.loop=\
duke@1 145 break outside switch or loop
duke@1 146
jjg@842 147 # 0: name
duke@1 148 compiler.err.call.must.be.first.stmt.in.ctor=\
duke@1 149 call to {0} must be first statement in constructor
jjg@842 150
mcimadamore@1352 151 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
duke@1 152 compiler.err.cant.apply.symbol=\
mcimadamore@80 153 {0} {1} in {4} {5} cannot be applied to given types;\n\
mcimadamore@80 154 required: {2}\n\
mcimadamore@80 155 found: {3}\n\
mcimadamore@80 156 reason: {6}
jjg@842 157
jjg@842 158 # 0: symbol kind, 1: name, 2: list of type
mcimadamore@689 159 compiler.err.cant.apply.symbols=\
mcimadamore@689 160 no suitable {0} found for {1}({2})
jjg@842 161
mcimadamore@1352 162 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
mcimadamore@1352 163 compiler.misc.cant.apply.symbol=\
mcimadamore@1352 164 {0} {1} in {4} {5} cannot be applied to given types\n\
mcimadamore@1352 165 required: {2}\n\
mcimadamore@1352 166 found: {3}\n\
mcimadamore@1352 167 reason: {6}
mcimadamore@1352 168
mcimadamore@1352 169 # 0: symbol kind, 1: name, 2: list of type
mcimadamore@1352 170 compiler.misc.cant.apply.symbols=\
mcimadamore@1352 171 no suitable {0} found for {1}({2})
mcimadamore@1352 172
mcimadamore@1348 173 # 0: symbol kind, 1: symbol
mcimadamore@1348 174 compiler.misc.no.abstracts=\
mcimadamore@1348 175 no abstract method found in {0} {1}
mcimadamore@1348 176
mcimadamore@1348 177 # 0: symbol kind, 1: symbol
mcimadamore@1348 178 compiler.misc.incompatible.abstracts=\
mcimadamore@1348 179 multiple non-overriding abstract methods found in {0} {1}
mcimadamore@1348 180
mcimadamore@1497 181 compiler.err.bad.functional.intf.anno=\
mcimadamore@1497 182 Unexpected @FunctionalInterface annotation
mcimadamore@1497 183
mcimadamore@1497 184 # 0: message segment
mcimadamore@1497 185 compiler.err.bad.functional.intf.anno.1=\
mcimadamore@1497 186 Unexpected @FunctionalInterface annotation\n\
mcimadamore@1497 187 {0}
mcimadamore@1497 188
mcimadamore@1497 189 # 0: symbol
mcimadamore@1348 190 compiler.misc.not.a.functional.intf=\
mcimadamore@1497 191 {0} is not a functional interface
mcimadamore@1497 192
mcimadamore@1497 193 # 0: symbol, 1: message segment
mcimadamore@1348 194 compiler.misc.not.a.functional.intf.1=\
mcimadamore@1497 195 {0} is not a functional interface\n\
mcimadamore@1497 196 {1}
mcimadamore@1348 197
mcimadamore@1348 198 # 0: symbol, 1: symbol kind, 2: symbol
mcimadamore@1434 199 compiler.misc.invalid.generic.lambda.target=\
mcimadamore@1434 200 invalid functional descriptor for lambda expression\n\
mcimadamore@1434 201 method {0} in {1} {2} is generic
mcimadamore@1348 202
mcimadamore@1348 203 # 0: symbol kind, 1: symbol
mcimadamore@1348 204 compiler.misc.incompatible.descs.in.functional.intf=\
mcimadamore@1348 205 incompatible function descriptors found in {0} {1}
mcimadamore@1348 206
mcimadamore@1348 207 # 0: name, 1: list of type, 2: type, 3: list of type
mcimadamore@1348 208 compiler.misc.descriptor=\
mcimadamore@1348 209 descriptor: {2} {0}({1})
mcimadamore@1348 210
mcimadamore@1348 211 # 0: name, 1: list of type, 2: type, 3: list of type
mcimadamore@1348 212 compiler.misc.descriptor.throws=\
mcimadamore@1348 213 descriptor: {2} {0}({1}) throws {3}
mcimadamore@1348 214
mcimadamore@1348 215 # 0: type
mcimadamore@1348 216 compiler.misc.no.suitable.functional.intf.inst=\
mcimadamore@1348 217 cannot infer functional interface descriptor for {0}
mcimadamore@1348 218
mcimadamore@1678 219 # 0: message segment
mcimadamore@1678 220 compiler.misc.bad.intersection.target.for.functional.expr=\
mcimadamore@1678 221 bad intersection type target for lambda or method reference\n\
mcimadamore@1678 222 {0}
mcimadamore@1678 223
jjg@1755 224 # 0: symbol or type
mcimadamore@1678 225 compiler.misc.not.an.intf.component=\
mcimadamore@1678 226 component type {0} is not an interface
mcimadamore@1436 227
mcimadamore@1352 228 # 0: symbol kind, 1: message segment
mcimadamore@1352 229 compiler.err.invalid.mref=\
mcimadamore@1759 230 invalid {0} reference\n\
mcimadamore@1759 231 {1}
mcimadamore@1352 232
mcimadamore@1352 233 # 0: symbol kind, 1: message segment
mcimadamore@1352 234 compiler.misc.invalid.mref=\
mcimadamore@1759 235 invalid {0} reference\n\
mcimadamore@1759 236 {1}
mcimadamore@1352 237
mcimadamore@1435 238 compiler.misc.static.mref.with.targs=\
mcimadamore@1435 239 parameterized qualifier on static method reference
mcimadamore@1435 240
mcimadamore@1435 241 compiler.misc.static.bound.mref=\
mcimadamore@1435 242 static bound method reference
mcimadamore@1435 243
jjg@842 244 # 0: symbol
duke@1 245 compiler.err.cant.assign.val.to.final.var=\
duke@1 246 cannot assign a value to final variable {0}
jjg@842 247
mcimadamore@1297 248 # 0: symbol, 1: message segment
mcimadamore@1297 249 compiler.err.cant.ref.non.effectively.final.var=\
mcimadamore@1297 250 local variables referenced from {1} must be final or effectively final
mcimadamore@1297 251
mcimadamore@1297 252
mcimadamore@1348 253 compiler.misc.lambda=\
mcimadamore@1348 254 a lambda expression
mcimadamore@1348 255
mcimadamore@1297 256 compiler.misc.inner.cls=\
mcimadamore@1297 257 an inner class
mcimadamore@1297 258
jjg@842 259 # 0: type
duke@1 260 compiler.err.cant.deref=\
duke@1 261 {0} cannot be dereferenced
jjg@842 262
duke@1 263 compiler.err.cant.extend.intf.annotation=\
duke@1 264 ''extends'' not allowed for @interfaces
jjg@842 265
jjg@842 266 # 0: symbol
duke@1 267 compiler.err.cant.inherit.from.final=\
duke@1 268 cannot inherit from final {0}
jjg@842 269
jjg@842 270 # 0: symbol
duke@1 271 compiler.err.cant.ref.before.ctor.called=\
duke@1 272 cannot reference {0} before supertype constructor has been called
jjg@842 273
duke@1 274 compiler.err.cant.select.static.class.from.param.type=\
duke@1 275 cannot select a static class from a parameterized type
jjg@842 276
jjg@842 277 # 0: symbol, 1: string, 2: string
duke@1 278 compiler.err.cant.inherit.diff.arg=\
duke@1 279 {0} cannot be inherited with different arguments: <{1}> and <{2}>
jjg@842 280
duke@1 281 compiler.err.catch.without.try=\
duke@1 282 ''catch'' without ''try''
jjg@842 283
jjg@842 284 # 0: symbol kind, 1: symbol
duke@1 285 compiler.err.clash.with.pkg.of.same.name=\
mcimadamore@829 286 {0} {1} clashes with package of same name
jjg@842 287
ksrini@1249 288 compiler.err.class.not.allowed=\
ksrini@1249 289 class, interface or enum declaration not allowed here
ksrini@1249 290
duke@1 291 compiler.err.const.expr.req=\
duke@1 292 constant expression required
jjg@842 293
duke@1 294 compiler.err.cont.outside.loop=\
duke@1 295 continue outside of loop
jjg@842 296
jjg@842 297 # 0: symbol
duke@1 298 compiler.err.cyclic.inheritance=\
duke@1 299 cyclic inheritance involving {0}
jjg@842 300
duke@1 301 compiler.err.cyclic.annotation.element=\
duke@1 302 cyclic annotation element type
jjg@842 303
jjg@842 304 # 0: unused
duke@1 305 compiler.err.call.to.super.not.allowed.in.enum.ctor=\
duke@1 306 call to super not allowed in enum constructor
jjg@842 307
jjg@842 308 # 0: type
duke@1 309 compiler.err.no.superclass=\
duke@1 310 {0} has no superclass
duke@1 311
jjg@842 312 # 0: symbol, 1: type, 2: symbol, 3: type, 4: unused
duke@1 313 compiler.err.concrete.inheritance.conflict=\
duke@1 314 methods {0} from {1} and {2} from {3} are inherited with the same signature
duke@1 315
duke@1 316 compiler.err.default.allowed.in.intf.annotation.member=\
duke@1 317 default value only allowed in an @interface member
jjg@842 318
jjg@842 319 # 0: symbol
duke@1 320 compiler.err.doesnt.exist=\
duke@1 321 package {0} does not exist
jjg@842 322
duke@1 323 compiler.err.duplicate.annotation=\
duke@1 324 duplicate annotation
jjg@842 325
jfranck@1445 326 # 0: type
jfranck@1445 327 compiler.err.duplicate.annotation.invalid.repeated=\
jfranck@1445 328 annotation {0} cannot be repeated\nIt does not define a valid containing annotation.
jfranck@1445 329
jjg@842 330 # 0: name, 1: type
duke@1 331 compiler.err.duplicate.annotation.member.value=\
duke@1 332 duplicate annotation member value {0} in {1}
jjg@842 333
jfranck@1445 334 # 0: type, 1: type
jfranck@1313 335 compiler.err.duplicate.annotation.missing.container=\
jjg@1755 336 duplicate annotation: the declaration of {0} does not have a valid {1} annotation
jfranck@1313 337
jfranck@1313 338 # 0: type
jjg@1492 339 compiler.err.invalid.repeatable.annotation=\
jjg@1755 340 duplicate annotation: {0} is annotated with an invalid Repeatable annotation
jjg@1755 341
jjg@1755 342 # 0: symbol or type
jjg@1492 343 compiler.err.invalid.repeatable.annotation.no.value=\
jjg@1755 344 duplicate annotation: {0} is not a valid Repeatable, no value element method declared
jfranck@1313 345
jfranck@1313 346 # 0: type, 1: number
jjg@1492 347 compiler.err.invalid.repeatable.annotation.multiple.values=\
jjg@1755 348 duplicate annotation: {0} is not a valid Repeatable, {1} value element methods declared
jfranck@1313 349
jfranck@1313 350 # 0: type
jjg@1492 351 compiler.err.invalid.repeatable.annotation.invalid.value=\
jjg@1755 352 duplicate annotation: {0} is not a valid Repeatable: invalid value element
jjg@1755 353
jjg@1755 354 # 0: symbol type, 1: type, 2: type
jjg@1492 355 compiler.err.invalid.repeatable.annotation.value.return=\
jjg@1755 356 duplicate annotation: value element of containing annotation {0} should have type {2}, found {1}
jjg@1755 357
jjg@1755 358 # 0: symbol or type, 1: symbol
jjg@1492 359 compiler.err.invalid.repeatable.annotation.elem.nondefault=\
jfranck@1344 360 containing annotation {0} does not have a default value for element {1}
jfranck@1313 361
jfranck@1313 362 # 0: symbol, 1: type, 2: symbol, 3: type
jjg@1492 363 compiler.err.invalid.repeatable.annotation.retention=\
jfranck@1313 364 containing annotation {0} has shorter retention ({1}) than the contained annotation {2} with retention {3}
jfranck@1313 365
jfranck@1313 366 # 0: symbol, 1: symbol
jjg@1492 367 compiler.err.invalid.repeatable.annotation.not.documented=\
jfranck@1313 368 containing annotation type, {0}, is not @Documented while repeated annotation type, {1}, is
jfranck@1313 369
jfranck@1313 370 # 0: symbol, 1: symbol
jjg@1492 371 compiler.err.invalid.repeatable.annotation.not.inherited=\
jfranck@1313 372 containing annotation type, {0}, is not @Inherited while repeated annotation type, {1}, is
jfranck@1313 373
jfranck@1313 374 # 0: symbol, 1: symbol
jjg@1492 375 compiler.err.invalid.repeatable.annotation.incompatible.target=\
jfranck@1313 376 target of container annotation {0} is not a subset of target of repeated annotation {1}
jfranck@1313 377
jfranck@1313 378 # 0: symbol
jjg@1492 379 compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\
jfranck@1313 380 container {0} must not be present at the same time as the element it contains
jfranck@1313 381
jjg@842 382 # 0: name
duke@1 383 compiler.err.duplicate.class=\
duke@1 384 duplicate class: {0}
jjg@842 385
duke@1 386 compiler.err.duplicate.case.label=\
duke@1 387 duplicate case label
jjg@842 388
duke@1 389 compiler.err.duplicate.default.label=\
duke@1 390 duplicate default label
duke@1 391
duke@1 392 compiler.err.else.without.if=\
duke@1 393 ''else'' without ''if''
jjg@842 394
duke@1 395 compiler.err.empty.char.lit=\
duke@1 396 empty character literal
jjg@842 397
jjg@842 398 # 0: symbol
duke@1 399 compiler.err.encl.class.required=\
duke@1 400 an enclosing instance that contains {0} is required
jjg@842 401
duke@1 402 compiler.err.enum.annotation.must.be.enum.constant=\
duke@1 403 an enum annotation value must be an enum constant
duke@1 404
duke@1 405 compiler.err.enum.cant.be.instantiated=\
duke@1 406 enum types may not be instantiated
jjg@842 407
duke@1 408 compiler.err.enum.label.must.be.unqualified.enum=\
duke@1 409 an enum switch case label must be the unqualified name of an enumeration constant
jjg@842 410
duke@1 411 compiler.err.enum.no.subclassing=\
duke@1 412 classes cannot directly extend java.lang.Enum
jjg@842 413
duke@1 414 compiler.err.enum.types.not.extensible=\
duke@1 415 enum types are not extensible
jjg@842 416
duke@1 417 compiler.err.enum.no.finalize=\
duke@1 418 enums cannot have finalize methods
jjg@842 419
jjg@842 420 # 0: file name, 1: string
duke@1 421 compiler.err.error.reading.file=\
duke@1 422 error reading {0}; {1}
jjg@842 423
jjg@842 424 # 0: type
duke@1 425 compiler.err.except.already.caught=\
duke@1 426 exception {0} has already been caught
jjg@842 427
jjg@842 428 # 0: type
duke@1 429 compiler.err.except.never.thrown.in.try=\
duke@1 430 exception {0} is never thrown in body of corresponding try statement
duke@1 431
jjg@842 432 # 0: symbol
duke@1 433 compiler.err.final.parameter.may.not.be.assigned=\
duke@1 434 final parameter {0} may not be assigned
jjg@842 435
jjg@842 436 # 0: symbol
mcimadamore@743 437 compiler.err.try.resource.may.not.be.assigned=\
mcimadamore@743 438 auto-closeable resource {0} may not be assigned
jjg@842 439
jjg@842 440 # 0: symbol
mcimadamore@550 441 compiler.err.multicatch.parameter.may.not.be.assigned=\
mcimadamore@550 442 multi-catch parameter {0} may not be assigned
jjg@842 443
mcimadamore@949 444 # 0: type, 1: type
mcimadamore@949 445 compiler.err.multicatch.types.must.be.disjoint=\
mcimadamore@949 446 Alternatives in a multi-catch statement cannot be related by subclassing\n\
mcimadamore@949 447 Alternative {0} is a subclass of alternative {1}
mcimadamore@949 448
duke@1 449 compiler.err.finally.without.try=\
duke@1 450 ''finally'' without ''try''
jjg@842 451
jjg@842 452 # 0: type, 1: message segment
duke@1 453 compiler.err.foreach.not.applicable.to.type=\
mcimadamore@829 454 for-each not applicable to expression type\n\
mcimadamore@829 455 required: {1}\n\
mcimadamore@829 456 found: {0}
jjg@842 457
duke@1 458 compiler.err.fp.number.too.large=\
duke@1 459 floating point number too large
jjg@842 460
duke@1 461 compiler.err.fp.number.too.small=\
duke@1 462 floating point number too small
duke@1 463
duke@1 464 compiler.err.generic.array.creation=\
duke@1 465 generic array creation
jjg@842 466
duke@1 467 compiler.err.generic.throwable=\
duke@1 468 a generic class may not extend java.lang.Throwable
duke@1 469
jjg@842 470 # 0: symbol
duke@1 471 compiler.err.icls.cant.have.static.decl=\
mcimadamore@830 472 Illegal static declaration in inner class {0}\n\
mcimadamore@830 473 modifier \''static\'' is only allowed in constant variable declarations
jjg@842 474
jjg@842 475 # 0: string
duke@1 476 compiler.err.illegal.char=\
vromero@1385 477 illegal character: ''{0}''
jjg@842 478
duke@1 479 compiler.err.illegal.char.for.encoding=\
duke@1 480 unmappable character for encoding {0}
jjg@842 481
jjg@842 482 # 0: set of modifier, 1: set of modifier
duke@1 483 compiler.err.illegal.combination.of.modifiers=\
duke@1 484 illegal combination of modifiers: {0} and {1}
jjg@842 485
duke@1 486 compiler.err.illegal.enum.static.ref=\
duke@1 487 illegal reference to static field from initializer
jjg@842 488
duke@1 489 compiler.err.illegal.esc.char=\
duke@1 490 illegal escape character
jjg@842 491
duke@1 492 compiler.err.illegal.forward.ref=\
duke@1 493 illegal forward reference
jjg@842 494
jjg@1569 495 # 0: symbol, 1: string
jjg@1569 496 compiler.err.not.in.profile=\
jjg@1569 497 {0} is not available in profile ''{1}''
jjg@1569 498
jjg@842 499 # 0: symbol
duke@1 500 compiler.warn.forward.ref=\
duke@1 501 reference to variable ''{0}'' before it has been initialized
jjg@842 502
mcimadamore@94 503 compiler.err.illegal.self.ref=\
mcimadamore@94 504 self-reference in initializer
jjg@842 505
jjg@842 506 # 0: symbol
mcimadamore@94 507 compiler.warn.self.ref=\
mcimadamore@94 508 self-reference in initializer of variable ''{0}''
jjg@842 509
duke@1 510 compiler.err.illegal.generic.type.for.instof=\
duke@1 511 illegal generic type for instanceof
jjg@842 512
jjg@842 513 # 0: type
duke@1 514 compiler.err.illegal.initializer.for.type=\
duke@1 515 illegal initializer for {0}
jjg@842 516
duke@1 517 compiler.err.illegal.line.end.in.char.lit=\
duke@1 518 illegal line end in character literal
jjg@842 519
duke@1 520 compiler.err.illegal.nonascii.digit=\
duke@1 521 illegal non-ASCII digit
jjg@842 522
jjg@409 523 compiler.err.illegal.underscore=\
jjg@409 524 illegal underscore
jjg@842 525
jjg@1171 526 compiler.err.illegal.dot=\
jjg@1171 527 illegal ''.''
jjg@1171 528
jjg@842 529 # 0: symbol
duke@1 530 compiler.err.illegal.qual.not.icls=\
duke@1 531 illegal qualifier; {0} is not an inner class
jjg@842 532
duke@1 533 compiler.err.illegal.start.of.expr=\
duke@1 534 illegal start of expression
jjg@842 535
ksrini@1249 536 compiler.err.illegal.start.of.stmt=\
ksrini@1249 537 illegal start of statement
ksrini@1249 538
duke@1 539 compiler.err.illegal.start.of.type=\
duke@1 540 illegal start of type
jjg@842 541
duke@1 542 compiler.err.illegal.unicode.esc=\
duke@1 543 illegal unicode escape
jjg@842 544
jjg@842 545 # 0: symbol
duke@1 546 compiler.err.import.requires.canonical=\
duke@1 547 import requires canonical name for {0}
jjg@842 548
duke@1 549 compiler.err.improperly.formed.type.param.missing=\
duke@1 550 improperly formed type, some parameters are missing
jjg@842 551
duke@1 552 compiler.err.improperly.formed.type.inner.raw.param=\
mcimadamore@829 553 improperly formed type, type arguments given on a raw type
jjg@842 554
jjg@842 555 # 0: type, 1: type
duke@1 556 compiler.err.incomparable.types=\
duke@1 557 incomparable types: {0} and {1}
jjg@842 558
jjg@842 559 # 0: number
duke@1 560 compiler.err.int.number.too.large=\
duke@1 561 integer number too large: {0}
jjg@842 562
duke@1 563 compiler.err.intf.annotation.members.cant.have.params=\
duke@1 564 @interface members may not have parameters
jjg@842 565
duke@1 566 compiler.err.intf.annotation.cant.have.type.params=\
duke@1 567 @interface may not have type parameters
jjg@842 568
duke@1 569 compiler.err.intf.annotation.members.cant.have.type.params=\
duke@1 570 @interface members may not have type parameters
jjg@842 571
jjg@842 572 # 0: symbol, 1: type
duke@1 573 compiler.err.intf.annotation.member.clash=\
duke@1 574 @interface member clashes with method ''{0}'' in {1}
jjg@842 575
duke@1 576 compiler.err.intf.expected.here=\
duke@1 577 interface expected here
jjg@842 578
duke@1 579 compiler.err.intf.meth.cant.have.body=\
mcimadamore@1393 580 interface abstract methods cannot have body
jjg@842 581
duke@1 582 compiler.err.invalid.annotation.member.type=\
duke@1 583 invalid type for annotation member
jjg@842 584
jjg@423 585 compiler.err.invalid.binary.number=\
jjg@423 586 binary numbers must contain at least one binary digit
jjg@842 587
duke@1 588 compiler.err.invalid.hex.number=\
duke@1 589 hexadecimal numbers must contain at least one hexadecimal digit
jjg@842 590
duke@1 591 compiler.err.invalid.meth.decl.ret.type.req=\
duke@1 592 invalid method declaration; return type required
jjg@842 593
mcimadamore@831 594 compiler.err.varargs.and.old.array.syntax=\
mcimadamore@831 595 legacy array notation not allowed on variable-arity parameter
duke@1 596
jjg@1755 597 compiler.err.varargs.and.receiver =\
jjg@1755 598 varargs notation not allowed on receiver parameter
jjg@1755 599
jjg@1755 600 compiler.err.array.and.receiver =\
jjg@1755 601 legacy array notation not allowed on receiver parameter
jjg@1755 602
ksrini@1249 603 compiler.err.variable.not.allowed=\
ksrini@1249 604 variable declaration not allowed here
ksrini@1249 605
jjg@842 606 # 0: name
duke@1 607 compiler.err.label.already.in.use=\
duke@1 608 label {0} already in use
jjg@842 609
jjg@842 610 # 0: symbol
duke@1 611 compiler.err.local.var.accessed.from.icls.needs.final=\
duke@1 612 local variable {0} is accessed from within inner class; needs to be declared final
jjg@842 613
duke@1 614 compiler.err.local.enum=\
duke@1 615 enum types must not be local
jjg@842 616
duke@1 617 compiler.err.cannot.create.array.with.type.arguments=\
duke@1 618 cannot create array with type arguments
duke@1 619
mcimadamore@1061 620 compiler.err.cannot.create.array.with.diamond=\
mcimadamore@1061 621 cannot create array with ''<>''
mcimadamore@1061 622
duke@1 623 #
duke@1 624 # limits. We don't give the limits in the diagnostic because we expect
duke@1 625 # them to change, yet we want to use the same diagnostic. These are all
duke@1 626 # detected during code generation.
duke@1 627 #
duke@1 628 compiler.err.limit.code=\
duke@1 629 code too large
jjg@842 630
duke@1 631 compiler.err.limit.code.too.large.for.try.stmt=\
duke@1 632 code too large for try statement
jjg@842 633
duke@1 634 compiler.err.limit.dimensions=\
duke@1 635 array type has too many dimensions
jjg@842 636
duke@1 637 compiler.err.limit.locals=\
duke@1 638 too many local variables
jjg@842 639
duke@1 640 compiler.err.limit.parameters=\
duke@1 641 too many parameters
jjg@842 642
duke@1 643 compiler.err.limit.pool=\
duke@1 644 too many constants
jjg@842 645
duke@1 646 compiler.err.limit.pool.in.class=\
duke@1 647 too many constants in class {0}
jjg@842 648
duke@1 649 compiler.err.limit.stack=\
duke@1 650 code requires too much stack
jjg@842 651
duke@1 652 compiler.err.limit.string=\
duke@1 653 constant string too long
jjg@842 654
duke@1 655 compiler.err.limit.string.overflow=\
duke@1 656 UTF8 representation for string \"{0}...\" is too long for the constant pool
duke@1 657
duke@1 658 compiler.err.malformed.fp.lit=\
duke@1 659 malformed floating point literal
jjg@842 660
duke@1 661 compiler.err.method.does.not.override.superclass=\
duke@1 662 method does not override or implement a method from a supertype
jjg@842 663
duke@1 664 compiler.err.missing.meth.body.or.decl.abstract=\
duke@1 665 missing method body, or declare abstract
jjg@842 666
duke@1 667 compiler.err.missing.ret.stmt=\
duke@1 668 missing return statement
jjg@842 669
jjg@1755 670 # 0: unused
mcimadamore@1348 671 compiler.misc.missing.ret.val=\
mcimadamore@1348 672 missing return value
mcimadamore@1348 673
mcimadamore@1415 674 compiler.misc.unexpected.ret.val=\
mcimadamore@1415 675 unexpected return value
jjg@842 676
jjg@842 677 # 0: set of modifier
duke@1 678 compiler.err.mod.not.allowed.here=\
duke@1 679 modifier {0} not allowed here
jjg@842 680
duke@1 681 compiler.err.intf.not.allowed.here=\
duke@1 682 interface not allowed here
jjg@842 683
duke@1 684 compiler.err.enums.must.be.static=\
duke@1 685 enum declarations allowed only in static contexts
duke@1 686
jjg@842 687 # 0: symbol, 1: symbol
duke@1 688 compiler.err.name.clash.same.erasure=\
duke@1 689 name clash: {0} and {1} have the same erasure
jjg@842 690
mcimadamore@858 691 # 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: unused, 5: unused
duke@1 692 compiler.err.name.clash.same.erasure.no.override=\
duke@1 693 name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
jjg@842 694
mcimadamore@858 695 # 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: symbol, 5: symbol
mcimadamore@858 696 compiler.err.name.clash.same.erasure.no.override.1=\
mcimadamore@858 697 name clash: {0} in {1} overrides a method whose erasure is the same as another method, yet neither overrides the other\n\
mcimadamore@858 698 first method: {2} in {3}\n\
mcimadamore@858 699 second method: {4} in {5}
mcimadamore@858 700
mcimadamore@858 701 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
mcimadamore@858 702 compiler.err.name.clash.same.erasure.no.hide=\
mcimadamore@858 703 name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither hides the other
mcimadamore@858 704
duke@1 705 compiler.err.name.reserved.for.internal.use=\
duke@1 706 {0} is reserved for internal use
jjg@842 707
duke@1 708 compiler.err.native.meth.cant.have.body=\
duke@1 709 native methods cannot have a body
jjg@842 710
jjg@842 711 # 0: type, 1: type
duke@1 712 compiler.err.neither.conditional.subtype=\
jjg@842 713 incompatible types for ?: neither is a subtype of the other\n\
jjg@842 714 second operand: {0}\n\
jjg@842 715 third operand : {1}
jjg@842 716
mcimadamore@1347 717 # 0: message segment
mcimadamore@1347 718 compiler.misc.incompatible.type.in.conditional=\
mcimadamore@1759 719 bad type in conditional expression\n\
mcimadamore@1759 720 {0}
mcimadamore@1347 721
mcimadamore@1415 722 compiler.misc.conditional.target.cant.be.void=\
mcimadamore@1415 723 target-type for conditional expression cannot be void
mcimadamore@1415 724
mcimadamore@1348 725 # 0: type
mcimadamore@1348 726 compiler.misc.incompatible.ret.type.in.lambda=\
mcimadamore@1348 727 bad return type in lambda expression\n\
mcimadamore@1348 728 {0}
mcimadamore@1348 729
mcimadamore@1352 730 # 0: type
mcimadamore@1352 731 compiler.misc.incompatible.ret.type.in.mref=\
mcimadamore@1352 732 bad return type in method reference\n\
mcimadamore@1352 733 {0}
mcimadamore@1352 734
mcimadamore@1348 735 # 0: list of type
mcimadamore@1352 736 compiler.err.incompatible.thrown.types.in.mref=\
mcimadamore@1352 737 incompatible thrown types {0} in method reference
mcimadamore@1352 738
mcimadamore@1348 739 compiler.misc.incompatible.arg.types.in.lambda=\
mcimadamore@1348 740 incompatible parameter types in lambda expression
mcimadamore@1348 741
mcimadamore@1581 742 compiler.misc.incompatible.arg.types.in.mref=\
mcimadamore@1581 743 incompatible parameter types in method reference
mcimadamore@1581 744
duke@1 745 compiler.err.new.not.allowed.in.annotation=\
duke@1 746 ''new'' not allowed in an annotation
jjg@842 747
duke@1 748 compiler.err.no.annotation.member=\
duke@1 749 no annotation member {0} in {1}
jjg@842 750
duke@1 751 compiler.err.no.encl.instance.of.type.in.scope=\
duke@1 752 no enclosing instance of type {0} is in scope
jjg@842 753
duke@1 754 compiler.err.no.intf.expected.here=\
duke@1 755 no interface expected here
jjg@842 756
duke@1 757 compiler.err.no.match.entry=\
duke@1 758 {0} has no match in entry in {1}; required {2}
jjg@842 759
duke@1 760 compiler.err.not.annotation.type=\
duke@1 761 {0} is not an annotation type
jjg@842 762
jjg@842 763 # 0: symbol, 1: symbol
duke@1 764 compiler.err.not.def.access.class.intf.cant.access=\
duke@1 765 {0} in {1} is defined in an inaccessible class or interface
jjg@842 766
jjg@842 767 # 0: symbol, 1: symbol
mcimadamore@1352 768 compiler.misc.not.def.access.class.intf.cant.access=\
mcimadamore@1352 769 {0} in {1} is defined in an inaccessible class or interface
mcimadamore@1352 770
mcimadamore@1352 771 # 0: symbol, 1: list of type, 2: type
mcimadamore@1352 772 compiler.misc.cant.access.inner.cls.constr=\
mcimadamore@1352 773 cannot access constructor {0}({1})\n\
mcimadamore@1352 774 an enclosing instance of type {2} is not in scope
mcimadamore@1352 775
mcimadamore@1352 776 # 0: symbol, 1: symbol
duke@1 777 compiler.err.not.def.public.cant.access=\
duke@1 778 {0} is not public in {1}; cannot be accessed from outside package
jjg@842 779
mcimadamore@1615 780 # 0: symbol, 1: symbol
mcimadamore@1615 781 compiler.misc.not.def.public.cant.access=\
mcimadamore@1615 782 {0} is not public in {1}; cannot be accessed from outside package
mcimadamore@1615 783
jjg@842 784 # 0: name
duke@1 785 compiler.err.not.loop.label=\
duke@1 786 not a loop label: {0}
jjg@842 787
duke@1 788 compiler.err.not.stmt=\
duke@1 789 not a statement
jjg@842 790
jjg@842 791 # 0: symbol
duke@1 792 compiler.err.not.encl.class=\
duke@1 793 not an enclosing class: {0}
duke@1 794
jjg@842 795 # 0: name, 1: type, 2: unused
duke@1 796 compiler.err.operator.cant.be.applied=\
mcimadamore@829 797 bad operand type {1} for unary operator ''{0}''
jjg@842 798
jjg@842 799 # 0: name, 1: type, 2: type
mcimadamore@829 800 compiler.err.operator.cant.be.applied.1=\
mcimadamore@829 801 bad operand types for binary operator ''{0}''\n\
mcimadamore@829 802 first type: {1}\n\
mcimadamore@829 803 second type: {2}
duke@1 804
duke@1 805 compiler.err.pkg.annotations.sb.in.package-info.java=\
duke@1 806 package annotations should be in file package-info.java
jjg@842 807
jjg@842 808 # 0: symbol
duke@1 809 compiler.err.pkg.clashes.with.class.of.same.name=\
duke@1 810 package {0} clashes with class of same name
duke@1 811
jjg@215 812 compiler.err.warnings.and.werror=\
jjg@215 813 warnings found and -Werror specified
jjg@215 814
duke@1 815 # Errors related to annotation processing
duke@1 816
jjg@952 817 # 0: symbol, 1: string, 2: stack-trace
duke@1 818 compiler.err.proc.cant.access=\
jjg@842 819 cannot access {0}\n\
jjg@842 820 {1}\n\
jjg@842 821 Consult the following stack trace for details.\n\
jjg@842 822 {2}
duke@1 823
jjg@952 824 # 0: symbol, 1: string
jjg@952 825 compiler.err.proc.cant.access.1=\
jjg@952 826 cannot access {0}\n\
jjg@952 827 {1}
jjg@952 828
jjg@842 829 # 0: string
duke@1 830 compiler.err.proc.cant.find.class=\
duke@1 831 Could not find class file for ''{0}''.
duke@1 832
duke@1 833 # Print a client-generated error message; assumed to be localized, no translation required
jjg@842 834 # 0: string
duke@1 835 compiler.err.proc.messager=\
duke@1 836 {0}
duke@1 837
jjg@842 838 # 0: list of string
duke@1 839 compiler.err.proc.no.explicit.annotation.processing.requested=\
duke@1 840 Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
duke@1 841
duke@1 842 compiler.err.proc.no.service=\
darcy@1048 843 A ServiceLoader was not usable and is required for annotation processing.
duke@1 844
duke@1 845 compiler.err.proc.processor.bad.option.name=\
duke@1 846 Bad option name ''{0}'' provided by processor ''{1}''
duke@1 847
jjg@842 848 # 0: string
duke@1 849 compiler.err.proc.processor.cant.instantiate=\
duke@1 850 Could not instantiate an instance of processor ''{0}''
duke@1 851
jjg@842 852 # 0: string
duke@1 853 compiler.err.proc.processor.not.found=\
duke@1 854 Annotation processor ''{0}'' not found
duke@1 855
jjg@842 856 # 0: string
duke@1 857 compiler.err.proc.processor.wrong.type=\
duke@1 858 Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
duke@1 859
duke@1 860 compiler.err.proc.service.problem=\
duke@1 861 Error creating a service loader to load Processors.
duke@1 862
duke@1 863 compiler.err.proc.bad.config.file=\
duke@1 864 Bad service configuration file, or exception thrown while constructing Processor object: {0}
duke@1 865
duke@1 866 compiler.err.proc.cant.create.loader=\
duke@1 867 Could not create class loader for annotation processors: {0}
duke@1 868
jjg@842 869 # 0: unused
duke@1 870 compiler.err.qualified.new.of.static.class=\
duke@1 871 qualified new of static class
duke@1 872
duke@1 873 compiler.err.recursive.ctor.invocation=\
duke@1 874 recursive constructor invocation
jjg@842 875
jjg@842 876 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
duke@1 877 compiler.err.ref.ambiguous=\
mcimadamore@1352 878 reference to {0} is ambiguous\n\
mcimadamore@1352 879 both {1} {2} in {3} and {4} {5} in {6} match
mcimadamore@1352 880
mcimadamore@1352 881 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
mcimadamore@1352 882 compiler.misc.ref.ambiguous=\
mcimadamore@1352 883 reference to {0} is ambiguous\n\
mcimadamore@1352 884 both {1} {2} in {3} and {4} {5} in {6} match
jjg@842 885
duke@1 886 compiler.err.repeated.annotation.target=\
duke@1 887 repeated annotation target
jjg@842 888
duke@1 889 compiler.err.repeated.interface=\
duke@1 890 repeated interface
jjg@842 891
duke@1 892 compiler.err.repeated.modifier=\
duke@1 893 repeated modifier
jjg@842 894
jjg@842 895 # 0: symbol, 1: set of modifier, 2: symbol
duke@1 896 compiler.err.report.access=\
duke@1 897 {0} has {1} access in {2}
jjg@842 898
mcimadamore@1921 899 # 0: symbol, 1: set of modifier, 2: symbol
mcimadamore@1921 900 compiler.misc.report.access=\
mcimadamore@1921 901 {0} has {1} access in {2}
mcimadamore@1921 902
duke@1 903 compiler.err.ret.outside.meth=\
duke@1 904 return outside method
duke@1 905
duke@1 906 compiler.err.signature.doesnt.match.supertype=\
duke@1 907 signature does not match {0}; incompatible supertype
jjg@842 908
duke@1 909 compiler.err.signature.doesnt.match.intf=\
duke@1 910 signature does not match {0}; incompatible interfaces
jjg@842 911
vromero@1925 912 # 0: number, 1: number
vromero@1925 913 compiler.err.method.invoked.with.incorrect.number.arguments=\
vromero@1925 914 method invoked with incorrect number of arguments; expected {0}, found {1}
vromero@1925 915
jjg@842 916 # 0: symbol, 1: symbol, 2: symbol
duke@1 917 compiler.err.does.not.override.abstract=\
duke@1 918 {0} is not abstract and does not override abstract method {1} in {2}
jjg@842 919
duke@1 920 compiler.err.source.cant.overwrite.input.file=\
duke@1 921 error writing source; cannot overwrite input file {0}
jjg@842 922
duke@1 923 compiler.err.stack.sim.error=\
duke@1 924 Internal error: stack sim error on {0}
jjg@842 925
duke@1 926 compiler.err.static.imp.only.classes.and.interfaces=\
duke@1 927 static import only from classes and interfaces
jjg@842 928
darcy@430 929 compiler.err.string.const.req=\
darcy@430 930 constant string expression required
jjg@842 931
jjg@842 932 # 0: symbol, 1: symbol
duke@1 933 compiler.err.synthetic.name.conflict=\
duke@1 934 the symbol {0} conflicts with a compiler-synthesized symbol in {1}
jjg@842 935
jjg@842 936 # 0: symbol, 1: symbol
mcimadamore@359 937 compiler.warn.synthetic.name.conflict=\
mcimadamore@359 938 the symbol {0} conflicts with a compiler-synthesized symbol in {1}
duke@1 939
duke@1 940 compiler.err.throws.not.allowed.in.intf.annotation=\
duke@1 941 throws clause not allowed in @interface members
jjg@842 942
duke@1 943 compiler.err.try.without.catch.or.finally=\
duke@1 944 ''try'' without ''catch'' or ''finally''
jjg@842 945
darcy@609 946 compiler.err.try.without.catch.finally.or.resource.decls=\
darcy@609 947 ''try'' without ''catch'', ''finally'' or resource declarations
jjg@842 948
jjg@842 949 # 0: symbol
duke@1 950 compiler.err.type.doesnt.take.params=\
duke@1 951 type {0} does not take parameters
jjg@842 952
duke@1 953 compiler.err.type.var.cant.be.deref=\
duke@1 954 cannot select from a type variable
jjg@842 955
duke@1 956 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
duke@1 957 a type variable may not be followed by other bounds
jjg@842 958
duke@1 959 compiler.err.type.var.more.than.once=\
duke@1 960 type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
jjg@842 961
duke@1 962 compiler.err.type.var.more.than.once.in.result=\
duke@1 963 type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
jjg@842 964
jjg@842 965 # 0: type, 1: type, 2: string
duke@1 966 compiler.err.types.incompatible.diff.ret=\
duke@1 967 types {0} and {1} are incompatible; both define {2}, but with unrelated return types
duke@1 968
mcimadamore@1393 969 # 0: kind, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol
mcimadamore@1393 970 compiler.err.types.incompatible.unrelated.defaults=\
mcimadamore@1393 971 {0} {1} inherits unrelated defaults for {2}({3}) from types {4} and {5}
mcimadamore@1393 972
mcimadamore@1393 973 # 0: kind, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol
mcimadamore@1393 974 compiler.err.types.incompatible.abstract.default=\
mcimadamore@1393 975 {0} {1} inherits abstract and default for {2}({3}) from types {4} and {5}
mcimadamore@1393 976
mcimadamore@1393 977 # 0: name, 1: kind, 2: symbol
mcimadamore@1393 978 compiler.err.default.overrides.object.member=\
mcimadamore@1393 979 default method {0} in {1} {2} overrides a member of java.lang.Object
mcimadamore@1393 980
mcimadamore@1513 981 # 0: type
mcimadamore@1513 982 compiler.err.illegal.static.intf.meth.call=\
mcimadamore@1513 983 illegal static interface method call\n\
mcimadamore@1513 984 the receiver expression should be replaced with the type qualifier ''{0}''
mcimadamore@1513 985
mcimadamore@1393 986 # 0: type, 1: message segment
mcimadamore@1393 987 compiler.err.illegal.default.super.call=\
mcimadamore@1393 988 bad type qualifier {0} in default super call\n\
mcimadamore@1393 989 {1}
mcimadamore@1393 990
mcimadamore@1393 991 # 0: symbol, 1: type
mcimadamore@1393 992 compiler.misc.overridden.default=\
mcimadamore@1415 993 method {0} is overridden in {1}
mcimadamore@1393 994
jjg@1755 995 # 0: symbol, 1: type or symbol
mcimadamore@1393 996 compiler.misc.redundant.supertype=\
mcimadamore@1393 997 redundant interface {0} is extended by {1}
mcimadamore@1393 998
duke@1 999 compiler.err.unclosed.char.lit=\
duke@1 1000 unclosed character literal
jjg@842 1001
duke@1 1002 compiler.err.unclosed.comment=\
duke@1 1003 unclosed comment
jjg@842 1004
duke@1 1005 compiler.err.unclosed.str.lit=\
duke@1 1006 unclosed string literal
jjg@842 1007
jjg@842 1008 # 0: name
duke@1 1009 compiler.err.unsupported.encoding=\
duke@1 1010 unsupported encoding: {0}
jjg@842 1011
duke@1 1012 compiler.err.io.exception=\
duke@1 1013 error reading source file: {0}
jjg@842 1014
jjg@842 1015 # 0: name
duke@1 1016 compiler.err.undef.label=\
duke@1 1017 undefined label: {0}
jjg@842 1018
jjg@842 1019 # 0: message segment, 1: unused
mcimadamore@537 1020 compiler.err.cant.apply.diamond=\
mcimadamore@537 1021 cannot infer type arguments for {0}
jjg@842 1022
jjg@1136 1023 # 0: message segment or type, 1: message segment
mcimadamore@537 1024 compiler.err.cant.apply.diamond.1=\
mcimadamore@1238 1025 cannot infer type arguments for {0}\n\
mcimadamore@1238 1026 reason: {1}
mcimadamore@1238 1027
mcimadamore@1238 1028 # 0: message segment or type, 1: message segment
mcimadamore@1238 1029 compiler.misc.cant.apply.diamond.1=\
mcimadamore@1238 1030 cannot infer type arguments for {0}\n\
mcimadamore@537 1031 reason: {1}
jjg@842 1032
duke@1 1033 compiler.err.unreachable.stmt=\
duke@1 1034 unreachable statement
jjg@842 1035
duke@1 1036 compiler.err.initializer.must.be.able.to.complete.normally=\
duke@1 1037 initializer must be able to complete normally
jjg@842 1038
jjg@842 1039 # 0: type
duke@1 1040 compiler.err.unreported.exception.need.to.catch.or.throw=\
duke@1 1041 unreported exception {0}; must be caught or declared to be thrown
jjg@842 1042
jjg@842 1043 # 0: type
duke@1 1044 compiler.err.unreported.exception.default.constructor=\
duke@1 1045 unreported exception {0} in default constructor
jjg@842 1046
mcimadamore@878 1047 # 0: type, 1: name
mcimadamore@878 1048 compiler.err.unreported.exception.implicit.close=\
mcimadamore@878 1049 unreported exception {0}; must be caught or declared to be thrown\n\
mcimadamore@878 1050 exception thrown from implicit call to close() on resource variable ''{1}''
mcimadamore@878 1051
duke@1 1052 compiler.err.unsupported.cross.fp.lit=\
duke@1 1053 hexadecimal floating-point literals are not supported on this VM
jjg@842 1054
duke@1 1055 compiler.err.void.not.allowed.here=\
duke@1 1056 ''void'' type not allowed here
duke@1 1057
jjg@842 1058 # 0: string
duke@1 1059 compiler.err.wrong.number.type.args=\
duke@1 1060 wrong number of type arguments; required {0}
duke@1 1061
jjg@842 1062 # 0: symbol
duke@1 1063 compiler.err.var.might.already.be.assigned=\
duke@1 1064 variable {0} might already have been assigned
jjg@842 1065
jjg@842 1066 # 0: symbol
duke@1 1067 compiler.err.var.might.not.have.been.initialized=\
duke@1 1068 variable {0} might not have been initialized
jjg@842 1069
jjg@842 1070 # 0: symbol
ksrini@1914 1071 compiler.err.var.not.initialized.in.default.constructor=\
ksrini@1914 1072 variable {0} not initialized in the default constructor
ksrini@1914 1073
ksrini@1914 1074 # 0: symbol
duke@1 1075 compiler.err.var.might.be.assigned.in.loop=\
duke@1 1076 variable {0} might be assigned in loop
duke@1 1077
jjg@842 1078 # 0: symbol, 1: message segment
mcimadamore@795 1079 compiler.err.varargs.invalid.trustme.anno=\
mcimadamore@795 1080 Invalid {0} annotation. {1}
jjg@842 1081
jjg@842 1082 # 0: type
mcimadamore@795 1083 compiler.misc.varargs.trustme.on.reifiable.varargs=\
mcimadamore@795 1084 Varargs element type {0} is reifiable.
jjg@842 1085
jjg@842 1086 # 0: symbol
mcimadamore@795 1087 compiler.misc.varargs.trustme.on.non.varargs.meth=\
mcimadamore@795 1088 Method {0} is not a varargs method.
jjg@842 1089
jjg@842 1090 # 0: symbol
mcimadamore@795 1091 compiler.misc.varargs.trustme.on.virtual.varargs=\
mcimadamore@795 1092 Instance method {0} is not final.
mcimadamore@795 1093
jjg@1136 1094 # 0: type, 1: symbol kind, 2: symbol
mcimadamore@845 1095 compiler.misc.inaccessible.varargs.type=\
mcimadamore@845 1096 formal varargs element type {0} is not accessible from {1} {2}
mcimadamore@845 1097
duke@1 1098 # In the following string, {1} will always be the detail message from
duke@1 1099 # java.io.IOException.
jjg@842 1100 # 0: symbol, 1: string
duke@1 1101 compiler.err.class.cant.write=\
duke@1 1102 error while writing {0}: {1}
duke@1 1103
duke@1 1104 # In the following string, {0} is the name of the class in the Java source.
duke@1 1105 # It really should be used two times..
jjg@842 1106 # 0: name
duke@1 1107 compiler.err.class.public.should.be.in.file=\
duke@1 1108 class {0} is public, should be declared in a file named {0}.java
duke@1 1109
duke@1 1110 ## All errors which do not refer to a particular line in the source code are
duke@1 1111 ## preceded by this string.
duke@1 1112 compiler.err.error=\
duke@1 1113 error:\u0020
duke@1 1114
duke@1 1115 # The following error messages do not refer to a line in the source code.
duke@1 1116 compiler.err.cant.read.file=\
duke@1 1117 cannot read: {0}
duke@1 1118
duke@1 1119 #####
duke@1 1120
duke@1 1121 # Fatal Errors
duke@1 1122
duke@1 1123 compiler.misc.fatal.err.no.java.lang=\
duke@1 1124 Fatal Error: Unable to find package java.lang in classpath or bootclasspath
jjg@842 1125
duke@1 1126 compiler.misc.fatal.err.cant.locate.meth=\
duke@1 1127 Fatal Error: Unable to find method {0}
jjg@842 1128
duke@1 1129 compiler.misc.fatal.err.cant.locate.field=\
duke@1 1130 Fatal Error: Unable to find field {0}
jjg@842 1131
duke@1 1132 compiler.misc.fatal.err.cant.locate.ctor=\
duke@1 1133 Fatal Error: Unable to find constructor for {0}
jjg@842 1134
jjg@1096 1135 compiler.misc.fatal.err.cant.close=\
jjg@1096 1136 Fatal Error: Cannot close compiler resources
duke@1 1137
duke@1 1138 #####
duke@1 1139
duke@1 1140 ##
duke@1 1141 ## miscellaneous strings
duke@1 1142 ##
duke@1 1143
duke@1 1144 compiler.misc.source.unavailable=\
duke@1 1145 (source unavailable)
jjg@842 1146
duke@1 1147 compiler.misc.base.membership=\
duke@1 1148 all your base class are belong to us
jjg@842 1149
jjg@842 1150 # 0: string, 1: string, 2: boolean
duke@1 1151 compiler.misc.x.print.processor.info=\
duke@1 1152 Processor {0} matches {1} and returns {2}.
jjg@842 1153
jjg@842 1154 # 0: number, 1: string, 2: set of symbol, 3: boolean
duke@1 1155 compiler.misc.x.print.rounds=\
duke@1 1156 Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
duke@1 1157
duke@1 1158 #####
duke@1 1159
duke@1 1160 ## The following string will appear before all messages keyed as:
duke@1 1161 ## "compiler.note".
mcimadamore@1348 1162
mcimadamore@1759 1163 compiler.note.compressed.diags=\
mcimadamore@1759 1164 Some messages have been simplified; recompile with -Xdiags:verbose to get full output
mcimadamore@1759 1165
mcimadamore@1348 1166 compiler.note.potential.lambda.found=\
mcimadamore@1348 1167 This anonymous inner class creation can be turned into a lambda expression.
mcimadamore@1348 1168
mcimadamore@1817 1169 # 0: boolean, 1: symbol
mcimadamore@1817 1170 compiler.note.lambda.stat=\
mcimadamore@1817 1171 Translating lambda expression\n\
mcimadamore@1817 1172 alternate metafactory = {0}\n\
mcimadamore@1817 1173 synthetic method = {1}
mcimadamore@1817 1174
mcimadamore@1817 1175 # 0: boolean, 1: unused
mcimadamore@1817 1176 compiler.note.mref.stat=\
mcimadamore@1817 1177 Translating method reference\n\
mcimadamore@1817 1178 alternate metafactory = {0}\n\
mcimadamore@1817 1179
mcimadamore@1817 1180 # 0: boolean, 1: symbol
mcimadamore@1817 1181 compiler.note.mref.stat.1=\
mcimadamore@1817 1182 Translating method reference\n\
mcimadamore@1817 1183 alternate metafactory = {0}\n\
mcimadamore@1817 1184 bridge method = {1}
mcimadamore@1817 1185
duke@1 1186 compiler.note.note=\
duke@1 1187 Note:\u0020
duke@1 1188
jjg@842 1189 # 0: file name
duke@1 1190 compiler.note.deprecated.filename=\
duke@1 1191 {0} uses or overrides a deprecated API.
jjg@842 1192
duke@1 1193 compiler.note.deprecated.plural=\
duke@1 1194 Some input files use or override a deprecated API.
jjg@842 1195
duke@1 1196 # The following string may appear after one of the above deprecation
duke@1 1197 # messages.
duke@1 1198 compiler.note.deprecated.recompile=\
duke@1 1199 Recompile with -Xlint:deprecation for details.
duke@1 1200
jjg@842 1201 # 0: file name
duke@1 1202 compiler.note.deprecated.filename.additional=\
duke@1 1203 {0} has additional uses or overrides of a deprecated API.
jjg@842 1204
duke@1 1205 compiler.note.deprecated.plural.additional=\
duke@1 1206 Some input files additionally use or override a deprecated API.
duke@1 1207
jjg@842 1208 # 0: file name
duke@1 1209 compiler.note.unchecked.filename=\
duke@1 1210 {0} uses unchecked or unsafe operations.
jjg@842 1211
duke@1 1212 compiler.note.unchecked.plural=\
duke@1 1213 Some input files use unchecked or unsafe operations.
jjg@842 1214
duke@1 1215 # The following string may appear after one of the above deprecation
duke@1 1216 # messages.
duke@1 1217 compiler.note.unchecked.recompile=\
duke@1 1218 Recompile with -Xlint:unchecked for details.
duke@1 1219
jjg@842 1220 # 0: file name
duke@1 1221 compiler.note.unchecked.filename.additional=\
duke@1 1222 {0} has additional unchecked or unsafe operations.
jjg@842 1223
duke@1 1224 compiler.note.unchecked.plural.additional=\
duke@1 1225 Some input files additionally use unchecked or unsafe operations.
duke@1 1226
jjg@842 1227 # 0: file name
jjg@377 1228 compiler.note.sunapi.filename=\
jjg@582 1229 {0} uses internal proprietary API that may be removed in a future release.
jjg@842 1230
jjg@377 1231 compiler.note.sunapi.plural=\
jjg@582 1232 Some input files use internal proprietary API that may be removed in a future release.
jjg@842 1233
jjg@377 1234 # The following string may appear after one of the above sunapi messages.
jjg@377 1235 compiler.note.sunapi.recompile=\
jjg@377 1236 Recompile with -Xlint:sunapi for details.
jjg@377 1237
jjg@842 1238 # 0: file name
jjg@377 1239 compiler.note.sunapi.filename.additional=\
jjg@582 1240 {0} uses additional internal proprietary API that may be removed in a future release.
jjg@842 1241
jjg@377 1242 compiler.note.sunapi.plural.additional=\
jjg@582 1243 Some input files additionally use internal proprietary API that may be removed in a future release.
jjg@377 1244
jjg@377 1245 # Notes related to annotation processing
jjg@377 1246
jjg@377 1247 # Print a client-generated note; assumed to be localized, no translation required
jjg@842 1248 # 0: string
jjg@377 1249 compiler.note.proc.messager=\
jjg@377 1250 {0}
jjg@377 1251
duke@1 1252 #####
duke@1 1253
jjg@842 1254 # 0: number
duke@1 1255 compiler.misc.count.error=\
duke@1 1256 {0} error
jjg@842 1257
jjg@842 1258 # 0: number
duke@1 1259 compiler.misc.count.error.plural=\
duke@1 1260 {0} errors
jjg@842 1261
jjg@842 1262 # 0: number
duke@1 1263 compiler.misc.count.warn=\
duke@1 1264 {0} warning
jjg@842 1265
jjg@842 1266 # 0: number
duke@1 1267 compiler.misc.count.warn.plural=\
duke@1 1268 {0} warnings
duke@1 1269
jjg@597 1270 compiler.misc.version.not.available=\
jjg@597 1271 (version info not available)
jjg@597 1272
duke@1 1273 ## extra output when using -verbose (JavaCompiler)
duke@1 1274
jjg@842 1275 # 0: symbol
duke@1 1276 compiler.misc.verbose.checking.attribution=\
duke@1 1277 [checking {0}]
jjg@842 1278
jjg@842 1279 # 0: string
duke@1 1280 compiler.misc.verbose.parsing.done=\
duke@1 1281 [parsing completed {0}ms]
jjg@842 1282
jjg@842 1283 # 0: file name
duke@1 1284 compiler.misc.verbose.parsing.started=\
duke@1 1285 [parsing started {0}]
jjg@842 1286
jjg@842 1287 # 0: string
duke@1 1288 compiler.misc.verbose.total=\
duke@1 1289 [total {0}ms]
jjg@842 1290
jjg@842 1291 # 0: file name
duke@1 1292 compiler.misc.verbose.wrote.file=\
duke@1 1293 [wrote {0}]
duke@1 1294
duke@1 1295 ## extra output when using -verbose (Retro)
duke@1 1296 compiler.misc.verbose.retro=\
duke@1 1297 [retrofitting {0}]
jjg@842 1298
duke@1 1299 compiler.misc.verbose.retro.with=\
duke@1 1300 \tretrofitting {0} with {1}
jjg@842 1301
duke@1 1302 compiler.misc.verbose.retro.with.list=\
duke@1 1303 \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
duke@1 1304
duke@1 1305 ## extra output when using -verbose (code/ClassReader)
jjg@842 1306 # 0: string
duke@1 1307 compiler.misc.verbose.loading=\
duke@1 1308 [loading {0}]
duke@1 1309
jjg@842 1310 # 0: string
duke@1 1311 compiler.misc.verbose.sourcepath=\
duke@1 1312 [search path for source files: {0}]
duke@1 1313
jjg@842 1314 # 0: string
duke@1 1315 compiler.misc.verbose.classpath=\
duke@1 1316 [search path for class files: {0}]
duke@1 1317
duke@1 1318 ## extra output when using -checkclassfile (code/ClassReader)
duke@1 1319 compiler.misc.ccf.found.later.version=\
duke@1 1320 class file has later version than expected: {0}
jjg@842 1321
duke@1 1322 compiler.misc.ccf.unrecognized.attribute=\
duke@1 1323 unrecognized attribute: {0}
duke@1 1324
duke@1 1325 ## extra output when using -prompt (util/Log)
duke@1 1326 compiler.misc.resume.abort=\
duke@1 1327 R)esume, A)bort>
duke@1 1328
duke@1 1329 #####
duke@1 1330
duke@1 1331 ##
duke@1 1332 ## warnings
duke@1 1333 ##
duke@1 1334
duke@1 1335 ## All warning messages are preceded by the following string.
duke@1 1336 compiler.warn.warning=\
duke@1 1337 warning:\u0020
duke@1 1338
jjg@612 1339 ## Warning messages may also include the following prefix to identify a
jjg@612 1340 ## lint option
jjg@842 1341 # 0: option name
jjg@612 1342 compiler.warn.lintOption=\
jjg@612 1343 [{0}]\u0020
jjg@612 1344
jjg@842 1345 # 0: symbol
duke@1 1346 compiler.warn.constant.SVUID=\
jjg@612 1347 serialVersionUID must be constant in class {0}
duke@1 1348
jjg@842 1349 # 0: file name
duke@1 1350 compiler.warn.dir.path.element.not.found=\
jjg@612 1351 bad path element "{0}": no such directory
duke@1 1352
duke@1 1353 compiler.warn.finally.cannot.complete=\
jjg@612 1354 finally clause cannot complete normally
duke@1 1355
jjg@842 1356 # 0: symbol, 1: symbol
duke@1 1357 compiler.warn.has.been.deprecated=\
jjg@612 1358 {0} in {1} has been deprecated
duke@1 1359
jjg@842 1360 # 0: symbol
duke@1 1361 compiler.warn.sun.proprietary=\
jjg@582 1362 {0} is internal proprietary API and may be removed in a future release
duke@1 1363
duke@1 1364 compiler.warn.illegal.char.for.encoding=\
duke@1 1365 unmappable character for encoding {0}
jjg@612 1366
jjg@842 1367 # 0: symbol
duke@1 1368 compiler.warn.improper.SVUID=\
jjg@612 1369 serialVersionUID must be declared static final in class {0}
duke@1 1370
jjg@842 1371 # 0: type, 1: type
duke@1 1372 compiler.warn.inexact.non-varargs.call=\
jjg@842 1373 non-varargs call of varargs method with inexact argument type for last parameter;\n\
jjg@842 1374 cast to {0} for a varargs call\n\
jjg@842 1375 cast to {1} for a non-varargs call and to suppress this warning
duke@1 1376
mcimadamore@935 1377 # 0: list of type
mcimadamore@935 1378 compiler.warn.unreachable.catch=\
mcimadamore@935 1379 unreachable catch clause\n\
mcimadamore@935 1380 thrown type {0} has already been caught
mcimadamore@935 1381
mcimadamore@935 1382 # 0: list of type
mcimadamore@935 1383 compiler.warn.unreachable.catch.1=\
mcimadamore@935 1384 unreachable catch clause\n\
mcimadamore@935 1385 thrown types {0} have already been caught
mcimadamore@935 1386
jjg@842 1387 # 0: symbol
duke@1 1388 compiler.warn.long.SVUID=\
jjg@612 1389 serialVersionUID must be of type long in class {0}
duke@1 1390
jjg@842 1391 # 0: symbol
duke@1 1392 compiler.warn.missing.SVUID=\
jjg@612 1393 serializable class {0} has no definition of serialVersionUID
duke@1 1394
vromero@2000 1395 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
vromero@2000 1396 compiler.warn.potentially.ambiguous.overload=\
vromero@2000 1397 {0} in {1} is potentially ambiguous with {2} in {3}
vromero@2000 1398
jjg@842 1399 # 0: message segment
duke@1 1400 compiler.warn.override.varargs.missing=\
duke@1 1401 {0}; overridden method has no ''...''
jjg@842 1402
jjg@842 1403 # 0: message segment
duke@1 1404 compiler.warn.override.varargs.extra=\
duke@1 1405 {0}; overriding method is missing ''...''
jjg@842 1406
duke@1 1407 compiler.warn.override.bridge=\
duke@1 1408 {0}; overridden method is a bridge method
duke@1 1409
jjg@842 1410 # 0: symbol
duke@1 1411 compiler.warn.pkg-info.already.seen=\
jjg@457 1412 a package-info.java file has already been seen for package {0}
jjg@612 1413
jjg@842 1414 # 0: file name
duke@1 1415 compiler.warn.path.element.not.found=\
jjg@612 1416 bad path element "{0}": no such file or directory
jjg@612 1417
duke@1 1418 compiler.warn.possible.fall-through.into.case=\
jjg@612 1419 possible fall-through into case
duke@1 1420
jjg@842 1421 # 0: type
duke@1 1422 compiler.warn.redundant.cast=\
jjg@612 1423 redundant cast to {0}
duke@1 1424
jjg@842 1425 # 0: number
duke@1 1426 compiler.warn.position.overflow=\
duke@1 1427 Position encoding overflows at line {0}
duke@1 1428
jjg@842 1429 # 0: file name, 1: number, 2: number
duke@1 1430 compiler.warn.big.major.version=\
duke@1 1431 {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
duke@1 1432 It is recommended that the compiler be upgraded.
duke@1 1433
jjg@842 1434 # 0: symbol kind, 1: symbol
jjg@505 1435 compiler.warn.static.not.qualified.by.type=\
jjg@612 1436 static {0} should be qualified by type name, {1}, instead of by an expression
jjg@505 1437
jjg@842 1438 # 0: string
jjg@757 1439 compiler.warn.source.no.bootclasspath=\
jjg@757 1440 bootstrap class path not set in conjunction with -source {0}
jjg@757 1441
darcy@1961 1442 # 0: string
darcy@1961 1443 compiler.warn.option.obsolete.source=\
darcy@1961 1444 source value {0} is obsolete and will be removed in a future release
darcy@1961 1445
darcy@1961 1446 # 0: string
darcy@1961 1447 compiler.warn.option.obsolete.target=\
darcy@1961 1448 target value {0} is obsolete and will be removed in a future release
darcy@1961 1449
darcy@1961 1450 compiler.warn.option.obsolete.suppression=\
darcy@1961 1451 To suppress warnings about obsolete options, use -Xlint:-options.
darcy@1961 1452
jjg@842 1453 # 0: name, 1: number, 2: number, 3: number, 4: number
jjg@776 1454 compiler.warn.future.attr=\
jjg@776 1455 {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files
jjg@776 1456
duke@1 1457 # Warnings related to annotation processing
jjg@842 1458 # 0: name
duke@1 1459 compiler.warn.proc.package.does.not.exist=\
duke@1 1460 package {0} does not exist
jjg@842 1461
jjg@842 1462 # 0: name
duke@1 1463 compiler.warn.proc.file.reopening=\
duke@1 1464 Attempt to create a file for ''{0}'' multiple times
duke@1 1465
jjg@842 1466 # 0: name
duke@1 1467 compiler.warn.proc.type.already.exists=\
duke@1 1468 A file for type ''{0}'' already exists on the sourcepath or classpath
duke@1 1469
jjg@842 1470 # 0: name
duke@1 1471 compiler.warn.proc.type.recreate=\
duke@1 1472 Attempt to create a file for type ''{0}'' multiple times
duke@1 1473
jjg@842 1474 # 0: string
duke@1 1475 compiler.warn.proc.illegal.file.name=\
duke@1 1476 Cannot create file for illegal name ''{0}''.
duke@1 1477
jjg@842 1478 # 0: string, 1: string
jjg@618 1479 compiler.warn.proc.suspicious.class.name=\
jjg@618 1480 Creating file for a type whose name ends in {1}: ''{0}''
jjg@618 1481
jjg@842 1482 # 0: name
duke@1 1483 compiler.warn.proc.file.create.last.round=\
duke@1 1484 File for type ''{0}'' created in the last round will not be subject to annotation processing.
duke@1 1485
jjg@842 1486 # 0: string, 1: string
duke@1 1487 compiler.warn.proc.malformed.supported.string=\
duke@1 1488 Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
duke@1 1489
jjg@842 1490 # 0: set of string
duke@1 1491 compiler.warn.proc.annotations.without.processors=\
duke@1 1492 No processor claimed any of these annotations: {0}
duke@1 1493
jjg@842 1494 # 0: source version, 1: string, 2: string
duke@1 1495 compiler.warn.proc.processor.incompatible.source.version=\
duke@1 1496 Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
duke@1 1497
duke@1 1498 compiler.warn.proc.proc-only.requested.no.procs=\
duke@1 1499 Annotation processing without compilation requested but no processors were found.
duke@1 1500
duke@1 1501 compiler.warn.proc.use.implicit=\
jjg@842 1502 Implicitly compiled files were not subject to annotation processing.\n\
jjg@842 1503 Use -implicit to specify a policy for implicit compilation.
duke@1 1504
duke@1 1505 compiler.warn.proc.use.proc.or.implicit=\
jjg@842 1506 Implicitly compiled files were not subject to annotation processing.\n\
jjg@842 1507 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
duke@1 1508
duke@1 1509 # Print a client-generated warning; assumed to be localized, no translation required
jjg@842 1510 # 0: string
duke@1 1511 compiler.warn.proc.messager=\
duke@1 1512 {0}
duke@1 1513
jjg@842 1514 # 0: set of name
duke@1 1515 compiler.warn.proc.unclosed.type.files=\
duke@1 1516 Unclosed files for the types ''{0}''; these types will not undergo annotation processing
duke@1 1517
jjg@842 1518 # 0: string
duke@1 1519 compiler.warn.proc.unmatched.processor.options=\
duke@1 1520 The following options were not recognized by any processor: ''{0}''
duke@1 1521
mcimadamore@743 1522 compiler.warn.try.explicit.close.call=\
mcimadamore@743 1523 explicit call to close() on an auto-closeable resource
jjg@842 1524
jjg@842 1525 # 0: symbol
mcimadamore@743 1526 compiler.warn.try.resource.not.referenced=\
mcimadamore@743 1527 auto-closeable resource {0} is never referenced in body of corresponding try statement
jjg@842 1528
mcimadamore@951 1529 # 0: type
mcimadamore@951 1530 compiler.warn.try.resource.throws.interrupted.exc=\
mcimadamore@951 1531 auto-closeable resource {0} has a member method close() that could throw InterruptedException
mcimadamore@951 1532
duke@1 1533 compiler.warn.unchecked.assign=\
jjg@612 1534 unchecked assignment: {0} to {1}
jjg@842 1535
jjg@842 1536 # 0: symbol, 1: type
duke@1 1537 compiler.warn.unchecked.assign.to.var=\
jjg@612 1538 unchecked assignment to variable {0} as member of raw type {1}
jjg@842 1539
jjg@842 1540 # 0: symbol, 1: type
duke@1 1541 compiler.warn.unchecked.call.mbr.of.raw.type=\
jjg@612 1542 unchecked call to {0} as a member of the raw type {1}
jjg@842 1543
duke@1 1544 compiler.warn.unchecked.cast.to.type=\
jjg@612 1545 unchecked cast to type {0}
jjg@842 1546
jjg@842 1547 # 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol
duke@1 1548 compiler.warn.unchecked.meth.invocation.applied=\
jjg@612 1549 unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
mcimadamore@161 1550 required: {2}\n\
mcimadamore@161 1551 found: {3}
mcimadamore@161 1552
jjg@842 1553 # 0: type
duke@1 1554 compiler.warn.unchecked.generic.array.creation=\
jjg@612 1555 unchecked generic array creation for varargs parameter of type {0}
duke@1 1556
jjg@842 1557 # 0: type
mcimadamore@795 1558 compiler.warn.unchecked.varargs.non.reifiable.type=\
jjg@612 1559 Possible heap pollution from parameterized vararg type {0}
mcimadamore@580 1560
jjg@842 1561 # 0: symbol
mcimadamore@795 1562 compiler.warn.varargs.unsafe.use.varargs.param=\
mcimadamore@795 1563 Varargs method could cause heap pollution from non-reifiable varargs parameter {0}
mcimadamore@795 1564
duke@1 1565 compiler.warn.missing.deprecated.annotation=\
jjg@612 1566 deprecated item is not annotated with @Deprecated
duke@1 1567
duke@1 1568 compiler.warn.invalid.archive.file=\
jjg@612 1569 Unexpected file on path: {0}
duke@1 1570
duke@1 1571 compiler.warn.unexpected.archive.file=\
jjg@612 1572 Unexpected extension for archive file: {0}
duke@1 1573
duke@1 1574 compiler.warn.div.zero=\
jjg@612 1575 division by zero
duke@1 1576
duke@1 1577 compiler.warn.empty.if=\
jjg@612 1578 empty statement after if
duke@1 1579
duke@1 1580 compiler.warn.annotation.method.not.found=\
duke@1 1581 Cannot find annotation method ''{1}()'' in type ''{0}''
duke@1 1582
duke@1 1583 compiler.warn.annotation.method.not.found.reason=\
duke@1 1584 Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
duke@1 1585
mcimadamore@992 1586 # 0: symbol, 1: name
mcimadamore@992 1587 compiler.warn.unknown.enum.constant=\
mcimadamore@992 1588 unknown enum constant {1}.{2}
mcimadamore@992 1589
mcimadamore@992 1590 # 0: symbol, 1: name, 2: message segment
mcimadamore@992 1591 compiler.warn.unknown.enum.constant.reason=\
mcimadamore@992 1592 unknown enum constant {1}.{2}\n\
mcimadamore@992 1593 reason: {3}
mcimadamore@992 1594
jjg@842 1595 # 0: type, 1: type
mcimadamore@122 1596 compiler.warn.raw.class.use=\
jjg@612 1597 found raw type: {0}\n\
mcimadamore@829 1598 missing type arguments for generic class {1}
mcimadamore@122 1599
jjg@842 1600 # 0: unused, 1: unused
mcimadamore@731 1601 compiler.warn.diamond.redundant.args=\
mcimadamore@731 1602 redundant type arguments in new expression (use diamond operator instead).
jjg@842 1603
jjg@842 1604 # 0: type, 1: type
mcimadamore@731 1605 compiler.warn.diamond.redundant.args.1=\
mcimadamore@731 1606 redundant type arguments in new expression (use diamond operator instead).\n\
mcimadamore@731 1607 explicit: {0}\n\
mcimadamore@731 1608 inferred: {1}
mcimadamore@731 1609
jjg@842 1610 # 0: symbol, 1: message segment
mcimadamore@795 1611 compiler.warn.varargs.redundant.trustme.anno=\
mcimadamore@795 1612 Redundant {0} annotation. {1}
mcimadamore@795 1613
duke@1 1614 #####
duke@1 1615
duke@1 1616 ## The following are tokens which are non-terminals in the language. They should
duke@1 1617 ## be named as JLS3 calls them when translated to the appropriate language.
duke@1 1618 compiler.misc.token.identifier=\
duke@1 1619 <identifier>
jjg@842 1620
duke@1 1621 compiler.misc.token.character=\
duke@1 1622 <character>
jjg@842 1623
duke@1 1624 compiler.misc.token.string=\
duke@1 1625 <string>
jjg@842 1626
duke@1 1627 compiler.misc.token.integer=\
duke@1 1628 <integer>
jjg@842 1629
duke@1 1630 compiler.misc.token.long-integer=\
duke@1 1631 <long integer>
jjg@842 1632
duke@1 1633 compiler.misc.token.float=\
duke@1 1634 <float>
jjg@842 1635
duke@1 1636 compiler.misc.token.double=\
duke@1 1637 <double>
jjg@842 1638
duke@1 1639 compiler.misc.token.bad-symbol=\
duke@1 1640 <bad symbol>
jjg@842 1641
duke@1 1642 compiler.misc.token.end-of-input=\
duke@1 1643 <end of input>
duke@1 1644
duke@1 1645 ## The argument to the following string will always be one of the following:
duke@1 1646 ## 1. one of the above non-terminals
duke@1 1647 ## 2. a keyword (JLS1.8)
duke@1 1648 ## 3. a boolean literal (JLS3.10.3)
duke@1 1649 ## 4. the null literal (JLS3.10.7)
duke@1 1650 ## 5. a Java separator (JLS3.11)
duke@1 1651 ## 6. an operator (JLS3.12)
duke@1 1652 ##
duke@1 1653 ## This is the only place these tokens will be used.
jjg@842 1654 # 0: token
duke@1 1655 compiler.err.expected=\
duke@1 1656 {0} expected
jjg@842 1657
jjg@842 1658 # 0: token, 1: token
duke@1 1659 compiler.err.expected2=\
duke@1 1660 {0} or {1} expected
jjg@842 1661
jjg@842 1662 # 0: token, 1: token, 2: token
duke@1 1663 compiler.err.expected3=\
duke@1 1664 {0}, {1}, or {2} expected
duke@1 1665
duke@1 1666 compiler.err.premature.eof=\
duke@1 1667 reached end of file while parsing
duke@1 1668
duke@1 1669 ## The following are related in form, but do not easily fit the above paradigm.
duke@1 1670 compiler.err.dot.class.expected=\
duke@1 1671 ''.class'' expected
duke@1 1672
duke@1 1673 ## The argument to this string will always be either 'case' or 'default'.
jjg@842 1674 # 0: token
duke@1 1675 compiler.err.orphaned=\
duke@1 1676 orphaned {0}
duke@1 1677
jjg@842 1678 # 0: name
duke@1 1679 compiler.misc.anonymous.class=\
duke@1 1680 <anonymous {0}>
duke@1 1681
jjg@842 1682 # 0: name, 1: type
mcimadamore@121 1683 compiler.misc.type.captureof=\
mcimadamore@121 1684 capture#{0} of {1}
mcimadamore@121 1685
mcimadamore@238 1686 compiler.misc.type.captureof.1=\
mcimadamore@238 1687 capture#{0}
mcimadamore@238 1688
mcimadamore@121 1689 compiler.misc.type.none=\
mcimadamore@121 1690 <none>
mcimadamore@121 1691
duke@1 1692 compiler.misc.unnamed.package=\
duke@1 1693 unnamed package
duke@1 1694
duke@1 1695 #####
duke@1 1696
jjg@842 1697 # 0: symbol, 1: message segment
duke@1 1698 compiler.err.cant.access=\
jjg@842 1699 cannot access {0}\n\
jjg@842 1700 {1}
duke@1 1701
jlahoda@2099 1702 # 0: file name, 1: message segment
duke@1 1703 compiler.misc.bad.class.file.header=\
jjg@842 1704 bad class file: {0}\n\
jjg@842 1705 {1}\n\
jjg@842 1706 Please remove or make sure it appears in the correct subdirectory of the classpath.
jjg@842 1707
jjg@842 1708 # 0: file name, 1: message segment
jjg@12 1709 compiler.misc.bad.source.file.header=\
jjg@842 1710 bad source file: {0}\n\
jjg@842 1711 {1}\n\
jjg@842 1712 Please remove or make sure it appears in the correct subdirectory of the sourcepath.
duke@1 1713
duke@1 1714 ## The following are all possible strings for the second argument ({1}) of the
duke@1 1715 ## above strings.
duke@1 1716 compiler.misc.bad.class.signature=\
duke@1 1717 bad class signature: {0}
jjg@842 1718
jjg@952 1719 #0: symbol, 1: symbol
jjg@952 1720 compiler.misc.bad.enclosing.class=\
jjg@952 1721 bad enclosing class for {0}: {1}
jjg@952 1722
jjg@952 1723 # 0: symbol
duke@1 1724 compiler.misc.bad.enclosing.method=\
jjg@952 1725 bad enclosing method attribute for class {0}
jjg@842 1726
duke@1 1727 compiler.misc.bad.runtime.invisible.param.annotations=\
duke@1 1728 bad RuntimeInvisibleParameterAnnotations attribute: {0}
jjg@842 1729
duke@1 1730 compiler.misc.bad.const.pool.tag=\
duke@1 1731 bad constant pool tag: {0}
jjg@842 1732
duke@1 1733 compiler.misc.bad.const.pool.tag.at=\
duke@1 1734 bad constant pool tag: {0} at {1}
jjg@842 1735
duke@1 1736 compiler.misc.bad.signature=\
duke@1 1737 bad signature: {0}
jjg@842 1738
jjg@1521 1739 compiler.misc.bad.type.annotation.value=\
jjg@1521 1740 bad type annotation target type value: {0}
jjg@1521 1741
duke@1 1742 compiler.misc.class.file.wrong.class=\
duke@1 1743 class file contains wrong class: {0}
jjg@842 1744
duke@1 1745 compiler.misc.class.file.not.found=\
duke@1 1746 class file for {0} not found
jjg@842 1747
jlahoda@2099 1748 # 0: classfile major version, 1: classfile minor version
jlahoda@2099 1749 compiler.misc.invalid.default.interface=\
jlahoda@2099 1750 default method found in version {0}.{1} classfile
jlahoda@2099 1751
jlahoda@2099 1752 # 0: classfile major version, 1: classfile minor version
jlahoda@2099 1753 compiler.misc.invalid.static.interface=\
jlahoda@2099 1754 static method found in version {0}.{1} classfile
jlahoda@2099 1755
jjg@842 1756 # 0: name
duke@1 1757 compiler.misc.file.doesnt.contain.class=\
duke@1 1758 file does not contain class {0}
jjg@842 1759
duke@1 1760 compiler.misc.file.does.not.contain.package=\
duke@1 1761 file does not contain package {0}
jjg@842 1762
duke@1 1763 compiler.misc.illegal.start.of.class.file=\
duke@1 1764 illegal start of class file
jjg@842 1765
duke@1 1766 compiler.misc.unable.to.access.file=\
duke@1 1767 unable to access file: {0}
jjg@842 1768
duke@1 1769 compiler.misc.unicode.str.not.supported=\
duke@1 1770 unicode string in class file not supported
jjg@842 1771
duke@1 1772 compiler.misc.undecl.type.var=\
duke@1 1773 undeclared type variable: {0}
jjg@842 1774
duke@1 1775 compiler.misc.wrong.version=\
duke@1 1776 class file has wrong version {0}.{1}, should be {2}.{3}
duke@1 1777
duke@1 1778 #####
duke@1 1779
jjg@842 1780 # 0: type, 1: type or symbol
duke@1 1781 compiler.err.not.within.bounds=\
mcimadamore@829 1782 type argument {0} is not within bounds of type-variable {1}
duke@1 1783
duke@1 1784 ## The following are all possible strings for the second argument ({1}) of the
duke@1 1785 ## above string.
duke@1 1786
duke@1 1787 ## none yet...
duke@1 1788
duke@1 1789 #####
duke@1 1790
mcimadamore@1296 1791 # 0: message segment
duke@1 1792 compiler.err.prob.found.req=\
mcimadamore@1238 1793 incompatible types: {0}
jjg@842 1794
mcimadamore@1759 1795 # 0: message segment
mcimadamore@1759 1796 compiler.misc.prob.found.req=\
mcimadamore@1759 1797 incompatible types: {0}
mcimadamore@1759 1798
jjg@842 1799 # 0: message segment, 1: type, 2: type
duke@1 1800 compiler.warn.prob.found.req=\
jjg@842 1801 {0}\n\
jjg@842 1802 required: {2}\n\
jjg@842 1803 found: {1}
jjg@842 1804
mcimadamore@1238 1805 # 0: type, 1: type
duke@1 1806 compiler.misc.inconvertible.types=\
mcimadamore@1238 1807 {0} cannot be converted to {1}
jjg@842 1808
mcimadamore@1296 1809 # 0: type, 1: type
duke@1 1810 compiler.misc.possible.loss.of.precision=\
mcimadamore@1296 1811 possible lossy conversion from {0} to {1}
duke@1 1812
duke@1 1813 compiler.misc.unchecked.assign=\
jjg@612 1814 unchecked conversion
jjg@842 1815
duke@1 1816 # compiler.misc.storecheck=\
jjg@612 1817 # assignment might cause later store checks to fail
duke@1 1818 # compiler.misc.unchecked=\
jjg@612 1819 # assigned array cannot dynamically check its stores
duke@1 1820 compiler.misc.unchecked.cast.to.type=\
jjg@612 1821 unchecked cast
duke@1 1822
duke@1 1823 # compiler.err.star.expected=\
duke@1 1824 # ''*'' expected
duke@1 1825 # compiler.err.no.elem.type=\
duke@1 1826 # \[\*\] cannot have a type
duke@1 1827
mcimadamore@1238 1828 # 0: type
mcimadamore@743 1829 compiler.misc.try.not.applicable.to.type=\
mcimadamore@1296 1830 try-with-resources not applicable to variable type\n\
mcimadamore@1296 1831 ({0})
mcimadamore@743 1832
duke@1 1833 #####
duke@1 1834
jjg@842 1835 # 0: message segment or type, 1: message segment
duke@1 1836 compiler.err.type.found.req=\
jjg@842 1837 unexpected type\n\
jjg@842 1838 required: {1}\n\
jjg@842 1839 found: {0}
duke@1 1840
duke@1 1841 ## The following are all possible strings for the first argument ({0}) of the
duke@1 1842 ## above string.
duke@1 1843 compiler.misc.type.req.class=\
duke@1 1844 class
jjg@842 1845
duke@1 1846 compiler.misc.type.req.class.array=\
duke@1 1847 class or array
jjg@842 1848
mcimadamore@829 1849 compiler.misc.type.req.array.or.iterable=\
mcimadamore@829 1850 array or java.lang.Iterable
jjg@842 1851
duke@1 1852 compiler.misc.type.req.ref=\
duke@1 1853 reference
jjg@842 1854
duke@1 1855 compiler.misc.type.req.exact=\
duke@1 1856 class or interface without bounds
jjg@842 1857
jjg@842 1858 # 0: type
duke@1 1859 compiler.misc.type.parameter=\
mcimadamore@80 1860 type parameter {0}
duke@1 1861
duke@1 1862 #####
duke@1 1863
duke@1 1864 ## The following are all possible strings for the last argument of all those
duke@1 1865 ## diagnostics whose key ends in ".1"
mcimadamore@1238 1866
jjg@842 1867 # 0: type, 1: list of type
duke@1 1868 compiler.misc.no.unique.maximal.instance.exists=\
duke@1 1869 no unique maximal instance exists for type variable {0} with upper bounds {1}
jjg@842 1870
duke@1 1871 compiler.misc.no.unique.minimal.instance.exists=\
duke@1 1872 no unique minimal instance exists for type variable {0} with lower bounds {1}
jjg@842 1873
mcimadamore@1087 1874 # 0: type, 1: list of type
mcimadamore@1087 1875 compiler.misc.incompatible.upper.bounds=\
mcimadamore@1087 1876 inference variable {0} has incompatible upper bounds {1}
mcimadamore@1087 1877
mcimadamore@1338 1878 # 0: type, 1: list of type, 2: list of type
mcimadamore@1338 1879 compiler.misc.incompatible.eq.upper.bounds=\
mcimadamore@1338 1880 inference variable {0} has incompatible bounds\n\
mcimadamore@1338 1881 equality constraints: {1}\n\
mcimadamore@1338 1882 upper bounds: {2}
mcimadamore@1338 1883
mcimadamore@1338 1884 # 0: type, 1: list of type, 2: list of type
mcimadamore@1338 1885 compiler.misc.incompatible.eq.lower.bounds=\
mcimadamore@1338 1886 inference variable {0} has incompatible bounds\n\
mcimadamore@1338 1887 equality constraints: {1}\n\
mcimadamore@1338 1888 lower bounds: {2}
mcimadamore@1338 1889
jjg@842 1890 # 0: list of type, 1: type, 2: type
mcimadamore@689 1891 compiler.misc.infer.no.conforming.instance.exists=\
duke@1 1892 no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
jjg@842 1893
mcimadamore@1296 1894 # 0: list of type, 1: message segment
mcimadamore@689 1895 compiler.misc.infer.no.conforming.assignment.exists=\
mcimadamore@1296 1896 cannot infer type-variable(s) {0}\n\
mcimadamore@1296 1897 (argument mismatch; {1})
mcimadamore@1296 1898
mcimadamore@1296 1899 # 0: list of type
mcimadamore@689 1900 compiler.misc.infer.arg.length.mismatch=\
mcimadamore@1296 1901 cannot infer type-variable(s) {0}\n\
mcimadamore@1296 1902 (actual and formal argument lists differ in length)
mcimadamore@1296 1903
mcimadamore@1296 1904 # 0: list of type, 1: message segment
mcimadamore@1186 1905 compiler.misc.infer.varargs.argument.mismatch=\
mcimadamore@1296 1906 cannot infer type-variable(s) {0}\n\
mcimadamore@1296 1907 (varargs mismatch; {1})
mcimadamore@1186 1908
jjg@842 1909 # 0: type, 1: list of type
mcimadamore@1251 1910 compiler.misc.inferred.do.not.conform.to.upper.bounds=\
mcimadamore@1251 1911 inferred type does not conform to upper bound(s)\n\
mcimadamore@299 1912 inferred: {0}\n\
mcimadamore@1251 1913 upper bound(s): {1}
mcimadamore@1251 1914
mcimadamore@1251 1915 # 0: type, 1: list of type
mcimadamore@1251 1916 compiler.misc.inferred.do.not.conform.to.lower.bounds=\
mcimadamore@1251 1917 inferred type does not conform to lower bound(s)\n\
mcimadamore@1251 1918 inferred: {0}\n\
mcimadamore@1251 1919 lower bound(s): {1}
mcimadamore@1251 1920
mcimadamore@1251 1921 # 0: type, 1: list of type
mcimadamore@1251 1922 compiler.misc.inferred.do.not.conform.to.eq.bounds=\
mcimadamore@1251 1923 inferred type does not conform to equality constraint(s)\n\
mcimadamore@1251 1924 inferred: {0}\n\
mcimadamore@1251 1925 equality constraints(s): {1}
jjg@842 1926
jjg@842 1927 # 0: symbol
mcimadamore@537 1928 compiler.misc.diamond=\
mcimadamore@537 1929 {0}<>
jjg@842 1930
mcimadamore@881 1931 # 0: type
mcimadamore@881 1932 compiler.misc.diamond.non.generic=\
mcimadamore@881 1933 cannot use ''<>'' with non-generic class {0}
mcimadamore@881 1934
jjg@1136 1935 # 0: unused
mcimadamore@993 1936 compiler.misc.diamond.and.explicit.params=\
mcimadamore@993 1937 cannot use ''<>'' with explicit type parameters for constructor
mcimadamore@993 1938
vromero@2004 1939 # 0: unused
vromero@2004 1940 compiler.misc.mref.infer.and.explicit.params=\
vromero@2004 1941 cannot use raw constructor reference with explicit type parameters for constructor
vromero@2004 1942
jjg@842 1943 # 0: type, 1: list of type
mcimadamore@689 1944 compiler.misc.explicit.param.do.not.conform.to.bounds=\
mcimadamore@689 1945 explicit type argument {0} does not conform to declared bound(s) {1}
mcimadamore@689 1946
mcimadamore@689 1947 compiler.misc.arg.length.mismatch=\
mcimadamore@689 1948 actual and formal argument lists differ in length
jjg@842 1949
mcimadamore@1296 1950 # 0: message segment
mcimadamore@689 1951 compiler.misc.no.conforming.assignment.exists=\
mcimadamore@1296 1952 argument mismatch; {0}
mcimadamore@1296 1953
mcimadamore@1296 1954 # 0: message segment
mcimadamore@689 1955 compiler.misc.varargs.argument.mismatch=\
mcimadamore@1296 1956 varargs mismatch; {0}
jjg@842 1957
duke@1 1958 #####
duke@1 1959
jjg@1755 1960 # 0: symbol or type, 1: file name
ohrstrom@1384 1961 compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\
ohrstrom@1384 1962 auxiliary class {0} in {1} should not be accessed from outside its own source file
ohrstrom@1384 1963
duke@1 1964 ## The first argument ({0}) is a "kindname".
jjg@842 1965 # 0: symbol kind, 1: symbol, 2: symbol
duke@1 1966 compiler.err.abstract.cant.be.accessed.directly=\
duke@1 1967 abstract {0} {1} in {2} cannot be accessed directly
duke@1 1968
duke@1 1969 ## The first argument ({0}) is a "kindname".
jjg@842 1970 # 0: symbol kind, 1: symbol
duke@1 1971 compiler.err.non-static.cant.be.ref=\
duke@1 1972 non-static {0} {1} cannot be referenced from a static context
duke@1 1973
mcimadamore@1352 1974 # 0: symbol kind, 1: symbol
mcimadamore@1352 1975 compiler.misc.non-static.cant.be.ref=\
mcimadamore@1352 1976 non-static {0} {1} cannot be referenced from a static context
mcimadamore@1352 1977
mcimadamore@1610 1978 # 0: symbol kind, 1: symbol
mcimadamore@1610 1979 compiler.misc.static.method.in.unbound.lookup=\
mcimadamore@1610 1980 static {0} {1} found in unbound lookup
mcimadamore@1610 1981
duke@1 1982 ## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list
duke@1 1983 ## of kindnames (the list should be identical to that provided in source.
duke@1 1984 compiler.err.unexpected.type=\
jjg@842 1985 unexpected type\n\
jjg@842 1986 required: {0}\n\
jjg@842 1987 found: {1}
duke@1 1988
mcimadamore@1348 1989 compiler.err.unexpected.lambda=\
mcimadamore@1348 1990 lambda expression not expected here
mcimadamore@1348 1991
mcimadamore@1352 1992 compiler.err.unexpected.mref=\
mcimadamore@1352 1993 method reference not expected here
mcimadamore@1352 1994
mcimadamore@80 1995 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.)
mcimadamore@80 1996 ## The second argument {1} is the non-resolved symbol
mcimadamore@80 1997 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method)
mcimadamore@80 1998 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method)
jjg@842 1999 # 0: symbol kind, 1: name, 2: unused, 3: unused
duke@1 2000 compiler.err.cant.resolve=\
mcimadamore@80 2001 cannot find symbol\n\
mcimadamore@80 2002 symbol: {0} {1}
duke@1 2003
jjg@842 2004 # 0: symbol kind, 1: name, 2: unused, 3: list of type
mcimadamore@80 2005 compiler.err.cant.resolve.args=\
mcimadamore@80 2006 cannot find symbol\n\
mcimadamore@80 2007 symbol: {0} {1}({3})
mcimadamore@80 2008
jjg@842 2009 # 0: symbol kind, 1: name, 2: list of type, 3: list of type
mcimadamore@80 2010 compiler.err.cant.resolve.args.params=\
mcimadamore@80 2011 cannot find symbol\n\
mcimadamore@80 2012 symbol: {0} <{2}>{1}({3})
mcimadamore@80 2013
mcimadamore@80 2014 ## arguments from {0} to {3} have the same meaning as above
mcimadamore@829 2015 ## The fifth argument {4} is a location subdiagnostic (see below)
jjg@842 2016 # 0: symbol kind, 1: name, 2: unused, 3: unused, 4: message segment
duke@1 2017 compiler.err.cant.resolve.location=\
mcimadamore@80 2018 cannot find symbol\n\
mcimadamore@221 2019 symbol: {0} {1}\n\
mcimadamore@829 2020 location: {4}
mcimadamore@80 2021
jjg@842 2022 # 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
mcimadamore@80 2023 compiler.err.cant.resolve.location.args=\
mcimadamore@80 2024 cannot find symbol\n\
mcimadamore@221 2025 symbol: {0} {1}({3})\n\
mcimadamore@829 2026 location: {4}
mcimadamore@80 2027
jjg@842 2028 # 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
mcimadamore@80 2029 compiler.err.cant.resolve.location.args.params=\
mcimadamore@80 2030 cannot find symbol\n\
mcimadamore@221 2031 symbol: {0} <{2}>{1}({3})\n\
mcimadamore@829 2032 location: {4}
mcimadamore@829 2033
mcimadamore@1352 2034 ### Following are replicated/used for method reference diagnostics
mcimadamore@1352 2035
mcimadamore@1352 2036 # 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
mcimadamore@1352 2037 compiler.misc.cant.resolve.location.args=\
mcimadamore@1352 2038 cannot find symbol\n\
mcimadamore@1352 2039 symbol: {0} {1}({3})\n\
mcimadamore@1352 2040 location: {4}
mcimadamore@1352 2041
mcimadamore@1352 2042 # 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
mcimadamore@1352 2043 compiler.misc.cant.resolve.location.args.params=\
mcimadamore@1352 2044 cannot find symbol\n\
mcimadamore@1352 2045 symbol: {0} <{2}>{1}({3})\n\
mcimadamore@1352 2046 location: {4}
mcimadamore@1352 2047
mcimadamore@829 2048 ##a location subdiagnostic is composed as follows:
mcimadamore@829 2049 ## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.)
mcimadamore@829 2050 ## The second argument {1} is the location name
mcimadamore@829 2051 ## The third argument {2} is the location type (only when {1} is a variable name)
mcimadamore@829 2052
jjg@1136 2053 # 0: symbol kind, 1: type or symbol, 2: unused
mcimadamore@829 2054 compiler.misc.location=\
mcimadamore@829 2055 {0} {1}
jjg@842 2056
jjg@842 2057 # 0: symbol kind, 1: symbol, 2: type
mcimadamore@829 2058 compiler.misc.location.1=\
mcimadamore@829 2059 {0} {1} of type {2}
duke@1 2060
duke@1 2061 ## The following are all possible string for "kindname".
duke@1 2062 ## They should be called whatever the JLS calls them after it been translated
duke@1 2063 ## to the appropriate language.
duke@1 2064 # compiler.misc.kindname.constructor=\
duke@1 2065 # static member
duke@1 2066 compiler.misc.kindname.annotation=\
duke@1 2067 @interface
jjg@842 2068
duke@1 2069 compiler.misc.kindname.constructor=\
duke@1 2070 constructor
jjg@842 2071
jjg@597 2072 compiler.misc.kindname.enum=\
jjg@597 2073 enum
jjg@842 2074
duke@1 2075 compiler.misc.kindname.interface=\
duke@1 2076 interface
jjg@842 2077
duke@1 2078 compiler.misc.kindname.static=\
duke@1 2079 static
jjg@842 2080
duke@1 2081 compiler.misc.kindname.type.variable=\
duke@1 2082 type variable
jjg@842 2083
duke@1 2084 compiler.misc.kindname.type.variable.bound=\
duke@1 2085 bound of type variable
jjg@842 2086
duke@1 2087 compiler.misc.kindname.variable=\
duke@1 2088 variable
jjg@842 2089
duke@1 2090 compiler.misc.kindname.value=\
duke@1 2091 value
jjg@842 2092
duke@1 2093 compiler.misc.kindname.method=\
duke@1 2094 method
jjg@842 2095
duke@1 2096 compiler.misc.kindname.class=\
duke@1 2097 class
jjg@842 2098
duke@1 2099 compiler.misc.kindname.package=\
duke@1 2100 package
jjg@842 2101
mcimadamore@1085 2102 compiler.misc.kindname.static.init=\
mcimadamore@1085 2103 static initializer
mcimadamore@1085 2104
mcimadamore@1085 2105 compiler.misc.kindname.instance.init=\
mcimadamore@1085 2106 instance initializer
mcimadamore@1085 2107
duke@1 2108 #####
duke@1 2109
mcimadamore@161 2110 compiler.misc.no.args=\
mcimadamore@161 2111 no arguments
mcimadamore@161 2112
jjg@842 2113 # 0: message segment
duke@1 2114 compiler.err.override.static=\
mcimadamore@362 2115 {0}\n\
mcimadamore@362 2116 overriding method is static
jjg@842 2117
jjg@842 2118 # 0: message segment, 1: set of modifier
duke@1 2119 compiler.err.override.meth=\
mcimadamore@362 2120 {0}\n\
mcimadamore@362 2121 overridden method is {1}
duke@1 2122
jjg@842 2123 # 0: message segment, 1: type
duke@1 2124 compiler.err.override.meth.doesnt.throw=\
mcimadamore@362 2125 {0}\n\
mcimadamore@362 2126 overridden method does not throw {1}
duke@1 2127
duke@1 2128 # In the following string {1} is a space separated list of Java Keywords, as
duke@1 2129 # they would have been declared in the source code
jjg@842 2130 # 0: message segment, 1: set of modifier
duke@1 2131 compiler.err.override.weaker.access=\
mcimadamore@362 2132 {0}\n\
mcimadamore@362 2133 attempting to assign weaker access privileges; was {1}
duke@1 2134
jjg@842 2135 # 0: message segment, 1: type, 2: type
mcimadamore@362 2136 compiler.err.override.incompatible.ret=\
mcimadamore@362 2137 {0}\n\
mcimadamore@362 2138 return type {1} is not compatible with {2}
duke@1 2139
jjg@842 2140 # 0: message segment, 1: type, 2: type
mcimadamore@362 2141 compiler.warn.override.unchecked.ret=\
jjg@612 2142 {0}\n\
mcimadamore@362 2143 return type requires unchecked conversion from {1} to {2}
mcimadamore@362 2144
jjg@842 2145 # 0: message segment, 1: type
mcimadamore@362 2146 compiler.warn.override.unchecked.thrown=\
jjg@612 2147 {0}\n\
mcimadamore@362 2148 overridden method does not throw {1}
duke@1 2149
vromero@1620 2150 # 0: symbol
vromero@1588 2151 compiler.warn.override.equals.but.not.hashcode=\
vromero@1607 2152 Class {0} overrides equals, but neither it nor any superclass overrides hashCode method
vromero@1588 2153
duke@1 2154 ## The following are all possible strings for the first argument ({0}) of the
duke@1 2155 ## above strings.
jjg@842 2156 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2157 compiler.misc.cant.override=\
duke@1 2158 {0} in {1} cannot override {2} in {3}
jjg@842 2159
jjg@842 2160 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2161 compiler.misc.cant.implement=\
duke@1 2162 {0} in {1} cannot implement {2} in {3}
jjg@842 2163
jjg@842 2164 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2165 compiler.misc.clashes.with=\
duke@1 2166 {0} in {1} clashes with {2} in {3}
jjg@842 2167
jjg@842 2168 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2169 compiler.misc.unchecked.override=\
duke@1 2170 {0} in {1} overrides {2} in {3}
jjg@842 2171
jjg@842 2172 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2173 compiler.misc.unchecked.implement=\
duke@1 2174 {0} in {1} implements {2} in {3}
jjg@842 2175
jjg@842 2176 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2177 compiler.misc.unchecked.clash.with=\
duke@1 2178 {0} in {1} overrides {2} in {3}
jjg@842 2179
jjg@842 2180 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2181 compiler.misc.varargs.override=\
duke@1 2182 {0} in {1} overrides {2} in {3}
jjg@842 2183
jjg@842 2184 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2185 compiler.misc.varargs.implement=\
duke@1 2186 {0} in {1} implements {2} in {3}
jjg@842 2187
jjg@842 2188 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
duke@1 2189 compiler.misc.varargs.clash.with=\
duke@1 2190 {0} in {1} overrides {2} in {3}
jjg@842 2191
jjg@1136 2192 # 0: unused
mcimadamore@914 2193 compiler.misc.diamond.and.anon.class=\
mcimadamore@914 2194 cannot use ''<>'' with anonymous inner classes
duke@1 2195
jjg@842 2196 # 0: symbol kind, 1: symbol, 2: symbol, 3: message segment
mcimadamore@689 2197 compiler.misc.inapplicable.method=\
mcimadamore@689 2198 {0} {1}.{2} is not applicable\n\
mcimadamore@689 2199 ({3})
mcimadamore@689 2200
duke@1 2201 ########################################
duke@1 2202 # Diagnostics for language feature changes
duke@1 2203 ########################################
jjg@842 2204 # 0: string
duke@1 2205 compiler.err.unsupported.fp.lit=\
jjg@409 2206 hexadecimal floating point literals are not supported in -source {0}\n\
jjg@842 2207 (use -source 5 or higher to enable hexadecimal floating point literals)
jjg@409 2208
jjg@842 2209 # 0: string
jjg@409 2210 compiler.err.unsupported.binary.lit=\
jjg@409 2211 binary literals are not supported in -source {0}\n\
jjg@842 2212 (use -source 7 or higher to enable binary literals)
jjg@409 2213
jjg@842 2214 # 0: string
jjg@409 2215 compiler.err.unsupported.underscore.lit=\
jjg@409 2216 underscores in literals are not supported in -source {0}\n\
jjg@842 2217 (use -source 7 or higher to enable underscores in literals)
duke@1 2218
jjg@842 2219 # 0: string
mcimadamore@743 2220 compiler.err.try.with.resources.not.supported.in.source=\
mcimadamore@743 2221 try-with-resources is not supported in -source {0}\n\
jjg@842 2222 (use -source 7 or higher to enable try-with-resources)
darcy@609 2223
duke@1 2224 compiler.warn.enum.as.identifier=\
duke@1 2225 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
jjg@842 2226 (use -source 5 or higher to use ''enum'' as a keyword)
duke@1 2227
duke@1 2228 compiler.warn.assert.as.identifier=\
duke@1 2229 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
jjg@842 2230 (use -source 1.4 or higher to use ''assert'' as a keyword)
duke@1 2231
mcimadamore@1503 2232 compiler.warn.underscore.as.identifier=\
mcimadamore@1503 2233 ''_'' used as an identifier\n\
vromero@1818 2234 (use of ''_'' as an identifier might not be supported in releases after Java SE 8)
mcimadamore@1503 2235
vromero@2080 2236 compiler.err.underscore.as.identifier.in.lambda=\
vromero@2080 2237 ''_'' used as an identifier\n\
vromero@2080 2238 (use of ''_'' as an identifier is forbidden for lambda parameters)
vromero@2080 2239
duke@1 2240 compiler.err.enum.as.identifier=\
duke@1 2241 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
jjg@842 2242 (use -source 1.4 or lower to use ''enum'' as an identifier)
duke@1 2243
duke@1 2244 compiler.err.assert.as.identifier=\
duke@1 2245 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
jjg@842 2246 (use -source 1.3 or lower to use ''assert'' as an identifier)
duke@1 2247
jjg@1521 2248 # TODO 308: make a better error message
jjg@1521 2249 compiler.err.this.as.identifier=\
jjg@1521 2250 as of release 8, ''this'' is allowed as the parameter name for the receiver type only, which has to be the first parameter
jjg@1521 2251
jjg@1755 2252 # 0: symbol
jjg@1755 2253 compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\
jjg@1755 2254 receiver parameter not applicable for constructor of top-level class
jjg@1755 2255
jjg@1521 2256 # TODO 308: make a better error message
jjg@1521 2257 compiler.err.cant.annotate.static.class=\
jjg@1521 2258 enclosing static nested class cannot be annotated
jjg@1755 2259
jjg@1521 2260 # TODO 308: make a better error message
jjg@1755 2261 # 0: unused
jjg@1521 2262 compiler.err.cant.annotate.nested.type=\
jjg@1969 2263 scoping construct for static nested type cannot be annotated
jjg@1521 2264
jjg@1755 2265 # 0: type, 1: type
jjg@1755 2266 compiler.err.incorrect.receiver.name=\
jjg@1755 2267 the receiver name does not match the enclosing class type\n\
jjg@1755 2268 required: {0}\n\
jjg@1755 2269 found: {1}
jjg@1755 2270
jjg@1755 2271 # 0: type, 1: type
jjg@1521 2272 compiler.err.incorrect.receiver.type=\
jjg@1755 2273 the receiver type does not match the enclosing class type\n\
jjg@1755 2274 required: {0}\n\
jjg@1755 2275 found: {1}
jjg@1755 2276
jjg@1755 2277 # 0: type, 1: type
jjg@1755 2278 compiler.err.incorrect.constructor.receiver.type=\
jjg@1755 2279 the receiver type does not match the enclosing outer class type\n\
jjg@1755 2280 required: {0}\n\
jjg@1755 2281 found: {1}
jjg@1755 2282
jjg@1755 2283 # 0: type, 1: type
jjg@1755 2284 compiler.err.incorrect.constructor.receiver.name=\
jjg@1755 2285 the receiver name does not match the enclosing outer class type\n\
jjg@1755 2286 required: {0}\n\
jjg@1755 2287 found: {1}
jjg@1521 2288
jjg@1521 2289 compiler.err.no.annotations.on.dot.class=\
jjg@1521 2290 no annotations are allowed in the type of a class literal
jjg@1521 2291
jjg@842 2292 # 0: string
duke@1 2293 compiler.err.generics.not.supported.in.source=\
duke@1 2294 generics are not supported in -source {0}\n\
jjg@842 2295 (use -source 5 or higher to enable generics)
duke@1 2296
jjg@842 2297 # 0: string
duke@1 2298 compiler.err.varargs.not.supported.in.source=\
duke@1 2299 variable-arity methods are not supported in -source {0}\n\
jjg@842 2300 (use -source 5 or higher to enable variable-arity methods)
duke@1 2301
jjg@842 2302 # 0: string
duke@1 2303 compiler.err.annotations.not.supported.in.source=\
duke@1 2304 annotations are not supported in -source {0}\n\
jjg@842 2305 (use -source 5 or higher to enable annotations)
duke@1 2306
jjg@1521 2307 # 0: string
jjg@1521 2308 compiler.err.type.annotations.not.supported.in.source=\
jjg@1521 2309 type annotations are not supported in -source {0}\n\
jjg@1521 2310 (use -source 8 or higher to enable type annotations)
jjg@308 2311
jjg@842 2312 # 0: string
duke@1 2313 compiler.err.foreach.not.supported.in.source=\
duke@1 2314 for-each loops are not supported in -source {0}\n\
jjg@842 2315 (use -source 5 or higher to enable for-each loops)
duke@1 2316
jjg@842 2317 # 0: string
duke@1 2318 compiler.err.static.import.not.supported.in.source=\
duke@1 2319 static import declarations are not supported in -source {0}\n\
jjg@842 2320 (use -source 5 or higher to enable static import declarations)
duke@1 2321
jjg@842 2322 # 0: string
duke@1 2323 compiler.err.enums.not.supported.in.source=\
duke@1 2324 enums are not supported in -source {0}\n\
jjg@842 2325 (use -source 5 or higher to enable enums)
mcimadamore@288 2326
jjg@842 2327 # 0: string
jjg@597 2328 compiler.err.diamond.not.supported.in.source=\
jjg@597 2329 diamond operator is not supported in -source {0}\n\
jjg@842 2330 (use -source 7 or higher to enable diamond operator)
jjg@597 2331
jjg@842 2332 # 0: string
mcimadamore@550 2333 compiler.err.multicatch.not.supported.in.source=\
mcimadamore@550 2334 multi-catch statement is not supported in -source {0}\n\
jjg@842 2335 (use -source 7 or higher to enable multi-catch statement)
mcimadamore@550 2336
jjg@842 2337 # 0: string
darcy@430 2338 compiler.err.string.switch.not.supported.in.source=\
darcy@430 2339 strings in switch are not supported in -source {0}\n\
jjg@842 2340 (use -source 7 or higher to enable strings in switch)
darcy@430 2341
mcimadamore@1144 2342 # 0: string
mcimadamore@1144 2343 compiler.err.lambda.not.supported.in.source=\
mcimadamore@1144 2344 lambda expressions are not supported in -source {0}\n\
mcimadamore@1144 2345 (use -source 8 or higher to enable lambda expressions)
mcimadamore@1144 2346
mcimadamore@1145 2347 # 0: string
mcimadamore@1145 2348 compiler.err.method.references.not.supported.in.source=\
mcimadamore@1145 2349 method references are not supported in -source {0}\n\
mcimadamore@1145 2350 (use -source 8 or higher to enable method references)
mcimadamore@1145 2351
mcimadamore@1366 2352 # 0: string
mcimadamore@1366 2353 compiler.err.default.methods.not.supported.in.source=\
mcimadamore@1366 2354 default methods are not supported in -source {0}\n\
mcimadamore@1366 2355 (use -source 8 or higher to enable default methods)
mcimadamore@1366 2356
mcimadamore@1436 2357 # 0: string
mcimadamore@1436 2358 compiler.err.intersection.types.in.cast.not.supported.in.source=\
mcimadamore@1436 2359 intersection types in cast are not supported in -source {0}\n\
mcimadamore@1436 2360 (use -source 8 or higher to enable default methods)
mcimadamore@1436 2361
mcimadamore@1513 2362 # 0: string
mcimadamore@1513 2363 compiler.err.static.intf.methods.not.supported.in.source=\
mcimadamore@1513 2364 static interface methods are not supported in -source {0}\n\
mcimadamore@1513 2365 (use -source 8 or higher to enable static interface methods)
mcimadamore@1513 2366
mcimadamore@288 2367 ########################################
mcimadamore@1114 2368 # Diagnostics for verbose resolution
mcimadamore@1114 2369 # used by Resolve (debug only)
mcimadamore@1114 2370 ########################################
mcimadamore@1114 2371
mcimadamore@1114 2372 # 0: number, 1: symbol, 2: unused
mcimadamore@1114 2373 compiler.misc.applicable.method.found=\
mcimadamore@1114 2374 #{0} applicable method found: {1}
mcimadamore@1114 2375
mcimadamore@1114 2376 # 0: number, 1: symbol, 2: message segment
mcimadamore@1114 2377 compiler.misc.applicable.method.found.1=\
mcimadamore@1114 2378 #{0} applicable method found: {1}\n\
mcimadamore@1114 2379 ({2})
mcimadamore@1114 2380
mcimadamore@1114 2381 # 0: number, 1: symbol, 2: message segment
mcimadamore@1114 2382 compiler.misc.not.applicable.method.found=\
mcimadamore@1114 2383 #{0} not applicable method found: {1}\n\
mcimadamore@1114 2384 ({2})
mcimadamore@1114 2385
mcimadamore@1114 2386 # 0: type
mcimadamore@1114 2387 compiler.misc.partial.inst.sig=\
mcimadamore@1114 2388 partially instantiated to: {0}
mcimadamore@1114 2389
mcimadamore@1114 2390 # 0: name, 1: symbol, 2: number, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment
mcimadamore@1114 2391 compiler.note.verbose.resolve.multi=\
mcimadamore@1114 2392 resolving method {0} in type {1} to candidate {2}\n\
mcimadamore@1114 2393 phase: {3}\n\
mcimadamore@1114 2394 with actuals: {4}\n\
mcimadamore@1114 2395 with type-args: {5}\n\
mcimadamore@1114 2396 candidates:
mcimadamore@1114 2397
mcimadamore@1114 2398 # 0: name, 1: symbol, 2: unused, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment
mcimadamore@1114 2399 compiler.note.verbose.resolve.multi.1=\
mcimadamore@1114 2400 erroneous resolution for method {0} in type {1}\n\
mcimadamore@1114 2401 phase: {3}\n\
mcimadamore@1114 2402 with actuals: {4}\n\
mcimadamore@1114 2403 with type-args: {5}\n\
mcimadamore@1114 2404 candidates:
mcimadamore@1114 2405
mcimadamore@1114 2406 # 0: symbol, 1: type, 2: type
mcimadamore@1114 2407 compiler.note.deferred.method.inst=\
mcimadamore@1114 2408 Deferred instantiation of method {0}\n\
mcimadamore@1114 2409 instantiated signature: {1}\n\
mcimadamore@1114 2410 target-type: {2}
mcimadamore@1114 2411
mcimadamore@1114 2412 ########################################
mcimadamore@288 2413 # Diagnostics for where clause implementation
mcimadamore@288 2414 # used by the RichDiagnosticFormatter.
mcimadamore@288 2415 ########################################
mcimadamore@288 2416
mcimadamore@288 2417 compiler.misc.type.null=\
mcimadamore@288 2418 <null>
mcimadamore@288 2419
mcimadamore@288 2420 # X#n (where n is an int id) is disambiguated tvar name
jjg@842 2421 # 0: name, 1: number
mcimadamore@288 2422 compiler.misc.type.var=\
mcimadamore@288 2423 {0}#{1}
mcimadamore@288 2424
mcimadamore@288 2425 # CAP#n (where n is an int id) is an abbreviation for 'captured type'
jjg@842 2426 # 0: number
mcimadamore@288 2427 compiler.misc.captured.type=\
mcimadamore@288 2428 CAP#{0}
mcimadamore@288 2429
mcimadamore@288 2430 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
jjg@842 2431 # 0: number
mcimadamore@288 2432 compiler.misc.intersection.type=\
mcimadamore@288 2433 INT#{0}
mcimadamore@288 2434
mcimadamore@288 2435 # where clause for captured type: contains upper ('extends {1}') and lower
mcimadamore@288 2436 # ('super {2}') bound along with the wildcard that generated this captured type ({3})
jjg@842 2437 # 0: type, 1: type, 2: type, 3: type
mcimadamore@288 2438 compiler.misc.where.captured=\
mcimadamore@288 2439 {0} extends {1} super: {2} from capture of {3}
mcimadamore@288 2440
mcimadamore@288 2441 # compact where clause for captured type: contains upper ('extends {1}') along
mcimadamore@288 2442 # with the wildcard that generated this captured type ({3})
jjg@842 2443 # 0: type, 1: type, 2: unused, 3: type
mcimadamore@288 2444 compiler.misc.where.captured.1=\
mcimadamore@288 2445 {0} extends {1} from capture of {3}
mcimadamore@288 2446
mcimadamore@288 2447 # where clause for type variable: contains upper bound(s) ('extends {1}') along with
mcimadamore@288 2448 # the kindname ({2}) and location ({3}) in which the typevar has been declared
jjg@842 2449 # 0: type, 1: list of type, 2: symbol kind, 3: symbol
mcimadamore@288 2450 compiler.misc.where.typevar=\
mcimadamore@288 2451 {0} extends {1} declared in {2} {3}
mcimadamore@288 2452
mcimadamore@288 2453 # compact where clause for type variable: contains the kindname ({2}) and location ({3})
mcimadamore@288 2454 # in which the typevar has been declared
mcimadamore@1251 2455 # 0: type, 1: list of type, 2: symbol kind, 3: symbol
mcimadamore@288 2456 compiler.misc.where.typevar.1=\
mcimadamore@288 2457 {0} declared in {2} {3}
mcimadamore@288 2458
mcimadamore@1251 2459 # where clause for fresh type variable: contains upper bound(s) ('extends {1}').
mcimadamore@1251 2460 # Since a fresh type-variable is synthetic - there's no location/kindname here.
mcimadamore@1251 2461 # 0: type, 1: list of type
mcimadamore@1251 2462 compiler.misc.where.fresh.typevar=\
mcimadamore@1251 2463 {0} extends {1}
mcimadamore@1251 2464
mcimadamore@288 2465 # where clause for type variable: contains all the upper bound(s) ('extends {1}')
mcimadamore@288 2466 # of this intersection type
jjg@842 2467 # 0: type, 1: list of type
mcimadamore@288 2468 compiler.misc.where.intersection=\
mcimadamore@288 2469 {0} extends {1}
mcimadamore@288 2470
mcimadamore@288 2471 ### Where clause headers ###
mcimadamore@288 2472 compiler.misc.where.description.captured=\
mcimadamore@288 2473 where {0} is a fresh type-variable:
jjg@842 2474
jjg@842 2475 # 0: set of type
mcimadamore@288 2476 compiler.misc.where.description.typevar=\
mcimadamore@288 2477 where {0} is a type-variable:
jjg@842 2478
jjg@842 2479 # 0: set of type
mcimadamore@288 2480 compiler.misc.where.description.intersection=\
mcimadamore@288 2481 where {0} is an intersection type:
jjg@842 2482
jjg@842 2483 # 0: set of type
mcimadamore@288 2484 compiler.misc.where.description.captured.1=\
mcimadamore@288 2485 where {0} are fresh type-variables:
jjg@842 2486
jjg@842 2487 # 0: set of type
mcimadamore@288 2488 compiler.misc.where.description.typevar.1=\
mcimadamore@288 2489 where {0} are type-variables:
jjg@842 2490
mcimadamore@288 2491 compiler.misc.where.description.intersection.1=\
mcimadamore@288 2492 where {0} are intersection types:
mcimadamore@288 2493
jjg@1409 2494 ###
jjg@1409 2495 # errors related to doc comments
jjg@1409 2496
jjg@1409 2497 compiler.err.dc.bad.entity=\
jjg@1409 2498 bad HTML entity
jjg@1409 2499
jjg@1409 2500 compiler.err.dc.bad.gt=\
jjg@1409 2501 bad use of ''>''
jjg@1409 2502
jjg@1409 2503 compiler.err.dc.bad.inline.tag=\
jjg@1409 2504 incorrect use of inline tag
jjg@1409 2505
jjg@1409 2506 compiler.err.dc.identifier.expected=\
jjg@1409 2507 identifier expected
jjg@1409 2508
jjg@1409 2509 compiler.err.dc.malformed.html=\
jjg@1409 2510 malformed HTML
jjg@1409 2511
jjg@1409 2512 compiler.err.dc.missing.semicolon=\
jjg@1409 2513 semicolon missing
jjg@1409 2514
jjg@1455 2515 compiler.err.dc.no.content=\
jjg@1455 2516 no content
jjg@1455 2517
jjg@1409 2518 compiler.err.dc.no.tag.name=\
jjg@1409 2519 no tag name after '@'
jjg@1409 2520
jjg@1409 2521 compiler.err.dc.gt.expected=\
jjg@1409 2522 ''>'' expected
jjg@1409 2523
jjg@1409 2524 compiler.err.dc.ref.bad.parens=\
jjg@1409 2525 '')'' missing in reference
jjg@1409 2526
jjg@1409 2527 compiler.err.dc.ref.syntax.error=\
jjg@1409 2528 syntax error in reference
jjg@1409 2529
jjg@1409 2530 compiler.err.dc.ref.unexpected.input=\
jjg@1409 2531 unexpected text
jjg@1409 2532
jjg@1409 2533 compiler.err.dc.unexpected.content=\
jjg@1409 2534 unexpected content
jjg@1409 2535
jjg@1409 2536 compiler.err.dc.unterminated.inline.tag=\
jjg@1409 2537 unterminated inline tag
jjg@1409 2538
jjg@1409 2539 compiler.err.dc.unterminated.signature=\
jjg@1409 2540 unterminated signature
jjg@1409 2541
jjg@1409 2542 compiler.err.dc.unterminated.string=\
jjg@1409 2543 unterminated string
jjg@1409 2544
jjg@1409 2545

mercurial