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

Thu, 21 Feb 2013 17:49:56 -0800

author
lana
date
Thu, 21 Feb 2013 17:49:56 -0800
changeset 1603
6118072811e5
parent 1588
2620c953e9fe
parent 1570
f91144b7da75
child 1607
bd49e0304281
permissions
-rw-r--r--

Merge

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

mercurial