compiler.properties revision 3741:1fc501869aa8
1139749Simp# 253855Simp# Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. 353855Simp# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 453855Simp# 553855Simp# This code is free software; you can redistribute it and/or modify it 653855Simp# under the terms of the GNU General Public License version 2 only, as 753855Simp# published by the Free Software Foundation. Oracle designates this 853855Simp# particular file as subject to the "Classpath" exception as provided 953855Simp# by Oracle in the LICENSE file that accompanied this code. 1053855Simp# 1153855Simp# This code is distributed in the hope that it will be useful, but WITHOUT 1253855Simp# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1353855Simp# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1453855Simp# version 2 for more details (a copy is included in the LICENSE file that 1553855Simp# accompanied this code). 1653855Simp# 1753855Simp# You should have received a copy of the GNU General Public License version 1853855Simp# 2 along with this work; if not, write to the Free Software Foundation, 1953855Simp# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2053855Simp# 2153855Simp# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2253855Simp# or visit www.oracle.com if you need additional information or have any 2353855Simp# questions. 2453855Simp# 2553855Simp 2653855Simp# Messages in this file which use "placeholders" for values (e.g. {0}, {1}) 2753855Simp# are preceded by a stylized comment describing the type of the corresponding 2853855Simp# values. 2959272Simp# The simple types currently in use are: 30129798Simp# 3197613Stakawata# boolean true or false 3259272Simp# diagnostic a sub-message; see compiler.misc.* 3353855Simp# fragment similar to 'message segment', but with more specific type 3453855Simp# modifier a Java modifier; e.g. public, private, protected 3553855Simp# file a file URL 3653855Simp# file object a file URL - similar to 'file' but typically used for source/class files, hence more specific 3753855Simp# name a name, typically a Java identifier 38201453Simp# number an integer 3953855Simp# option name the name of a command line option 4053855Simp# source version a source version number, such as 1.5, 1.6, 1.7 4153855Simp# string a general string 4253855Simp# symbol the name of a declared type 4353855Simp# symbol kind the kind of a symbol (i.e. method, variable) 4459193Simp# kind name an informative description of the kind of a declaration; see compiler.misc.kindname.* 4553855Simp# token the name of a non-terminal in source code; see compiler.misc.token.* 4653855Simp# type a Java type; e.g. int, X, X<T> 4759193Simp# object a Java object (unspecified) 4858581Simp# unused the value is not used in this message 4959193Simp# 5053855Simp# The following compound types are also used: 5153855Simp# 5259193Simp# list of X a comma-separated list of items; e.g. list of type 5353855Simp# set of X a comma-separated collection of items; e.g. set of modifier 5453855Simp# 5559193Simp# These may be composed: 5653855Simp# 5759193Simp# list of type or message segment 5853855Simp# 5959193Simp# The following type aliases are supported: 6061779Simp# 6161779Simp# message segment --> diagnostic or fragment 6261779Simp# file name --> file or file object 6361779Simp# 6459193Simp# Custom comments are supported in parenthesis i.e. 6559193Simp# 6659193Simp# number (classfile major version) 6782376Sjon# 68140692Simp# These comments are used internally in order to generate an enum-like class declaration containing 69140692Simp# a method/field for each of the diagnostic keys listed here. Those methods/fields can then be used 7059193Simp# by javac code to build diagnostics in a type-safe fashion. 7159193Simp# 7264544Simp# In addition, these comments are verified by the jtreg test test/tools/javac/diags/MessageInfo, 7364544Simp# using info derived from the collected set of examples in test/tools/javac/diags/examples. 7464544Simp# MessageInfo can also be run as a standalone utility providing more facilities 7582376Sjon# for manipulating this file. For more details, see MessageInfo.java. 76140692Simp 7764544Simp## 7864544Simp## errors 7961779Simp## 8061779Simp 8161779Simp# 0: symbol 8259193Simpcompiler.err.abstract.cant.be.instantiated=\ 8359193Simp {0} is abstract; cannot be instantiated 8459193Simp 8559193Simpcompiler.err.abstract.meth.cant.have.body=\ 8661779Simp abstract methods cannot have a body 8761779Simp 8861779Simpcompiler.err.already.annotated=\ 8959193Simp {0} {1} has already been annotated 9059193Simp 9159193Simp# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol 9259193Simpcompiler.err.already.defined=\ 9361779Simp {0} {1} is already defined in {2} {3} 94100218Simp 95100218Simp# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol kind, 4: symbol 96188180Simpcompiler.err.already.defined.in.clinit=\ 9797613Stakawata {0} {1} is already defined in {2} of {3} {4} 9897613Stakawata 9997613Stakawata# 0: string 10097613Stakawatacompiler.err.already.defined.single.import=\ 10197613Stakawata a type with the same simple name is already defined by the single-type-import of {0} 10297613Stakawata 103100218Simp# 0: string 10466058Simpcompiler.err.already.defined.static.single.import=\ 105147711Simp a type with the same simple name is already defined by the static single-type-import of {0} 106147711Simp 107147711Simpcompiler.err.already.defined.this.unit=\ 108147711Simp {0} is already defined in this compilation unit 109150098Simp 110147711Simp# 0: type, 1: list of name 111147711Simpcompiler.err.annotation.missing.default.value=\ 112147711Simp annotation @{0} is missing a default value for the element ''{1}'' 113150098Simp 114150098Simp# 0: type, 1: list of name 115150098Simpcompiler.err.annotation.missing.default.value.1=\ 116150098Simp annotation @{0} is missing default values for elements {1} 117150098Simp 118150098Simp# 0: type 119150098Simpcompiler.err.annotation.not.valid.for.type=\ 120150098Simp annotation not valid for an element of type {0} 121150098Simp 122150098Simpcompiler.err.annotation.type.not.applicable=\ 123150098Simp annotation type not applicable to this kind of declaration 124150098Simp 125150098Simp# 0: type 126150098Simpcompiler.err.annotation.type.not.applicable.to.type=\ 127150098Simp annotation @{0} not applicable in this type context 128150098Simp 129150098Simpcompiler.err.annotation.value.must.be.annotation=\ 130150098Simp annotation value must be an annotation 131150098Simp 132150098Simpcompiler.err.annotation.value.must.be.class.literal=\ 133150098Simp annotation value must be a class literal 134150098Simp 135150098Simpcompiler.err.annotation.value.must.be.name.value=\ 136150098Simp annotation values must be of the form ''name=value'' 137150098Simp 138150098Simpcompiler.err.annotation.value.not.allowable.type=\ 139150098Simp annotation value not of an allowable type 140150098Simp 141150098Simpcompiler.err.anon.class.impl.intf.no.args=\ 142150098Simp anonymous class implements interface; cannot have arguments 143150098Simp 144150098Simpcompiler.err.anon.class.impl.intf.no.typeargs=\ 145150098Simp anonymous class implements interface; cannot have type arguments 146150098Simp 147150098Simpcompiler.err.anon.class.impl.intf.no.qual.for.new=\ 148150098Simp anonymous class implements interface; cannot have qualifier for new 149150098Simp 150150098Simpcompiler.err.cant.inherit.from.anon=\ 151150098Simp cannot inherit from anonymous class 152150098Simp 153# 0: symbol, 1: symbol, 2: symbol 154compiler.err.array.and.varargs=\ 155 cannot declare both {0} and {1} in {2} 156 157compiler.err.array.dimension.missing=\ 158 array dimension missing 159 160# 0: type 161compiler.err.array.req.but.found=\ 162 array required, but {0} found 163 164compiler.err.attribute.value.must.be.constant=\ 165 element value must be a constant expression 166 167# 0: string (statement type) 168compiler.err.bad.initializer=\ 169 bad initializer for {0} 170 171compiler.err.break.outside.switch.loop=\ 172 break outside switch or loop 173 174# 0: name 175compiler.err.call.must.be.first.stmt.in.ctor=\ 176 call to {0} must be first statement in constructor 177 178# 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 179compiler.err.cant.apply.symbol=\ 180 {0} {1} in {4} {5} cannot be applied to given types;\n\ 181 required: {2}\n\ 182 found: {3}\n\ 183 reason: {6} 184 185# 0: symbol kind, 1: name, 2: list of type 186compiler.err.cant.apply.symbols=\ 187 no suitable {0} found for {1}({2}) 188 189# 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 190compiler.misc.cant.apply.symbol=\ 191 {0} {1} in {4} {5} cannot be applied to given types\n\ 192 required: {2}\n\ 193 found: {3}\n\ 194 reason: {6} 195 196# 0: symbol kind, 1: name, 2: list of type 197compiler.misc.cant.apply.symbols=\ 198 no suitable {0} found for {1}({2}) 199 200# 0: symbol kind, 1: symbol 201compiler.misc.no.abstracts=\ 202 no abstract method found in {0} {1} 203 204# 0: symbol kind, 1: symbol 205compiler.misc.incompatible.abstracts=\ 206 multiple non-overriding abstract methods found in {0} {1} 207 208compiler.err.bad.functional.intf.anno=\ 209 Unexpected @FunctionalInterface annotation 210 211# 0: message segment 212compiler.err.bad.functional.intf.anno.1=\ 213 Unexpected @FunctionalInterface annotation\n\ 214 {0} 215 216# 0: message segment 217compiler.err.anonymous.diamond.method.does.not.override.superclass=\ 218 method does not override or implement a method from a supertype\n\ 219 {0} 220 221# 0: symbol 222compiler.misc.not.a.functional.intf=\ 223 {0} is not a functional interface 224 225# 0: symbol, 1: message segment 226compiler.misc.not.a.functional.intf.1=\ 227 {0} is not a functional interface\n\ 228 {1} 229 230# 0: symbol, 1: symbol kind, 2: symbol 231compiler.misc.invalid.generic.lambda.target=\ 232 invalid functional descriptor for lambda expression\n\ 233 method {0} in {1} {2} is generic 234 235# 0: symbol kind, 1: symbol 236compiler.misc.incompatible.descs.in.functional.intf=\ 237 incompatible function descriptors found in {0} {1} 238 239# 0: name, 1: list of type, 2: type, 3: list of type 240compiler.misc.descriptor=\ 241 descriptor: {2} {0}({1}) 242 243# 0: name, 1: list of type, 2: type, 3: list of type 244compiler.misc.descriptor.throws=\ 245 descriptor: {2} {0}({1}) throws {3} 246 247# 0: type 248compiler.misc.no.suitable.functional.intf.inst=\ 249 cannot infer functional interface descriptor for {0} 250 251# 0: message segment 252compiler.misc.bad.intersection.target.for.functional.expr=\ 253 bad intersection type target for lambda or method reference\n\ 254 {0} 255 256# 0: symbol or type 257compiler.misc.not.an.intf.component=\ 258 component type {0} is not an interface 259 260# 0: symbol kind, 1: message segment 261compiler.err.invalid.mref=\ 262 invalid {0} reference\n\ 263 {1} 264 265# 0: symbol kind, 1: message segment 266compiler.misc.invalid.mref=\ 267 invalid {0} reference\n\ 268 {1} 269 270compiler.misc.static.mref.with.targs=\ 271 parameterized qualifier on static method reference 272 273# 0: symbol 274compiler.err.cant.assign.val.to.final.var=\ 275 cannot assign a value to final variable {0} 276 277compiler.err.cant.assign.val.to.this=\ 278 cannot assign to ''this'' 279 280# 0: symbol, 1: message segment 281compiler.err.cant.ref.non.effectively.final.var=\ 282 local variables referenced from {1} must be final or effectively final 283 284compiler.err.try.with.resources.expr.needs.var=\ 285 the try-with-resources resource must either be a variable declaration or an expression denoting \ 286a reference to a final or effectively final variable 287 288# 0: symbol 289compiler.err.try.with.resources.expr.effectively.final.var=\ 290 variable {0} used as a try-with-resources resource neither final nor effectively final 291 292 293compiler.misc.lambda=\ 294 a lambda expression 295 296compiler.misc.inner.cls=\ 297 an inner class 298 299# 0: type 300compiler.err.cant.deref=\ 301 {0} cannot be dereferenced 302 303compiler.err.cant.extend.intf.annotation=\ 304 ''extends'' not allowed for @interfaces 305 306# 0: symbol 307compiler.err.cant.inherit.from.final=\ 308 cannot inherit from final {0} 309 310# 0: symbol 311compiler.err.cant.ref.before.ctor.called=\ 312 cannot reference {0} before supertype constructor has been called 313 314compiler.err.cant.select.static.class.from.param.type=\ 315 cannot select a static class from a parameterized type 316 317# 0: symbol, 1: string, 2: string 318compiler.err.cant.inherit.diff.arg=\ 319 {0} cannot be inherited with different arguments: <{1}> and <{2}> 320 321compiler.err.catch.without.try=\ 322 ''catch'' without ''try'' 323 324# 0: symbol kind, 1: symbol 325compiler.err.clash.with.pkg.of.same.name=\ 326 {0} {1} clashes with package of same name 327 328compiler.err.class.not.allowed=\ 329 class, interface or enum declaration not allowed here 330 331compiler.err.const.expr.req=\ 332 constant expression required 333 334compiler.err.cont.outside.loop=\ 335 continue outside of loop 336 337# 0: symbol 338compiler.err.cyclic.inheritance=\ 339 cyclic inheritance involving {0} 340 341# 0: symbol 342compiler.err.cyclic.annotation.element=\ 343 type of element {0} is cyclic 344 345# 0: unused 346compiler.err.call.to.super.not.allowed.in.enum.ctor=\ 347 call to super not allowed in enum constructor 348 349# 0: type 350compiler.err.no.superclass=\ 351 {0} has no superclass. 352 353# 0: symbol, 1: type, 2: symbol, 3: type, 4: unused 354compiler.err.concrete.inheritance.conflict=\ 355 methods {0} from {1} and {2} from {3} are inherited with the same signature 356 357compiler.err.default.allowed.in.intf.annotation.member=\ 358 default value only allowed in an annotation type declaration 359 360# 0: symbol 361compiler.err.doesnt.exist=\ 362 package {0} does not exist 363 364# 0: type 365compiler.err.duplicate.annotation.invalid.repeated=\ 366 annotation {0} is not a valid repeatable annotation 367 368# 0: name, 1: type 369compiler.err.duplicate.annotation.member.value=\ 370 duplicate element ''{0}'' in annotation @{1}. 371 372# 0: name, 1: unused 373compiler.err.duplicate.annotation.missing.container=\ 374 {0} is not a repeatable annotation type 375 376# 0: type, 1: unused 377compiler.err.invalid.repeatable.annotation=\ 378 duplicate annotation: {0} is annotated with an invalid @Repeatable annotation 379 380# 0: symbol or type 381compiler.err.invalid.repeatable.annotation.no.value=\ 382 {0} is not a valid @Repeatable, no value element method declared 383 384# 0: type, 1: number 385compiler.err.invalid.repeatable.annotation.multiple.values=\ 386 {0} is not a valid @Repeatable, {1} element methods named ''value'' declared 387 388# 0: type 389compiler.err.invalid.repeatable.annotation.invalid.value=\ 390 {0} is not a valid @Repeatable: invalid value element 391 392# 0: symbol or type, 1: unused, 2: type 393compiler.err.invalid.repeatable.annotation.value.return=\ 394 containing annotation type ({0}) must declare an element named ''value'' of type {2} 395 396# 0: symbol or type, 1: symbol 397compiler.err.invalid.repeatable.annotation.elem.nondefault=\ 398 containing annotation type ({0}) does not have a default value for element {1} 399 400# 0: symbol, 1: unused, 2: symbol, 3: unused 401compiler.err.invalid.repeatable.annotation.retention=\ 402 retention of containing annotation type ({0}) is shorter than the retention of repeatable annotation type ({2}) 403 404# 0: symbol, 1: symbol 405compiler.err.invalid.repeatable.annotation.not.documented=\ 406 repeatable annotation type ({1}) is @Documented while containing annotation type ({0}) is not 407 408# 0: symbol, 1: symbol 409compiler.err.invalid.repeatable.annotation.not.inherited=\ 410 repeatable annotation type ({1}) is @Inherited while containing annotation type ({0}) is not 411 412# 0: symbol, 1: symbol 413compiler.err.invalid.repeatable.annotation.incompatible.target=\ 414 containing annotation type ({0}) is applicable to more targets than repeatable annotation type ({1}) 415 416# 0: symbol 417compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\ 418 container {0} must not be present at the same time as the element it contains 419 420# 0: type, 1: symbol 421compiler.err.invalid.repeatable.annotation.not.applicable=\ 422 container {0} is not applicable to element {1} 423 424# 0: type 425compiler.err.invalid.repeatable.annotation.not.applicable.in.context=\ 426 container {0} is not applicable in this type context 427 428# 0: name 429compiler.err.duplicate.class=\ 430 duplicate class: {0} 431 432compiler.err.duplicate.case.label=\ 433 duplicate case label 434 435compiler.err.duplicate.default.label=\ 436 duplicate default label 437 438compiler.err.else.without.if=\ 439 ''else'' without ''if'' 440 441compiler.err.empty.char.lit=\ 442 empty character literal 443 444# 0: symbol 445compiler.err.encl.class.required=\ 446 an enclosing instance that contains {0} is required 447 448compiler.err.enum.annotation.must.be.enum.constant=\ 449 an enum annotation value must be an enum constant 450 451compiler.err.enum.cant.be.instantiated=\ 452 enum types may not be instantiated 453 454compiler.err.enum.label.must.be.unqualified.enum=\ 455 an enum switch case label must be the unqualified name of an enumeration constant 456 457compiler.err.enum.no.subclassing=\ 458 classes cannot directly extend java.lang.Enum 459 460compiler.err.enum.types.not.extensible=\ 461 enum types are not extensible 462 463compiler.err.enum.no.finalize=\ 464 enums cannot have finalize methods 465 466# 0: file name, 1: string 467compiler.err.error.reading.file=\ 468 error reading {0}; {1} 469 470# 0: type 471compiler.err.except.already.caught=\ 472 exception {0} has already been caught 473 474# 0: type 475compiler.err.except.never.thrown.in.try=\ 476 exception {0} is never thrown in body of corresponding try statement 477 478# 0: symbol 479compiler.err.final.parameter.may.not.be.assigned=\ 480 final parameter {0} may not be assigned 481 482# 0: symbol 483compiler.err.try.resource.may.not.be.assigned=\ 484 auto-closeable resource {0} may not be assigned 485 486# 0: symbol 487compiler.err.multicatch.parameter.may.not.be.assigned=\ 488 multi-catch parameter {0} may not be assigned 489 490# 0: type, 1: type 491compiler.err.multicatch.types.must.be.disjoint=\ 492 Alternatives in a multi-catch statement cannot be related by subclassing\n\ 493 Alternative {0} is a subclass of alternative {1} 494 495compiler.err.finally.without.try=\ 496 ''finally'' without ''try'' 497 498# 0: type, 1: message segment 499compiler.err.foreach.not.applicable.to.type=\ 500 for-each not applicable to expression type\n\ 501 required: {1}\n\ 502 found: {0} 503 504compiler.err.fp.number.too.large=\ 505 floating point number too large 506 507compiler.err.fp.number.too.small=\ 508 floating point number too small 509 510compiler.err.generic.array.creation=\ 511 generic array creation 512 513compiler.err.generic.throwable=\ 514 a generic class may not extend java.lang.Throwable 515 516# 0: symbol 517compiler.err.icls.cant.have.static.decl=\ 518 Illegal static declaration in inner class {0}\n\ 519 modifier \''static\'' is only allowed in constant variable declarations 520 521# 0: string 522compiler.err.illegal.char=\ 523 illegal character: ''{0}'' 524 525# 0: string, 1: string 526compiler.err.illegal.char.for.encoding=\ 527 unmappable character (0x{0}) for encoding {1} 528 529# 0: set of modifier, 1: set of modifier 530compiler.err.illegal.combination.of.modifiers=\ 531 illegal combination of modifiers: {0} and {1} 532 533compiler.err.illegal.enum.static.ref=\ 534 illegal reference to static field from initializer 535 536compiler.err.illegal.esc.char=\ 537 illegal escape character 538 539compiler.err.illegal.forward.ref=\ 540 illegal forward reference 541 542# 0: symbol, 1: string 543compiler.err.not.in.profile=\ 544 {0} is not available in profile ''{1}'' 545 546# 0: symbol 547compiler.warn.forward.ref=\ 548 reference to variable ''{0}'' before it has been initialized 549 550compiler.err.illegal.self.ref=\ 551 self-reference in initializer 552 553# 0: symbol 554compiler.warn.self.ref=\ 555 self-reference in initializer of variable ''{0}'' 556 557compiler.err.illegal.generic.type.for.instof=\ 558 illegal generic type for instanceof 559 560# 0: type 561compiler.err.illegal.initializer.for.type=\ 562 illegal initializer for {0} 563 564compiler.err.illegal.line.end.in.char.lit=\ 565 illegal line end in character literal 566 567compiler.err.illegal.nonascii.digit=\ 568 illegal non-ASCII digit 569 570compiler.err.illegal.underscore=\ 571 illegal underscore 572 573compiler.err.illegal.dot=\ 574 illegal ''.'' 575 576# 0: symbol 577compiler.err.illegal.qual.not.icls=\ 578 illegal qualifier; {0} is not an inner class 579 580compiler.err.illegal.start.of.expr=\ 581 illegal start of expression 582 583compiler.err.illegal.start.of.stmt=\ 584 illegal start of statement 585 586compiler.err.illegal.start.of.type=\ 587 illegal start of type 588 589compiler.err.illegal.unicode.esc=\ 590 illegal unicode escape 591 592# 0: symbol 593compiler.err.import.requires.canonical=\ 594 import requires canonical name for {0} 595 596compiler.err.improperly.formed.type.param.missing=\ 597 improperly formed type, some parameters are missing 598 599compiler.err.improperly.formed.type.inner.raw.param=\ 600 improperly formed type, type arguments given on a raw type 601 602# 0: type, 1: type 603compiler.err.incomparable.types=\ 604 incomparable types: {0} and {1} 605 606# 0: number 607compiler.err.int.number.too.large=\ 608 integer number too large: {0} 609 610compiler.err.intf.annotation.members.cant.have.params=\ 611 elements in annotation type declarations cannot declare formal parameters 612 613# 0: symbol 614compiler.err.intf.annotation.cant.have.type.params=\ 615 annotation type {0} cannot be generic 616 617compiler.err.intf.annotation.members.cant.have.type.params=\ 618 elements in annotation type declarations cannot be generic methods 619 620# 0: symbol, 1: type 621compiler.err.intf.annotation.member.clash=\ 622 annotation type {1} declares an element with the same name as method {0} 623 624compiler.err.intf.expected.here=\ 625 interface expected here 626 627compiler.err.intf.meth.cant.have.body=\ 628 interface abstract methods cannot have body 629 630# 0: symbol 631compiler.err.invalid.annotation.member.type=\ 632 invalid type for element {0} of annotation type 633 634compiler.err.invalid.binary.number=\ 635 binary numbers must contain at least one binary digit 636 637compiler.err.invalid.hex.number=\ 638 hexadecimal numbers must contain at least one hexadecimal digit 639 640compiler.err.invalid.meth.decl.ret.type.req=\ 641 invalid method declaration; return type required 642 643compiler.err.varargs.and.old.array.syntax=\ 644 legacy array notation not allowed on variable-arity parameter 645 646compiler.err.varargs.and.receiver =\ 647 varargs notation not allowed on receiver parameter 648 649compiler.err.varargs.must.be.last =\ 650 varargs parameter must be the last parameter 651 652compiler.err.array.and.receiver =\ 653 legacy array notation not allowed on receiver parameter 654 655compiler.err.variable.not.allowed=\ 656 variable declaration not allowed here 657 658# 0: name 659compiler.err.label.already.in.use=\ 660 label {0} already in use 661 662# 0: symbol 663compiler.err.local.var.accessed.from.icls.needs.final=\ 664 local variable {0} is accessed from within inner class; needs to be declared final 665 666compiler.err.local.enum=\ 667 enum types must not be local 668 669compiler.err.cannot.create.array.with.type.arguments=\ 670 cannot create array with type arguments 671 672compiler.err.cannot.create.array.with.diamond=\ 673 cannot create array with ''<>'' 674 675compiler.err.invalid.module.directive=\ 676 module directive keyword or ''}'' expected 677 678# 679# limits. We don't give the limits in the diagnostic because we expect 680# them to change, yet we want to use the same diagnostic. These are all 681# detected during code generation. 682# 683compiler.err.limit.code=\ 684 code too large 685 686compiler.err.limit.code.too.large.for.try.stmt=\ 687 code too large for try statement 688 689compiler.err.limit.dimensions=\ 690 array type has too many dimensions 691 692compiler.err.limit.locals=\ 693 too many local variables 694 695compiler.err.limit.parameters=\ 696 too many parameters 697 698compiler.err.limit.pool=\ 699 too many constants 700 701compiler.err.limit.pool.in.class=\ 702 too many constants in class {0} 703 704compiler.err.limit.stack=\ 705 code requires too much stack 706 707compiler.err.limit.string=\ 708 constant string too long 709 710compiler.err.limit.string.overflow=\ 711 UTF8 representation for string \"{0}...\" is too long for the constant pool 712 713compiler.err.malformed.fp.lit=\ 714 malformed floating point literal 715 716compiler.err.method.does.not.override.superclass=\ 717 method does not override or implement a method from a supertype 718 719compiler.err.missing.meth.body.or.decl.abstract=\ 720 missing method body, or declare abstract 721 722compiler.err.missing.ret.stmt=\ 723 missing return statement 724 725# 0: unused 726compiler.misc.missing.ret.val=\ 727 missing return value 728 729compiler.misc.unexpected.ret.val=\ 730 unexpected return value 731 732# 0: set of modifier 733compiler.err.mod.not.allowed.here=\ 734 modifier {0} not allowed here 735 736compiler.err.intf.not.allowed.here=\ 737 interface not allowed here 738 739compiler.err.enums.must.be.static=\ 740 enum declarations allowed only in static contexts 741 742# 0: symbol, 1: symbol 743compiler.err.name.clash.same.erasure=\ 744 name clash: {0} and {1} have the same erasure 745 746# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: unused, 5: unused 747compiler.err.name.clash.same.erasure.no.override=\ 748 name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other 749 750# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: symbol, 5: symbol 751compiler.err.name.clash.same.erasure.no.override.1=\ 752 name clash: {0} in {1} overrides a method whose erasure is the same as another method, yet neither overrides the other\n\ 753 first method: {2} in {3}\n\ 754 second method: {4} in {5} 755 756# 0: symbol, 1: symbol, 2: symbol, 3: symbol 757compiler.err.name.clash.same.erasure.no.hide=\ 758 name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither hides the other 759 760compiler.err.name.reserved.for.internal.use=\ 761 {0} is reserved for internal use 762 763compiler.err.native.meth.cant.have.body=\ 764 native methods cannot have a body 765 766# 0: type, 1: type 767compiler.err.neither.conditional.subtype=\ 768 incompatible types for ?: neither is a subtype of the other\n\ 769 second operand: {0}\n\ 770 third operand : {1} 771 772 773# 0: message segment 774compiler.misc.incompatible.type.in.conditional=\ 775 bad type in conditional expression\n\ 776 {0} 777 778compiler.misc.conditional.target.cant.be.void=\ 779 target-type for conditional expression cannot be void 780 781# 0: type 782compiler.misc.incompatible.ret.type.in.lambda=\ 783 bad return type in lambda expression\n\ 784 {0} 785 786compiler.misc.stat.expr.expected=\ 787 lambda body is not compatible with a void functional interface\n\ 788 (consider using a block lambda body, or use a statement expression instead) 789 790# 0: type 791compiler.misc.incompatible.ret.type.in.mref=\ 792 bad return type in method reference\n\ 793 {0} 794 795compiler.err.lambda.body.neither.value.nor.void.compatible=\ 796 lambda body is neither value nor void compatible 797 798# 0: list of type 799compiler.err.incompatible.thrown.types.in.mref=\ 800 incompatible thrown types {0} in method reference 801 802compiler.misc.incompatible.arg.types.in.lambda=\ 803 incompatible parameter types in lambda expression 804 805compiler.misc.incompatible.arg.types.in.mref=\ 806 incompatible parameter types in method reference 807 808compiler.err.new.not.allowed.in.annotation=\ 809 ''new'' not allowed in an annotation 810 811compiler.err.no.annotation.member=\ 812 no annotation member {0} in {1} 813 814compiler.err.no.encl.instance.of.type.in.scope=\ 815 no enclosing instance of type {0} is in scope 816 817compiler.err.no.intf.expected.here=\ 818 no interface expected here 819 820compiler.err.no.match.entry=\ 821 {0} has no match in entry in {1}; required {2} 822 823compiler.err.not.annotation.type=\ 824 {0} is not an annotation type 825 826# 0: symbol, 1: symbol 827compiler.err.not.def.access.package.cant.access=\ 828 {0} is not visible because package {1} is not visible 829 830# 0: symbol, 1: symbol 831compiler.err.not.def.access.class.intf.cant.access=\ 832 {0} in {1} is defined in an inaccessible class or interface 833 834# 0: symbol, 1: symbol 835compiler.misc.not.def.access.class.intf.cant.access=\ 836 {0} in {1} is defined in an inaccessible class or interface 837 838# 0: symbol, 1: list of type, 2: type 839compiler.misc.cant.access.inner.cls.constr=\ 840 cannot access constructor {0}({1})\n\ 841 an enclosing instance of type {2} is not in scope 842 843# 0: symbol, 1: symbol 844compiler.err.not.def.public.cant.access=\ 845 {0} is not public in {1}; cannot be accessed from outside package 846 847# 0: symbol, 1: symbol 848compiler.misc.not.def.public.cant.access=\ 849 {0} is not public in {1}; cannot be accessed from outside package 850 851# 0: name 852compiler.err.not.loop.label=\ 853 not a loop label: {0} 854 855compiler.err.not.stmt=\ 856 not a statement 857 858# 0: symbol 859compiler.err.not.encl.class=\ 860 not an enclosing class: {0} 861 862# 0: name, 1: type 863compiler.err.operator.cant.be.applied=\ 864 bad operand type {1} for unary operator ''{0}'' 865 866# 0: name, 1: type, 2: type 867compiler.err.operator.cant.be.applied.1=\ 868 bad operand types for binary operator ''{0}''\n\ 869 first type: {1}\n\ 870 second type: {2} 871 872compiler.err.pkg.annotations.sb.in.package-info.java=\ 873 package annotations should be in file package-info.java 874 875# 0: symbol 876compiler.err.pkg.clashes.with.class.of.same.name=\ 877 package {0} clashes with class of same name 878 879compiler.err.warnings.and.werror=\ 880 warnings found and -Werror specified 881 882# Errors related to annotation processing 883 884# 0: symbol, 1: string, 2: string (stack-trace) 885compiler.err.proc.cant.access=\ 886 cannot access {0}\n\ 887 {1}\n\ 888 Consult the following stack trace for details.\n\ 889 {2} 890 891# 0: symbol, 1: string 892compiler.err.proc.cant.access.1=\ 893 cannot access {0}\n\ 894 {1} 895 896# 0: string 897compiler.err.proc.cant.find.class=\ 898 Could not find class file for ''{0}''. 899 900# Print a client-generated error message; assumed to be localized, no translation required 901# 0: string 902compiler.err.proc.messager=\ 903 {0} 904 905# 0: list of string 906compiler.err.proc.no.explicit.annotation.processing.requested=\ 907 Class names, ''{0}'', are only accepted if annotation processing is explicitly requested 908 909compiler.err.proc.no.service=\ 910 A ServiceLoader was not usable and is required for annotation processing. 911 912compiler.err.proc.processor.bad.option.name=\ 913 Bad option name ''{0}'' provided by processor ''{1}'' 914 915# 0: string 916compiler.err.proc.processor.cant.instantiate=\ 917 Could not instantiate an instance of processor ''{0}'' 918 919# 0: string 920compiler.err.proc.processor.not.found=\ 921 Annotation processor ''{0}'' not found 922 923# 0: string 924compiler.err.proc.processor.wrong.type=\ 925 Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor 926 927compiler.err.proc.service.problem=\ 928 Error creating a service loader to load Processors. 929 930compiler.err.proc.bad.config.file=\ 931 Bad service configuration file, or exception thrown while constructing Processor object: {0} 932 933compiler.err.proc.cant.create.loader=\ 934 Could not create class loader for annotation processors: {0} 935 936# 0: unused 937compiler.err.qualified.new.of.static.class=\ 938 qualified new of static class 939 940compiler.err.recursive.ctor.invocation=\ 941 recursive constructor invocation 942 943# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol 944compiler.err.ref.ambiguous=\ 945 reference to {0} is ambiguous\n\ 946 both {1} {2} in {3} and {4} {5} in {6} match 947 948# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol 949compiler.misc.ref.ambiguous=\ 950 reference to {0} is ambiguous\n\ 951 both {1} {2} in {3} and {4} {5} in {6} match 952 953compiler.err.repeated.annotation.target=\ 954 repeated annotation target 955 956compiler.err.repeated.interface=\ 957 repeated interface 958 959compiler.err.repeated.modifier=\ 960 repeated modifier 961 962# 0: symbol, 1: set of modifier, 2: symbol 963compiler.err.report.access=\ 964 {0} has {1} access in {2} 965 966# 0: symbol, 1: set of modifier, 2: symbol 967compiler.misc.report.access=\ 968 {0} has {1} access in {2} 969 970compiler.err.ret.outside.meth=\ 971 return outside method 972 973compiler.err.signature.doesnt.match.supertype=\ 974 signature does not match {0}; incompatible supertype 975 976compiler.err.signature.doesnt.match.intf=\ 977 signature does not match {0}; incompatible interfaces 978 979# 0: number, 1: number 980compiler.err.method.invoked.with.incorrect.number.arguments=\ 981 method invoked with incorrect number of arguments; expected {0}, found {1} 982 983# 0: symbol, 1: symbol, 2: symbol 984compiler.err.does.not.override.abstract=\ 985 {0} is not abstract and does not override abstract method {1} in {2} 986 987compiler.err.source.cant.overwrite.input.file=\ 988 error writing source; cannot overwrite input file {0} 989 990compiler.err.stack.sim.error=\ 991 Internal error: stack sim error on {0} 992 993compiler.err.static.imp.only.classes.and.interfaces=\ 994 static import only from classes and interfaces 995 996compiler.err.string.const.req=\ 997 constant string expression required 998 999# 0: symbol, 1: symbol 1000compiler.err.synthetic.name.conflict=\ 1001 the symbol {0} conflicts with a compiler-synthesized symbol in {1} 1002 1003compiler.err.throws.not.allowed.in.intf.annotation=\ 1004 throws clause not allowed in @interface members 1005 1006compiler.err.try.without.catch.or.finally=\ 1007 ''try'' without ''catch'' or ''finally'' 1008 1009compiler.err.try.without.catch.finally.or.resource.decls=\ 1010 ''try'' without ''catch'', ''finally'' or resource declarations 1011 1012# 0: symbol 1013compiler.err.type.doesnt.take.params=\ 1014 type {0} does not take parameters 1015 1016compiler.err.type.var.cant.be.deref=\ 1017 cannot select from a type variable 1018 1019compiler.err.type.var.may.not.be.followed.by.other.bounds=\ 1020 a type variable may not be followed by other bounds 1021 1022compiler.err.type.var.more.than.once=\ 1023 type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated 1024 1025compiler.err.type.var.more.than.once.in.result=\ 1026 type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated 1027 1028# 0: type, 1: type, 2: string 1029compiler.err.types.incompatible.diff.ret=\ 1030 types {0} and {1} are incompatible; both define {2}, but with unrelated return types 1031 1032# 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol 1033compiler.err.types.incompatible.unrelated.defaults=\ 1034 {0} {1} inherits unrelated defaults for {2}({3}) from types {4} and {5} 1035 1036# 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol 1037compiler.err.types.incompatible.abstract.default=\ 1038 {0} {1} inherits abstract and default for {2}({3}) from types {4} and {5} 1039 1040# 0: name, 1: kind name, 2: symbol 1041compiler.err.default.overrides.object.member=\ 1042 default method {0} in {1} {2} overrides a member of java.lang.Object 1043 1044# 0: type 1045compiler.err.illegal.static.intf.meth.call=\ 1046 illegal static interface method call\n\ 1047 the receiver expression should be replaced with the type qualifier ''{0}'' 1048 1049# 0: type, 1: message segment 1050compiler.err.illegal.default.super.call=\ 1051 bad type qualifier {0} in default super call\n\ 1052 {1} 1053 1054# 0: symbol, 1: type 1055compiler.misc.overridden.default=\ 1056 method {0} is overridden in {1} 1057 1058# 0: symbol, 1: type or symbol 1059compiler.misc.redundant.supertype=\ 1060 redundant interface {0} is extended by {1} 1061 1062compiler.err.unclosed.char.lit=\ 1063 unclosed character literal 1064 1065compiler.err.unclosed.comment=\ 1066 unclosed comment 1067 1068compiler.err.unclosed.str.lit=\ 1069 unclosed string literal 1070 1071# 0: name 1072compiler.err.unsupported.encoding=\ 1073 unsupported encoding: {0} 1074 1075compiler.err.io.exception=\ 1076 error reading source file: {0} 1077 1078# 0: name 1079compiler.err.undef.label=\ 1080 undefined label: {0} 1081 1082# 0: message segment, 1: unused 1083compiler.err.cant.apply.diamond=\ 1084 cannot infer type arguments for {0} 1085 1086# 0: message segment or type, 1: message segment 1087compiler.err.cant.apply.diamond.1=\ 1088 cannot infer type arguments for {0}\n\ 1089 reason: {1} 1090 1091# 0: message segment or type, 1: message segment 1092compiler.misc.cant.apply.diamond.1=\ 1093 cannot infer type arguments for {0}\n\ 1094 reason: {1} 1095 1096compiler.err.unreachable.stmt=\ 1097 unreachable statement 1098 1099compiler.err.initializer.must.be.able.to.complete.normally=\ 1100 initializer must be able to complete normally 1101 1102compiler.err.initializer.not.allowed=\ 1103 initializers not allowed in interfaces 1104 1105# 0: type 1106compiler.err.unreported.exception.need.to.catch.or.throw=\ 1107 unreported exception {0}; must be caught or declared to be thrown 1108 1109# 0: type 1110compiler.err.unreported.exception.default.constructor=\ 1111 unreported exception {0} in default constructor 1112 1113# 0: type, 1: name 1114compiler.err.unreported.exception.implicit.close=\ 1115 unreported exception {0}; must be caught or declared to be thrown\n\ 1116 exception thrown from implicit call to close() on resource variable ''{1}'' 1117 1118compiler.err.unsupported.cross.fp.lit=\ 1119 hexadecimal floating-point literals are not supported on this VM 1120 1121compiler.err.void.not.allowed.here=\ 1122 ''void'' type not allowed here 1123 1124# 0: string 1125compiler.err.wrong.number.type.args=\ 1126 wrong number of type arguments; required {0} 1127 1128# 0: symbol 1129compiler.err.var.might.already.be.assigned=\ 1130 variable {0} might already have been assigned 1131 1132# 0: symbol 1133compiler.err.var.might.not.have.been.initialized=\ 1134 variable {0} might not have been initialized 1135 1136# 0: symbol 1137compiler.err.var.not.initialized.in.default.constructor=\ 1138 variable {0} not initialized in the default constructor 1139 1140# 0: symbol 1141compiler.err.var.might.be.assigned.in.loop=\ 1142 variable {0} might be assigned in loop 1143 1144# 0: symbol, 1: message segment 1145compiler.err.varargs.invalid.trustme.anno=\ 1146 Invalid {0} annotation. {1} 1147 1148# 0: type 1149compiler.misc.varargs.trustme.on.reifiable.varargs=\ 1150 Varargs element type {0} is reifiable. 1151 1152# 0: symbol 1153compiler.misc.varargs.trustme.on.non.varargs.meth=\ 1154 Method {0} is not a varargs method. 1155 1156# 0: symbol 1157compiler.misc.varargs.trustme.on.virtual.varargs=\ 1158 Instance method {0} is neither final nor private. 1159 1160# 0: symbol 1161compiler.misc.varargs.trustme.on.virtual.varargs.final.only=\ 1162 Instance method {0} is not final. 1163 1164# 0: type, 1: symbol kind, 2: symbol 1165compiler.misc.inaccessible.varargs.type=\ 1166 formal varargs element type {0} is not accessible from {1} {2} 1167 1168# In the following string, {1} will always be the detail message from 1169# java.io.IOException. 1170# 0: symbol, 1: string 1171compiler.err.class.cant.write=\ 1172 error while writing {0}: {1} 1173 1174# In the following string, {0} is the name of the class in the Java source. 1175# It really should be used two times.. 1176# 0: name 1177compiler.err.class.public.should.be.in.file=\ 1178 class {0} is public, should be declared in a file named {0}.java 1179 1180## All errors which do not refer to a particular line in the source code are 1181## preceded by this string. 1182compiler.err.error=\ 1183 error:\u0020 1184 1185# The following error messages do not refer to a line in the source code. 1186compiler.err.cant.read.file=\ 1187 cannot read: {0} 1188 1189# 0: string 1190compiler.err.plugin.not.found=\ 1191 plug-in not found: {0} 1192 1193# 0: path 1194compiler.warn.locn.unknown.file.on.module.path=\ 1195 unknown file on module path: {0} 1196 1197 1198# 0: path 1199compiler.err.locn.bad.module-info=\ 1200 problem reading module-info.class in {0} 1201 1202# 0: path 1203compiler.err.locn.cant.read.directory=\ 1204 cannot read directory {0} 1205 1206# 0: path 1207compiler.err.locn.cant.read.file=\ 1208 cannot read file {0} 1209 1210# 0: path 1211compiler.err.locn.cant.get.module.name.for.jar=\ 1212 cannot determine module name for {0} 1213 1214# 0: path 1215compiler.err.multi-module.outdir.cannot.be.exploded.module=\ 1216 in multi-module mode, the output directory cannot be an exploded module: {0} 1217 1218# 0: path 1219compiler.warn.outdir.is.in.exploded.module=\ 1220 the output directory is within an exploded module: {0} 1221 1222# 0: path 1223compiler.err.locn.module-info.not.allowed.on.patch.path=\ 1224 module-info.class not allowed on patch path: {0} 1225 1226# 0: string 1227compiler.err.locn.invalid.arg.for.xpatch=\ 1228 invalid argument for --patch-module option: {0} 1229 1230##### 1231 1232# Fatal Errors 1233 1234compiler.misc.fatal.err.no.java.lang=\ 1235 Fatal Error: Unable to find package java.lang in classpath or bootclasspath 1236 1237compiler.misc.fatal.err.cant.locate.meth=\ 1238 Fatal Error: Unable to find method {0} 1239 1240compiler.misc.fatal.err.cant.locate.field=\ 1241 Fatal Error: Unable to find field {0} 1242 1243compiler.misc.fatal.err.cant.locate.ctor=\ 1244 Fatal Error: Unable to find constructor for {0} 1245 1246compiler.misc.fatal.err.cant.close=\ 1247 Fatal Error: Cannot close compiler resources 1248 1249##### 1250 1251## 1252## miscellaneous strings 1253## 1254 1255compiler.misc.diamond.anonymous.methods.implicitly.override=\ 1256 (due to <>, every non-private method declared in this anonymous class must override or implement a method from a supertype) 1257 1258compiler.misc.source.unavailable=\ 1259 (source unavailable) 1260 1261compiler.misc.base.membership=\ 1262 all your base class are belong to us 1263 1264# 0: string, 1: string, 2: boolean 1265compiler.misc.x.print.processor.info=\ 1266 Processor {0} matches {1} and returns {2}. 1267 1268# 0: number, 1: string, 2: set of symbol, 3: boolean 1269compiler.misc.x.print.rounds=\ 1270 Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3} 1271 1272# 0: file name 1273compiler.warn.file.from.future=\ 1274 Modification date is in the future for file {0} 1275 1276##### 1277 1278## The following string will appear before all messages keyed as: 1279## "compiler.note". 1280 1281compiler.note.compressed.diags=\ 1282 Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1283 1284# 0: boolean, 1: symbol 1285compiler.note.lambda.stat=\ 1286 Translating lambda expression\n\ 1287 alternate metafactory = {0}\n\ 1288 synthetic method = {1} 1289 1290# 0: boolean, 1: unused 1291compiler.note.mref.stat=\ 1292 Translating method reference\n\ 1293 alternate metafactory = {0}\n\ 1294 1295# 0: boolean, 1: symbol 1296compiler.note.mref.stat.1=\ 1297 Translating method reference\n\ 1298 alternate metafactory = {0}\n\ 1299 bridge method = {1} 1300 1301compiler.note.note=\ 1302 Note:\u0020 1303 1304# 0: file name 1305compiler.note.deprecated.filename=\ 1306 {0} uses or overrides a deprecated API. 1307 1308compiler.note.deprecated.plural=\ 1309 Some input files use or override a deprecated API. 1310 1311# The following string may appear after one of the above deprecation 1312# messages. 1313compiler.note.deprecated.recompile=\ 1314 Recompile with -Xlint:deprecation for details. 1315 1316# 0: file name 1317compiler.note.deprecated.filename.additional=\ 1318 {0} has additional uses or overrides of a deprecated API. 1319 1320compiler.note.deprecated.plural.additional=\ 1321 Some input files additionally use or override a deprecated API. 1322 1323# 0: file name 1324compiler.note.removal.filename=\ 1325 {0} uses or overrides a deprecated API that is marked for removal. 1326 1327compiler.note.removal.plural=\ 1328 Some input files use or override a deprecated API that is marked for removal. 1329 1330# The following string may appear after one of the above removal messages. 1331compiler.note.removal.recompile=\ 1332 Recompile with -Xlint:removal for details. 1333 1334# 0: file name 1335compiler.note.removal.filename.additional=\ 1336 {0} has additional uses or overrides of a deprecated API that is marked for removal. 1337 1338compiler.note.removal.plural.additional=\ 1339 Some input files additionally use or override a deprecated API that is marked for removal. 1340 1341# 0: file name 1342compiler.note.unchecked.filename=\ 1343 {0} uses unchecked or unsafe operations. 1344 1345compiler.note.unchecked.plural=\ 1346 Some input files use unchecked or unsafe operations. 1347 1348# The following string may appear after one of the above unchecked messages. 1349compiler.note.unchecked.recompile=\ 1350 Recompile with -Xlint:unchecked for details. 1351 1352# 0: file name 1353compiler.note.unchecked.filename.additional=\ 1354 {0} has additional unchecked or unsafe operations. 1355 1356compiler.note.unchecked.plural.additional=\ 1357 Some input files additionally use unchecked or unsafe operations. 1358 1359# Notes related to annotation processing 1360 1361# Print a client-generated note; assumed to be localized, no translation required 1362# 0: string 1363compiler.note.proc.messager=\ 1364 {0} 1365 1366##### 1367 1368# 0: number 1369compiler.misc.count.error=\ 1370 {0} error 1371 1372# 0: number 1373compiler.misc.count.error.plural=\ 1374 {0} errors 1375 1376# 0: number 1377compiler.misc.count.warn=\ 1378 {0} warning 1379 1380# 0: number 1381compiler.misc.count.warn.plural=\ 1382 {0} warnings 1383 1384compiler.misc.version.not.available=\ 1385 (version info not available) 1386 1387## extra output when using -verbose (JavaCompiler) 1388 1389# 0: symbol 1390compiler.misc.verbose.checking.attribution=\ 1391 [checking {0}] 1392 1393# 0: string 1394compiler.misc.verbose.parsing.done=\ 1395 [parsing completed {0}ms] 1396 1397# 0: file name 1398compiler.misc.verbose.parsing.started=\ 1399 [parsing started {0}] 1400 1401# 0: string 1402compiler.misc.verbose.total=\ 1403 [total {0}ms] 1404 1405# 0: file name 1406compiler.misc.verbose.wrote.file=\ 1407 [wrote {0}] 1408 1409## extra output when using -verbose (code/ClassReader) 1410# 0: string 1411compiler.misc.verbose.loading=\ 1412 [loading {0}] 1413 1414# 0: string 1415compiler.misc.verbose.sourcepath=\ 1416 [search path for source files: {0}] 1417 1418# 0: string 1419compiler.misc.verbose.classpath=\ 1420 [search path for class files: {0}] 1421 1422## extra output when using -prompt (util/Log) 1423compiler.misc.resume.abort=\ 1424 R)esume, A)bort> 1425 1426##### 1427 1428## 1429## warnings 1430## 1431 1432## All warning messages are preceded by the following string. 1433compiler.warn.warning=\ 1434 warning:\u0020 1435 1436## Warning messages may also include the following prefix to identify a 1437## lint option 1438# 0: option name 1439compiler.warn.lintOption=\ 1440 [{0}]\u0020 1441 1442# 0: symbol 1443compiler.warn.constant.SVUID=\ 1444 serialVersionUID must be constant in class {0} 1445 1446# 0: file name 1447compiler.warn.dir.path.element.not.found=\ 1448 bad path element "{0}": no such directory 1449 1450# 0: file name 1451compiler.warn.dir.path.element.not.directory=\ 1452 bad path element "{0}": not a directory 1453 1454compiler.warn.finally.cannot.complete=\ 1455 finally clause cannot complete normally 1456 1457# 0: symbol, 1: symbol 1458compiler.warn.has.been.deprecated=\ 1459 {0} in {1} has been deprecated 1460 1461# 0: symbol, 1: symbol 1462compiler.warn.has.been.deprecated.for.removal=\ 1463 {0} in {1} has been deprecated and marked for removal 1464 1465# 0: symbol 1466compiler.warn.sun.proprietary=\ 1467 {0} is internal proprietary API and may be removed in a future release 1468 1469compiler.warn.illegal.char.for.encoding=\ 1470 unmappable character for encoding {0} 1471 1472# 0: symbol 1473compiler.warn.improper.SVUID=\ 1474 serialVersionUID must be declared static final in class {0} 1475 1476# 0: type, 1: type 1477compiler.warn.inexact.non-varargs.call=\ 1478 non-varargs call of varargs method with inexact argument type for last parameter;\n\ 1479 cast to {0} for a varargs call\n\ 1480 cast to {1} for a non-varargs call and to suppress this warning 1481 1482# 0: list of type 1483compiler.warn.unreachable.catch=\ 1484 unreachable catch clause\n\ 1485 thrown type {0} has already been caught 1486 1487# 0: list of type 1488compiler.warn.unreachable.catch.1=\ 1489 unreachable catch clause\n\ 1490 thrown types {0} have already been caught 1491 1492# 0: symbol 1493compiler.warn.long.SVUID=\ 1494 serialVersionUID must be of type long in class {0} 1495 1496# 0: symbol 1497compiler.warn.missing.SVUID=\ 1498 serializable class {0} has no definition of serialVersionUID 1499 1500# 0: symbol, 1: symbol, 2: symbol, 3: symbol 1501compiler.warn.potentially.ambiguous.overload=\ 1502 {0} in {1} is potentially ambiguous with {2} in {3} 1503 1504# 0: message segment 1505compiler.warn.override.varargs.missing=\ 1506 {0}; overridden method has no ''...'' 1507 1508# 0: message segment 1509compiler.warn.override.varargs.extra=\ 1510 {0}; overriding method is missing ''...'' 1511 1512compiler.warn.override.bridge=\ 1513 {0}; overridden method is a bridge method 1514 1515# 0: symbol 1516compiler.warn.pkg-info.already.seen=\ 1517 a package-info.java file has already been seen for package {0} 1518 1519# 0: file name 1520compiler.warn.path.element.not.found=\ 1521 bad path element "{0}": no such file or directory 1522 1523compiler.warn.possible.fall-through.into.case=\ 1524 possible fall-through into case 1525 1526# 0: type 1527compiler.warn.redundant.cast=\ 1528 redundant cast to {0} 1529 1530# 0: number 1531compiler.warn.position.overflow=\ 1532 Position encoding overflows at line {0} 1533 1534# 0: file name, 1: number, 2: number 1535compiler.warn.big.major.version=\ 1536 {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\ 1537 It is recommended that the compiler be upgraded. 1538 1539# 0: symbol kind, 1: symbol 1540compiler.warn.static.not.qualified.by.type=\ 1541 static {0} should be qualified by type name, {1}, instead of by an expression 1542 1543# 0: string 1544compiler.warn.source.no.bootclasspath=\ 1545 bootstrap class path not set in conjunction with -source {0} 1546 1547# 0: string 1548compiler.warn.option.obsolete.source=\ 1549 source value {0} is obsolete and will be removed in a future release 1550 1551# 0: string 1552compiler.warn.option.obsolete.target=\ 1553 target value {0} is obsolete and will be removed in a future release 1554 1555# 0: string, 1: string 1556compiler.err.option.removed.source=\ 1557 Source option {0} is no longer supported. Use {1} or later. 1558 1559# 0: string, 1: string 1560compiler.err.option.removed.target=\ 1561 Target option {0} is no longer supported. Use {1} or later. 1562 1563compiler.warn.option.obsolete.suppression=\ 1564 To suppress warnings about obsolete options, use -Xlint:-options. 1565 1566# 0: name, 1: number, 2: number, 3: number, 4: number 1567compiler.warn.future.attr=\ 1568 {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files 1569 1570# Warnings related to annotation processing 1571# 0: string 1572compiler.warn.proc.package.does.not.exist=\ 1573 package {0} does not exist 1574 1575# 0: name 1576compiler.warn.proc.file.reopening=\ 1577 Attempt to create a file for ''{0}'' multiple times 1578 1579# 0: name 1580compiler.warn.proc.type.already.exists=\ 1581 A file for type ''{0}'' already exists on the sourcepath or classpath 1582 1583# 0: name 1584compiler.warn.proc.type.recreate=\ 1585 Attempt to create a file for type ''{0}'' multiple times 1586 1587# 0: string 1588compiler.warn.proc.illegal.file.name=\ 1589 Cannot create file for illegal name ''{0}''. 1590 1591# 0: string, 1: string 1592compiler.warn.proc.suspicious.class.name=\ 1593 Creating file for a type whose name ends in {1}: ''{0}'' 1594 1595# 0: name 1596compiler.warn.proc.file.create.last.round=\ 1597 File for type ''{0}'' created in the last round will not be subject to annotation processing. 1598 1599# 0: string, 1: string 1600compiler.warn.proc.malformed.supported.string=\ 1601 Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}'' 1602 1603# 0: set of string 1604compiler.warn.proc.annotations.without.processors=\ 1605 No processor claimed any of these annotations: {0} 1606 1607# 0: source version, 1: string, 2: string 1608compiler.warn.proc.processor.incompatible.source.version=\ 1609 Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}'' 1610 1611compiler.warn.proc.proc-only.requested.no.procs=\ 1612 Annotation processing without compilation requested but no processors were found. 1613 1614compiler.warn.proc.use.implicit=\ 1615 Implicitly compiled files were not subject to annotation processing.\n\ 1616 Use -implicit to specify a policy for implicit compilation. 1617 1618compiler.warn.proc.use.proc.or.implicit=\ 1619 Implicitly compiled files were not subject to annotation processing.\n\ 1620 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. 1621 1622# Print a client-generated warning; assumed to be localized, no translation required 1623# 0: string 1624compiler.warn.proc.messager=\ 1625 {0} 1626 1627# 0: set of name 1628compiler.warn.proc.unclosed.type.files=\ 1629 Unclosed files for the types ''{0}''; these types will not undergo annotation processing 1630 1631# 0: string 1632compiler.warn.proc.unmatched.processor.options=\ 1633 The following options were not recognized by any processor: ''{0}'' 1634 1635compiler.warn.try.explicit.close.call=\ 1636 explicit call to close() on an auto-closeable resource 1637 1638# 0: symbol 1639compiler.warn.try.resource.not.referenced=\ 1640 auto-closeable resource {0} is never referenced in body of corresponding try statement 1641 1642# 0: type 1643compiler.warn.try.resource.throws.interrupted.exc=\ 1644 auto-closeable resource {0} has a member method close() that could throw InterruptedException 1645 1646compiler.warn.unchecked.assign=\ 1647 unchecked assignment: {0} to {1} 1648 1649# 0: symbol, 1: type 1650compiler.warn.unchecked.assign.to.var=\ 1651 unchecked assignment to variable {0} as member of raw type {1} 1652 1653# 0: symbol, 1: type 1654compiler.warn.unchecked.call.mbr.of.raw.type=\ 1655 unchecked call to {0} as a member of the raw type {1} 1656 1657compiler.warn.unchecked.cast.to.type=\ 1658 unchecked cast to type {0} 1659 1660# 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol 1661compiler.warn.unchecked.meth.invocation.applied=\ 1662 unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\ 1663 required: {2}\n\ 1664 found: {3} 1665 1666# 0: type 1667compiler.warn.unchecked.generic.array.creation=\ 1668 unchecked generic array creation for varargs parameter of type {0} 1669 1670# 0: type 1671compiler.warn.unchecked.varargs.non.reifiable.type=\ 1672 Possible heap pollution from parameterized vararg type {0} 1673 1674# 0: symbol 1675compiler.warn.varargs.unsafe.use.varargs.param=\ 1676 Varargs method could cause heap pollution from non-reifiable varargs parameter {0} 1677 1678compiler.warn.missing.deprecated.annotation=\ 1679 deprecated item is not annotated with @Deprecated 1680 1681# 0: symbol kind 1682compiler.warn.deprecated.annotation.has.no.effect=\ 1683 @Deprecated annotation has no effect on this {0} declaration 1684 1685compiler.warn.invalid.archive.file=\ 1686 Unexpected file on path: {0} 1687 1688compiler.warn.unexpected.archive.file=\ 1689 Unexpected extension for archive file: {0} 1690 1691# 0: path 1692compiler.err.no.zipfs.for.archive=\ 1693 No file system provider is available to handle this file: {0} 1694 1695compiler.warn.div.zero=\ 1696 division by zero 1697 1698compiler.warn.empty.if=\ 1699 empty statement after if 1700 1701compiler.warn.annotation.method.not.found=\ 1702 Cannot find annotation method ''{1}()'' in type ''{0}'' 1703 1704compiler.warn.annotation.method.not.found.reason=\ 1705 Cannot find annotation method ''{1}()'' in type ''{0}'': {2} 1706 1707# 0: symbol, 1: name 1708compiler.warn.unknown.enum.constant=\ 1709 unknown enum constant {1}.{2} 1710 1711# 0: symbol, 1: name, 2: message segment 1712compiler.warn.unknown.enum.constant.reason=\ 1713 unknown enum constant {1}.{2}\n\ 1714 reason: {3} 1715 1716# 0: type, 1: type 1717compiler.warn.raw.class.use=\ 1718 found raw type: {0}\n\ 1719 missing type arguments for generic class {1} 1720 1721# 0: unused, 1: unused 1722compiler.warn.diamond.redundant.args=\ 1723 Redundant type arguments in new expression (use diamond operator instead). 1724 1725compiler.warn.potential.lambda.found=\ 1726 This anonymous inner class creation can be turned into a lambda expression. 1727 1728compiler.warn.method.redundant.typeargs=\ 1729 Redundant type arguments in method call. 1730 1731# 0: symbol, 1: message segment 1732compiler.warn.varargs.redundant.trustme.anno=\ 1733 Redundant {0} annotation. {1} 1734 1735# 0: symbol 1736compiler.warn.access.to.member.from.serializable.element=\ 1737 access to member {0} from serializable element can be publicly accessible to untrusted code 1738 1739# 0: symbol 1740compiler.warn.access.to.member.from.serializable.lambda=\ 1741 access to member {0} from serializable lambda can be publicly accessible to untrusted code 1742 1743##### 1744 1745## The following are tokens which are non-terminals in the language. They should 1746## be named as JLS3 calls them when translated to the appropriate language. 1747compiler.misc.token.identifier=\ 1748 <identifier> 1749 1750compiler.misc.token.character=\ 1751 <character> 1752 1753compiler.misc.token.string=\ 1754 <string> 1755 1756compiler.misc.token.integer=\ 1757 <integer> 1758 1759compiler.misc.token.long-integer=\ 1760 <long integer> 1761 1762compiler.misc.token.float=\ 1763 <float> 1764 1765compiler.misc.token.double=\ 1766 <double> 1767 1768compiler.misc.token.bad-symbol=\ 1769 <bad symbol> 1770 1771compiler.misc.token.end-of-input=\ 1772 <end of input> 1773 1774## The argument to the following string will always be one of the following: 1775## 1. one of the above non-terminals 1776## 2. a keyword (JLS1.8) 1777## 3. a boolean literal (JLS3.10.3) 1778## 4. the null literal (JLS3.10.7) 1779## 5. a Java separator (JLS3.11) 1780## 6. an operator (JLS3.12) 1781## 1782## This is the only place these tokens will be used. 1783# 0: token 1784compiler.err.expected=\ 1785 {0} expected 1786 1787# 0: token, 1: token 1788compiler.err.expected2=\ 1789 {0} or {1} expected 1790 1791# 0: token, 1: token, 2: token 1792compiler.err.expected3=\ 1793 {0}, {1}, or {2} expected 1794 1795compiler.err.premature.eof=\ 1796 reached end of file while parsing 1797 1798## The following are related in form, but do not easily fit the above paradigm. 1799compiler.err.dot.class.expected=\ 1800 ''.class'' expected 1801 1802## The argument to this string will always be either 'case' or 'default'. 1803# 0: token 1804compiler.err.orphaned=\ 1805 orphaned {0} 1806 1807# 0: name 1808compiler.misc.anonymous.class=\ 1809 <anonymous {0}> 1810 1811# 0: name, 1: type 1812compiler.misc.type.captureof=\ 1813 capture#{0} of {1} 1814 1815compiler.misc.type.captureof.1=\ 1816 capture#{0} 1817 1818compiler.misc.type.none=\ 1819 <none> 1820 1821compiler.misc.unnamed.package=\ 1822 unnamed package 1823 1824compiler.misc.unnamed.module=\ 1825 unnamed module 1826 1827##### 1828 1829# 0: symbol, 1: message segment 1830compiler.err.cant.access=\ 1831 cannot access {0}\n\ 1832 {1} 1833 1834# 0: name 1835compiler.misc.bad.class.file=\ 1836 class file is invalid for class {0} 1837 1838# 0: file name, 1: string (expected constant pool entry type), 2: number (constant pool index) 1839compiler.misc.bad.const.pool.entry=\ 1840 bad constant pool entry in {0}\n\ 1841 expected {1} at index {2} 1842 1843# 0: file name, 1: message segment 1844compiler.misc.bad.class.file.header=\ 1845 bad class file: {0}\n\ 1846 {1}\n\ 1847 Please remove or make sure it appears in the correct subdirectory of the classpath. 1848 1849# 0: file name, 1: message segment 1850compiler.misc.bad.source.file.header=\ 1851 bad source file: {0}\n\ 1852 {1}\n\ 1853 Please remove or make sure it appears in the correct subdirectory of the sourcepath. 1854 1855## The following are all possible strings for the second argument ({1}) of the 1856## above strings. 1857compiler.misc.bad.class.signature=\ 1858 bad class signature: {0} 1859 1860#0: symbol, 1: symbol 1861compiler.misc.bad.enclosing.class=\ 1862 bad enclosing class for {0}: {1} 1863 1864# 0: symbol 1865compiler.misc.bad.enclosing.method=\ 1866 bad enclosing method attribute for class {0} 1867 1868compiler.misc.bad.runtime.invisible.param.annotations=\ 1869 bad RuntimeInvisibleParameterAnnotations attribute: {0} 1870 1871compiler.misc.bad.const.pool.tag=\ 1872 bad constant pool tag: {0} 1873 1874compiler.misc.bad.const.pool.tag.at=\ 1875 bad constant pool tag: {0} at {1} 1876 1877compiler.misc.bad.signature=\ 1878 bad signature: {0} 1879 1880compiler.misc.bad.type.annotation.value=\ 1881 bad type annotation target type value: {0} 1882 1883compiler.misc.bad.module-info.name=\ 1884 bad class name 1885 1886compiler.misc.class.file.wrong.class=\ 1887 class file contains wrong class: {0} 1888 1889compiler.misc.module.info.invalid.super.class=\ 1890 module-info with invalid super class 1891 1892compiler.misc.class.file.not.found=\ 1893 class file for {0} not found 1894 1895# 0: string (classfile major version), 1: string (classfile minor version) 1896compiler.misc.invalid.default.interface=\ 1897 default method found in version {0}.{1} classfile 1898 1899# 0: string (classfile major version), 1: string (classfile minor version) 1900compiler.misc.invalid.static.interface=\ 1901 static method found in version {0}.{1} classfile 1902 1903# 0: string (classfile major version), 1: string (classfile minor version) 1904compiler.misc.anachronistic.module.info=\ 1905 module declaration found in version {0}.{1} classfile 1906 1907# 0: name 1908compiler.misc.file.doesnt.contain.class=\ 1909 file does not contain class {0} 1910 1911compiler.misc.file.does.not.contain.package=\ 1912 file does not contain package {0} 1913 1914compiler.misc.file.does.not.contain.module=\ 1915 file does not contain module declaration 1916 1917compiler.misc.illegal.start.of.class.file=\ 1918 illegal start of class file 1919 1920compiler.misc.unable.to.access.file=\ 1921 unable to access file: {0} 1922 1923compiler.misc.unicode.str.not.supported=\ 1924 unicode string in class file not supported 1925 1926compiler.misc.undecl.type.var=\ 1927 undeclared type variable: {0} 1928 1929compiler.misc.malformed.vararg.method=\ 1930 class file contains malformed variable arity method: {0} 1931 1932compiler.misc.wrong.version=\ 1933 class file has wrong version {0}.{1}, should be {2}.{3} 1934 1935##### 1936 1937# 0: type, 1: type or symbol 1938compiler.err.not.within.bounds=\ 1939 type argument {0} is not within bounds of type-variable {1} 1940 1941## The following are all possible strings for the second argument ({1}) of the 1942## above string. 1943 1944## none yet... 1945 1946##### 1947 1948# 0: message segment 1949compiler.err.prob.found.req=\ 1950 incompatible types: {0} 1951 1952# 0: message segment 1953compiler.misc.prob.found.req=\ 1954 incompatible types: {0} 1955 1956# 0: message segment, 1: type, 2: type 1957compiler.warn.prob.found.req=\ 1958 {0}\n\ 1959 required: {2}\n\ 1960 found: {1} 1961 1962# 0: type, 1: type 1963compiler.misc.inconvertible.types=\ 1964 {0} cannot be converted to {1} 1965 1966# 0: type, 1: type 1967compiler.misc.possible.loss.of.precision=\ 1968 possible lossy conversion from {0} to {1} 1969 1970compiler.misc.unchecked.assign=\ 1971 unchecked conversion 1972 1973# compiler.misc.storecheck=\ 1974# assignment might cause later store checks to fail 1975# compiler.misc.unchecked=\ 1976# assigned array cannot dynamically check its stores 1977compiler.misc.unchecked.cast.to.type=\ 1978 unchecked cast 1979 1980# compiler.err.star.expected=\ 1981# ''*'' expected 1982# compiler.err.no.elem.type=\ 1983# \[\*\] cannot have a type 1984 1985# 0: type 1986compiler.misc.try.not.applicable.to.type=\ 1987 try-with-resources not applicable to variable type\n\ 1988 ({0}) 1989 1990##### 1991 1992# 0: message segment or type, 1: message segment 1993compiler.err.type.found.req=\ 1994 unexpected type\n\ 1995 required: {1}\n\ 1996 found: {0} 1997 1998## The following are all possible strings for the first argument ({0}) of the 1999## above string. 2000compiler.misc.type.req.class=\ 2001 class 2002 2003compiler.misc.type.req.class.array=\ 2004 class or array 2005 2006compiler.misc.type.req.array.or.iterable=\ 2007 array or java.lang.Iterable 2008 2009compiler.misc.type.req.ref=\ 2010 reference 2011 2012compiler.misc.type.req.exact=\ 2013 class or interface without bounds 2014 2015# 0: type 2016compiler.misc.type.parameter=\ 2017 type parameter {0} 2018 2019##### 2020 2021## The following are all possible strings for the last argument of all those 2022## diagnostics whose key ends in ".1" 2023 2024# 0: type, 1: list of type 2025compiler.misc.no.unique.maximal.instance.exists=\ 2026 no unique maximal instance exists for type variable {0} with upper bounds {1} 2027 2028compiler.misc.no.unique.minimal.instance.exists=\ 2029 no unique minimal instance exists for type variable {0} with lower bounds {1} 2030 2031# 0: type, 1: list of type 2032compiler.misc.incompatible.upper.bounds=\ 2033 inference variable {0} has incompatible upper bounds {1} 2034 2035# 0: type, 1: list of type 2036compiler.misc.incompatible.eq.bounds=\ 2037 inference variable {0} has incompatible equality constraints {1} 2038 2039# 0: type, 1: list of type, 2: list of type 2040compiler.misc.incompatible.eq.upper.bounds=\ 2041 inference variable {0} has incompatible bounds\n\ 2042 equality constraints: {1}\n\ 2043 upper bounds: {2} 2044 2045# 0: type, 1: list of type, 2: list of type 2046compiler.misc.incompatible.upper.lower.bounds=\ 2047 inference variable {0} has incompatible bounds\n\ 2048 upper bounds: {1}\n\ 2049 lower bounds: {2} 2050 2051# 0: type, 1: list of type, 2: list of type 2052compiler.misc.incompatible.eq.lower.bounds=\ 2053 inference variable {0} has incompatible bounds\n\ 2054 equality constraints: {1}\n\ 2055 lower bounds: {2} 2056 2057# 0: list of type, 1: type, 2: type 2058compiler.misc.infer.no.conforming.instance.exists=\ 2059 no instance(s) of type variable(s) {0} exist so that {1} conforms to {2} 2060 2061# 0: list of type, 1: message segment 2062compiler.misc.infer.no.conforming.assignment.exists=\ 2063 cannot infer type-variable(s) {0}\n\ 2064 (argument mismatch; {1}) 2065 2066# 0: list of type 2067compiler.misc.infer.arg.length.mismatch=\ 2068 cannot infer type-variable(s) {0}\n\ 2069 (actual and formal argument lists differ in length) 2070 2071# 0: list of type, 1: message segment 2072compiler.misc.infer.varargs.argument.mismatch=\ 2073 cannot infer type-variable(s) {0}\n\ 2074 (varargs mismatch; {1}) 2075 2076# 0: type, 1: list of type 2077compiler.misc.inferred.do.not.conform.to.upper.bounds=\ 2078 inferred type does not conform to upper bound(s)\n\ 2079 inferred: {0}\n\ 2080 upper bound(s): {1} 2081 2082# 0: type, 1: list of type 2083compiler.misc.inferred.do.not.conform.to.lower.bounds=\ 2084 inferred type does not conform to lower bound(s)\n\ 2085 inferred: {0}\n\ 2086 lower bound(s): {1} 2087 2088# 0: type, 1: list of type 2089compiler.misc.inferred.do.not.conform.to.eq.bounds=\ 2090 inferred type does not conform to equality constraint(s)\n\ 2091 inferred: {0}\n\ 2092 equality constraints(s): {1} 2093 2094# 0: symbol 2095compiler.misc.diamond=\ 2096 {0}<> 2097 2098# 0: type 2099compiler.misc.diamond.non.generic=\ 2100 cannot use ''<>'' with non-generic class {0} 2101 2102# 0: list of type, 1: message segment 2103compiler.misc.diamond.invalid.arg=\ 2104 type argument {0} inferred for {1} is not allowed in this context\n\ 2105 inferred argument is not expressible in the Signature attribute 2106 2107# 0: list of type, 1: message segment 2108compiler.misc.diamond.invalid.args=\ 2109 type arguments {0} inferred for {1} are not allowed in this context\n\ 2110 inferred arguments are not expressible in the Signature attribute 2111 2112# 0: unused 2113compiler.misc.diamond.and.explicit.params=\ 2114 cannot use ''<>'' with explicit type parameters for constructor 2115 2116# 0: unused 2117compiler.misc.mref.infer.and.explicit.params=\ 2118 cannot use raw constructor reference with explicit type parameters for constructor 2119 2120# 0: type, 1: list of type 2121compiler.misc.explicit.param.do.not.conform.to.bounds=\ 2122 explicit type argument {0} does not conform to declared bound(s) {1} 2123 2124compiler.misc.arg.length.mismatch=\ 2125 actual and formal argument lists differ in length 2126 2127# 0: message segment 2128compiler.misc.no.conforming.assignment.exists=\ 2129 argument mismatch; {0} 2130 2131# 0: message segment 2132compiler.misc.varargs.argument.mismatch=\ 2133 varargs mismatch; {0} 2134 2135##### 2136 2137# 0: symbol or type, 1: file name 2138compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\ 2139 auxiliary class {0} in {1} should not be accessed from outside its own source file 2140 2141## The first argument ({0}) is a "kindname". 2142# 0: symbol kind, 1: symbol, 2: symbol 2143compiler.err.abstract.cant.be.accessed.directly=\ 2144 abstract {0} {1} in {2} cannot be accessed directly 2145 2146## The first argument ({0}) is a "kindname". 2147# 0: symbol kind, 1: symbol 2148compiler.err.non-static.cant.be.ref=\ 2149 non-static {0} {1} cannot be referenced from a static context 2150 2151# 0: symbol kind, 1: symbol 2152compiler.misc.bad.static.method.in.unbound.lookup=\ 2153 unexpected static {0} {1} found in unbound lookup 2154 2155# 0: symbol kind, 1: symbol 2156compiler.misc.bad.instance.method.in.unbound.lookup=\ 2157 unexpected instance {0} {1} found in unbound lookup 2158 2159# 0: symbol kind, 1: symbol 2160compiler.misc.bad.static.method.in.bound.lookup=\ 2161 unexpected static {0} {1} found in bound lookup 2162 2163## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list 2164## of kindnames (the list should be identical to that provided in source. 2165compiler.err.unexpected.type=\ 2166 unexpected type\n\ 2167 required: {0}\n\ 2168 found: {1} 2169 2170compiler.err.unexpected.lambda=\ 2171 lambda expression not expected here 2172 2173compiler.err.unexpected.mref=\ 2174 method reference not expected here 2175 2176## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.) 2177## The second argument {1} is the non-resolved symbol 2178## The third argument {2} is a list of type parameters (non-empty if {1} is a method) 2179## The fourth argument {3} is a list of argument types (non-empty if {1} is a method) 2180# 0: symbol kind, 1: name, 2: unused, 3: unused 2181compiler.err.cant.resolve=\ 2182 cannot find symbol\n\ 2183 symbol: {0} {1} 2184 2185# 0: symbol kind, 1: name, 2: unused, 3: list of type 2186compiler.err.cant.resolve.args=\ 2187 cannot find symbol\n\ 2188 symbol: {0} {1}({3}) 2189 2190# 0: symbol kind, 1: name, 2: list of type, 3: list of type 2191compiler.err.cant.resolve.args.params=\ 2192 cannot find symbol\n\ 2193 symbol: {0} <{2}>{1}({3}) 2194 2195## arguments from {0} to {3} have the same meaning as above 2196## The fifth argument {4} is a location subdiagnostic (see below) 2197# 0: symbol kind, 1: name, 2: unused, 3: unused, 4: message segment 2198compiler.err.cant.resolve.location=\ 2199 cannot find symbol\n\ 2200 symbol: {0} {1}\n\ 2201 location: {4} 2202 2203# 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment 2204compiler.err.cant.resolve.location.args=\ 2205 cannot find symbol\n\ 2206 symbol: {0} {1}({3})\n\ 2207 location: {4} 2208 2209# 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment 2210compiler.err.cant.resolve.location.args.params=\ 2211 cannot find symbol\n\ 2212 symbol: {0} <{2}>{1}({3})\n\ 2213 location: {4} 2214 2215### Following are replicated/used for method reference diagnostics 2216 2217# 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment 2218compiler.misc.cant.resolve.location.args=\ 2219 cannot find symbol\n\ 2220 symbol: {0} {1}({3})\n\ 2221 location: {4} 2222 2223# 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment 2224compiler.misc.cant.resolve.location.args.params=\ 2225 cannot find symbol\n\ 2226 symbol: {0} <{2}>{1}({3})\n\ 2227 location: {4} 2228 2229##a location subdiagnostic is composed as follows: 2230## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.) 2231## The second argument {1} is the location name 2232## The third argument {2} is the location type (only when {1} is a variable name) 2233 2234# 0: symbol kind, 1: type or symbol, 2: unused 2235compiler.misc.location=\ 2236 {0} {1} 2237 2238# 0: symbol kind, 1: symbol, 2: type 2239compiler.misc.location.1=\ 2240 {0} {1} of type {2} 2241 2242## The following are all possible string for "kindname". 2243## They should be called whatever the JLS calls them after it been translated 2244## to the appropriate language. 2245# compiler.misc.kindname.constructor=\ 2246# static member 2247compiler.misc.kindname.annotation=\ 2248 @interface 2249 2250compiler.misc.kindname.constructor=\ 2251 constructor 2252 2253compiler.misc.kindname.enum=\ 2254 enum 2255 2256compiler.misc.kindname.interface=\ 2257 interface 2258 2259compiler.misc.kindname.static=\ 2260 static 2261 2262compiler.misc.kindname.type.variable=\ 2263 type variable 2264 2265compiler.misc.kindname.type.variable.bound=\ 2266 bound of type variable 2267 2268compiler.misc.kindname.variable=\ 2269 variable 2270 2271compiler.misc.kindname.value=\ 2272 value 2273 2274compiler.misc.kindname.method=\ 2275 method 2276 2277compiler.misc.kindname.class=\ 2278 class 2279 2280compiler.misc.kindname.package=\ 2281 package 2282 2283compiler.misc.kindname.module=\ 2284 module 2285 2286compiler.misc.kindname.static.init=\ 2287 static initializer 2288 2289compiler.misc.kindname.instance.init=\ 2290 instance initializer 2291 2292##### 2293 2294compiler.misc.no.args=\ 2295 no arguments 2296 2297# 0: message segment 2298compiler.err.override.static=\ 2299 {0}\n\ 2300 overriding method is static 2301 2302# 0: message segment, 1: set of modifier 2303compiler.err.override.meth=\ 2304 {0}\n\ 2305 overridden method is {1} 2306 2307# 0: message segment, 1: type 2308compiler.err.override.meth.doesnt.throw=\ 2309 {0}\n\ 2310 overridden method does not throw {1} 2311 2312# In the following string {1} is a space separated list of Java Keywords, as 2313# they would have been declared in the source code 2314# 0: message segment, 1: set of modifier 2315compiler.err.override.weaker.access=\ 2316 {0}\n\ 2317 attempting to assign weaker access privileges; was {1} 2318 2319# 0: message segment, 1: type, 2: type 2320compiler.err.override.incompatible.ret=\ 2321 {0}\n\ 2322 return type {1} is not compatible with {2} 2323 2324# 0: message segment, 1: type, 2: type 2325compiler.warn.override.unchecked.ret=\ 2326 {0}\n\ 2327 return type requires unchecked conversion from {1} to {2} 2328 2329# 0: message segment, 1: type 2330compiler.warn.override.unchecked.thrown=\ 2331 {0}\n\ 2332 overridden method does not throw {1} 2333 2334# 0: symbol 2335compiler.warn.override.equals.but.not.hashcode=\ 2336 Class {0} overrides equals, but neither it nor any superclass overrides hashCode method 2337 2338## The following are all possible strings for the first argument ({0}) of the 2339## above strings. 2340# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2341compiler.misc.cant.override=\ 2342 {0} in {1} cannot override {2} in {3} 2343 2344# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2345compiler.misc.cant.hide=\ 2346 {0} in {1} cannot hide {2} in {3} 2347 2348# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2349compiler.misc.cant.implement=\ 2350 {0} in {1} cannot implement {2} in {3} 2351 2352# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2353compiler.misc.clashes.with=\ 2354 {0} in {1} clashes with {2} in {3} 2355 2356# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2357compiler.misc.unchecked.override=\ 2358 {0} in {1} overrides {2} in {3} 2359 2360# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2361compiler.misc.unchecked.implement=\ 2362 {0} in {1} implements {2} in {3} 2363 2364# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2365compiler.misc.unchecked.clash.with=\ 2366 {0} in {1} overrides {2} in {3} 2367 2368# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2369compiler.misc.varargs.override=\ 2370 {0} in {1} overrides {2} in {3} 2371 2372# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2373compiler.misc.varargs.implement=\ 2374 {0} in {1} implements {2} in {3} 2375 2376# 0: symbol, 1: symbol, 2: symbol, 3: symbol 2377compiler.misc.varargs.clash.with=\ 2378 {0} in {1} overrides {2} in {3} 2379 2380# 0: symbol kind, 1: symbol, 2: symbol, 3: message segment 2381compiler.misc.inapplicable.method=\ 2382 {0} {1}.{2} is not applicable\n\ 2383 ({3}) 2384 2385######################################## 2386# Diagnostics for language feature changes 2387######################################## 2388 2389# 0: string 2390compiler.err.modules.not.supported.in.source=\ 2391 modules are not supported in -source {0}\n\ 2392 (use -source 9 or higher to enable modules) 2393 2394# 0: string 2395compiler.misc.diamond.and.anon.class.not.supported.in.source=\ 2396 cannot use ''<>'' with anonymous inner classes in -source {0}\n\ 2397 (use -source 9 or higher to enable ''<>'' with anonymous inner classes) 2398 2399# 0: string 2400compiler.err.unsupported.binary.lit=\ 2401 binary literals are not supported in -source {0}\n\ 2402 (use -source 7 or higher to enable binary literals) 2403 2404# 0: string 2405compiler.err.unsupported.underscore.lit=\ 2406 underscores in literals are not supported in -source {0}\n\ 2407 (use -source 7 or higher to enable underscores in literals) 2408 2409# 0: string 2410compiler.err.try.with.resources.not.supported.in.source=\ 2411 try-with-resources is not supported in -source {0}\n\ 2412 (use -source 7 or higher to enable try-with-resources) 2413 2414# 0: string 2415compiler.err.var.in.try.with.resources.not.supported.in.source=\ 2416 variables in try-with-resources not supported in -source {0}\n\ 2417 (use -source 9 or higher to enable variables in try-with-resources) 2418 2419compiler.warn.underscore.as.identifier=\ 2420 as of release 9, ''_'' is a keyword, and may not be used as an identifier 2421 2422compiler.err.underscore.as.identifier=\ 2423 as of release 9, ''_'' is a keyword, and may not be used as an identifier 2424 2425compiler.err.underscore.as.identifier.in.lambda=\ 2426 ''_'' used as an identifier\n\ 2427 (use of ''_'' as an identifier is forbidden for lambda parameters) 2428 2429compiler.err.enum.as.identifier=\ 2430 as of release 5, ''enum'' is a keyword, and may not be used as an identifier 2431 2432compiler.err.assert.as.identifier=\ 2433 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier 2434 2435# TODO 308: make a better error message 2436compiler.err.this.as.identifier=\ 2437 as of release 8, ''this'' is allowed as the parameter name for the receiver type only, which has to be the first parameter 2438 2439# 0: symbol 2440compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\ 2441 receiver parameter not applicable for constructor of top-level class 2442 2443# TODO 308: make a better error message 2444# 0: symbol 2445compiler.err.cant.type.annotate.scoping.1=\ 2446 scoping construct cannot be annotated with type-use annotation: {0} 2447 2448# TODO 308: make a better error message 2449# 0: list of symbol 2450compiler.err.cant.type.annotate.scoping=\ 2451 scoping construct cannot be annotated with type-use annotations: {0} 2452 2453# 0: type, 1: type 2454compiler.err.incorrect.receiver.name=\ 2455 the receiver name does not match the enclosing class type\n\ 2456 required: {0}\n\ 2457 found: {1} 2458 2459# 0: type, 1: type 2460compiler.err.incorrect.receiver.type=\ 2461 the receiver type does not match the enclosing class type\n\ 2462 required: {0}\n\ 2463 found: {1} 2464 2465# 0: type, 1: type 2466compiler.err.incorrect.constructor.receiver.type=\ 2467 the receiver type does not match the enclosing outer class type\n\ 2468 required: {0}\n\ 2469 found: {1} 2470 2471# 0: type, 1: type 2472compiler.err.incorrect.constructor.receiver.name=\ 2473 the receiver name does not match the enclosing outer class type\n\ 2474 required: {0}\n\ 2475 found: {1} 2476 2477compiler.err.no.annotations.on.dot.class=\ 2478 no annotations are allowed in the type of a class literal 2479 2480# 0: string 2481compiler.err.type.annotations.not.supported.in.source=\ 2482 type annotations are not supported in -source {0}\n\ 2483(use -source 8 or higher to enable type annotations) 2484 2485# 0: string 2486compiler.err.annotations.after.type.params.not.supported.in.source=\ 2487 annotations after method type parameters are not supported in -source {0}\n\ 2488(use -source 8 or higher to enable annotations after method type parameters) 2489 2490# 0: string 2491compiler.err.repeatable.annotations.not.supported.in.source=\ 2492 repeated annotations are not supported in -source {0}\n\ 2493(use -source 8 or higher to enable repeated annotations) 2494 2495# 0: string 2496compiler.err.diamond.not.supported.in.source=\ 2497 diamond operator is not supported in -source {0}\n\ 2498 (use -source 7 or higher to enable diamond operator) 2499 2500# 0: string 2501compiler.err.multicatch.not.supported.in.source=\ 2502 multi-catch statement is not supported in -source {0}\n\ 2503 (use -source 7 or higher to enable multi-catch statement) 2504 2505# 0: string 2506compiler.err.string.switch.not.supported.in.source=\ 2507 strings in switch are not supported in -source {0}\n\ 2508 (use -source 7 or higher to enable strings in switch) 2509 2510# 0: string 2511compiler.err.lambda.not.supported.in.source=\ 2512 lambda expressions are not supported in -source {0}\n\ 2513 (use -source 8 or higher to enable lambda expressions) 2514 2515# 0: string 2516compiler.err.method.references.not.supported.in.source=\ 2517 method references are not supported in -source {0}\n\ 2518 (use -source 8 or higher to enable method references) 2519 2520# 0: string 2521compiler.err.default.methods.not.supported.in.source=\ 2522 default methods are not supported in -source {0}\n\ 2523 (use -source 8 or higher to enable default methods) 2524 2525# 0: string 2526compiler.err.intersection.types.in.cast.not.supported.in.source=\ 2527 intersection types in cast are not supported in -source {0}\n\ 2528 (use -source 8 or higher to enable default methods) 2529 2530# 0: string 2531compiler.err.static.intf.methods.not.supported.in.source=\ 2532 static interface methods are not supported in -source {0}\n\ 2533 (use -source 8 or higher to enable static interface methods) 2534 2535# 0: string 2536compiler.err.static.intf.method.invoke.not.supported.in.source=\ 2537 static interface method invocations are not supported in -source {0}\n\ 2538 (use -source 8 or higher to enable static interface method invocations) 2539 2540# 0: string 2541compiler.err.private.intf.methods.not.supported.in.source=\ 2542 private interface methods are not supported in -source {0}\n\ 2543 (use -source 9 or higher to enable private interface methods) 2544 2545######################################## 2546# Diagnostics for verbose resolution 2547# used by Resolve (debug only) 2548######################################## 2549 2550# 0: number, 1: symbol, 2: unused 2551compiler.misc.applicable.method.found=\ 2552 #{0} applicable method found: {1} 2553 2554# 0: number, 1: symbol, 2: message segment 2555compiler.misc.applicable.method.found.1=\ 2556 #{0} applicable method found: {1}\n\ 2557 ({2}) 2558 2559# 0: number, 1: symbol, 2: message segment 2560compiler.misc.not.applicable.method.found=\ 2561 #{0} not applicable method found: {1}\n\ 2562 ({2}) 2563 2564# 0: type 2565compiler.misc.partial.inst.sig=\ 2566 partially instantiated to: {0} 2567 2568# 0: name, 1: symbol, 2: number, 3: string (method resolution phase), 4: list of type or message segment, 5: list of type or message segment 2569compiler.note.verbose.resolve.multi=\ 2570 resolving method {0} in type {1} to candidate {2}\n\ 2571 phase: {3}\n\ 2572 with actuals: {4}\n\ 2573 with type-args: {5}\n\ 2574 candidates: 2575 2576# 0: name, 1: symbol, 2: unused, 3: string (method resolution phase), 4: list of type or message segment, 5: list of type or message segment 2577compiler.note.verbose.resolve.multi.1=\ 2578 erroneous resolution for method {0} in type {1}\n\ 2579 phase: {3}\n\ 2580 with actuals: {4}\n\ 2581 with type-args: {5}\n\ 2582 candidates: 2583 2584# 0: symbol, 1: type, 2: type 2585compiler.note.deferred.method.inst=\ 2586 Deferred instantiation of method {0}\n\ 2587 instantiated signature: {1}\n\ 2588 target-type: {2} 2589 2590######################################## 2591# Diagnostics for where clause implementation 2592# used by the RichDiagnosticFormatter. 2593######################################## 2594 2595compiler.misc.type.null=\ 2596 <null> 2597 2598# X#n (where n is an int id) is disambiguated tvar name 2599# 0: name, 1: number 2600compiler.misc.type.var=\ 2601 {0}#{1} 2602 2603# CAP#n (where n is an int id) is an abbreviation for 'captured type' 2604# 0: number 2605compiler.misc.captured.type=\ 2606 CAP#{0} 2607 2608# <INT#n> (where n is an int id) is an abbreviation for 'intersection type' 2609# 0: number 2610compiler.misc.intersection.type=\ 2611 INT#{0} 2612 2613# where clause for captured type: contains upper ('extends {1}') and lower 2614# ('super {2}') bound along with the wildcard that generated this captured type ({3}) 2615# 0: type, 1: type, 2: type, 3: type 2616compiler.misc.where.captured=\ 2617 {0} extends {1} super: {2} from capture of {3} 2618 2619# compact where clause for captured type: contains upper ('extends {1}') along 2620# with the wildcard that generated this captured type ({3}) 2621# 0: type, 1: type, 2: unused, 3: type 2622compiler.misc.where.captured.1=\ 2623 {0} extends {1} from capture of {3} 2624 2625# where clause for type variable: contains upper bound(s) ('extends {1}') along with 2626# the kindname ({2}) and location ({3}) in which the typevar has been declared 2627# 0: type, 1: list of type, 2: symbol kind, 3: symbol 2628compiler.misc.where.typevar=\ 2629 {0} extends {1} declared in {2} {3} 2630 2631# compact where clause for type variable: contains the kindname ({2}) and location ({3}) 2632# in which the typevar has been declared 2633# 0: type, 1: list of type, 2: symbol kind, 3: symbol 2634compiler.misc.where.typevar.1=\ 2635 {0} declared in {2} {3} 2636 2637# where clause for fresh type variable: contains upper bound(s) ('extends {1}'). 2638# Since a fresh type-variable is synthetic - there's no location/kindname here. 2639# 0: type, 1: list of type 2640compiler.misc.where.fresh.typevar=\ 2641 {0} extends {1} 2642 2643# where clause for type variable: contains all the upper bound(s) ('extends {1}') 2644# of this intersection type 2645# 0: type, 1: list of type 2646compiler.misc.where.intersection=\ 2647 {0} extends {1} 2648 2649### Where clause headers ### 2650compiler.misc.where.description.captured=\ 2651 where {0} is a fresh type-variable: 2652 2653# 0: set of type 2654compiler.misc.where.description.typevar=\ 2655 where {0} is a type-variable: 2656 2657# 0: set of type 2658compiler.misc.where.description.intersection=\ 2659 where {0} is an intersection type: 2660 2661# 0: set of type 2662compiler.misc.where.description.captured.1=\ 2663 where {0} are fresh type-variables: 2664 2665# 0: set of type 2666compiler.misc.where.description.typevar.1=\ 2667 where {0} are type-variables: 2668 2669# 0: set of type 2670compiler.misc.where.description.intersection.1=\ 2671 where {0} are intersection types: 2672 2673### 2674# errors related to doc comments 2675 2676compiler.err.dc.bad.entity=\ 2677 bad HTML entity 2678 2679compiler.err.dc.bad.gt=\ 2680 bad use of ''>'' 2681 2682compiler.err.dc.bad.inline.tag=\ 2683 incorrect use of inline tag 2684 2685compiler.err.dc.identifier.expected=\ 2686 identifier expected 2687 2688compiler.err.dc.malformed.html=\ 2689 malformed HTML 2690 2691compiler.err.dc.missing.semicolon=\ 2692 semicolon missing 2693 2694compiler.err.dc.no.content=\ 2695 no content 2696 2697compiler.err.dc.no.tag.name=\ 2698 no tag name after '@' 2699 2700compiler.err.dc.gt.expected=\ 2701 ''>'' expected 2702 2703compiler.err.dc.ref.bad.parens=\ 2704 '')'' missing in reference 2705 2706compiler.err.dc.ref.syntax.error=\ 2707 syntax error in reference 2708 2709compiler.err.dc.ref.unexpected.input=\ 2710 unexpected text 2711 2712compiler.err.dc.unexpected.content=\ 2713 unexpected content 2714 2715compiler.err.dc.unterminated.inline.tag=\ 2716 unterminated inline tag 2717 2718compiler.err.dc.unterminated.signature=\ 2719 unterminated signature 2720 2721compiler.err.dc.unterminated.string=\ 2722 unterminated string 2723 2724### 2725# errors related to modules 2726 2727compiler.err.expected.module=\ 2728 expected ''module'' 2729 2730# 0: symbol 2731compiler.err.module.not.found=\ 2732 module not found: {0} 2733 2734compiler.err.too.many.modules=\ 2735 too many module declarations found 2736 2737# 0: symbol 2738compiler.err.duplicate.module=\ 2739 duplicate module: {0} 2740 2741# 0: symbol 2742compiler.err.duplicate.requires=\ 2743 duplicate requires: {0} 2744 2745# 0: symbol 2746compiler.err.duplicate.exports=\ 2747 duplicate export: {0} 2748 2749# 0: symbol, 1: symbol 2750compiler.err.duplicate.provides=\ 2751 duplicate provides: service {0}, implementation {1} 2752 2753# 0: symbol 2754compiler.err.duplicate.uses=\ 2755 duplicate uses: {0} 2756 2757# 0: symbol 2758compiler.err.service.implementation.is.abstract=\ 2759 the service implementation is an abstract class: {0} 2760 2761compiler.err.service.implementation.must.be.subtype.of.service.interface=\ 2762 the service implementation type must be a subtype of the service interface type 2763 2764# 0: symbol 2765compiler.err.service.implementation.is.inner=\ 2766 the service implementation is an inner class: {0} 2767 2768# 0: symbol 2769compiler.err.service.definition.is.inner=\ 2770 the service definition is an inner class: {0} 2771 2772# 0: symbol 2773compiler.err.service.definition.is.enum=\ 2774 the service definition is an enum: {0} 2775 2776# 0: symbol 2777compiler.err.service.implementation.doesnt.have.a.no.args.constructor=\ 2778 the service implementation does not have a default constructor: {0} 2779 2780# 0: symbol 2781compiler.err.service.implementation.no.args.constructor.not.public=\ 2782 the no arguments constructor of the service implementation is not public: {0} 2783 2784# 0: symbol 2785compiler.err.package.empty.or.not.found=\ 2786 package is empty or does not exist: {0} 2787 2788compiler.err.no.output.dir=\ 2789 no class output directory specified 2790 2791compiler.err.unnamed.pkg.not.allowed.named.modules=\ 2792 unnamed package is not allowed in named modules 2793 2794# 0: name, 1: name 2795compiler.err.module.name.mismatch=\ 2796 module name {0} does not match expected name {1} 2797 2798# 0: name, 1: name 2799compiler.misc.module.name.mismatch=\ 2800 module name {0} does not match expected name {1} 2801 2802compiler.err.module.decl.sb.in.module-info.java=\ 2803 module declarations should be in a file named module-info.java 2804 2805compiler.err.module-info.with.xmodule.sourcepath=\ 2806 illegal combination of -Xmodule and module-info on sourcepath 2807 2808compiler.err.module-info.with.xmodule.classpath=\ 2809 illegal combination of -Xmodule and module-info on classpath 2810 2811compiler.err.xmodule.no.module.sourcepath=\ 2812 illegal combination of -Xmodule and --module-source-path 2813 2814compiler.err.processorpath.no.processormodulepath=\ 2815 illegal combination of -processorpath and --processor-module-path 2816 2817# 0: symbol 2818compiler.err.package.in.other.module=\ 2819 package exists in another module: {0} 2820 2821# 0: symbol, 1: name, 2: symbol, 3: symbol 2822compiler.err.package.clash.from.requires=\ 2823 module {0} reads package {1} from both {2} and {3} 2824 2825# 0: string 2826compiler.err.module.not.found.in.module.source.path=\ 2827 module {0} not found in module source path 2828 2829compiler.err.output.dir.must.be.specified.with.dash.m.option=\ 2830 class output directory must be specified if -m option is used 2831 2832compiler.err.modulesourcepath.must.be.specified.with.dash.m.option=\ 2833 module source path must be specified if -m option is used 2834 2835# 0: symbol 2836compiler.err.service.implementation.not.in.right.module=\ 2837 service implementation must be defined in the same module as the provides directive 2838 2839# 0: symbol 2840compiler.err.cyclic.requires=\ 2841 cyclic dependence involving {0} 2842 2843# 0: fragment, 1: name 2844compiler.err.duplicate.module.on.path=\ 2845 duplicate module on {0}\nmodule in {1} 2846 2847# 0: string 2848compiler.err.xaddexports.malformed.entry=\ 2849 bad value for --add-exports {0} 2850 2851# 0: string 2852compiler.err.xaddexports.too.many=\ 2853 multiple --add-exports options for {0} 2854 2855# 0: string 2856compiler.err.xaddreads.malformed.entry=\ 2857 bad value for --add-reads {0} 2858 2859# 0: string 2860compiler.err.xaddreads.too.many=\ 2861 multiple --add-reads options for {0} 2862 2863compiler.err.addmods.all.module.path.invalid=\ 2864 --add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module 2865 2866compiler.misc.locn.module_source_path=\ 2867 module source path 2868 2869compiler.misc.locn.upgrade_module_path=\ 2870 upgrade module path 2871 2872compiler.misc.locn.system_modules=\ 2873 system modules 2874 2875compiler.misc.locn.module_path=\ 2876 application module path 2877 2878compiler.misc.cant.resolve.modules=\ 2879 cannot resolve modules 2880 2881# 0: symbol 2882compiler.err.cant.find.module=\ 2883 cannot find module: {0} 2884 2885# 0: string 2886compiler.err.invalid.module.specifier=\ 2887 module specifier not allowed: {0} 2888 2889# 0: symbol 2890compiler.warn.service.provided.but.not.exported.or.used=\ 2891 service interface provided but not exported or used 2892 2893# 0: kind name, 1: symbol, 2: symbol 2894compiler.warn.leaks.not.accessible=\ 2895 {0} {1} in module {2} is not accessible to clients that require this module 2896# 0: kind name, 1: symbol, 2: symbol 2897compiler.warn.leaks.not.accessible.unexported=\ 2898 {0} {1} in module {2} is not exported 2899# 0: kind name, 1: symbol, 2: symbol 2900compiler.warn.leaks.not.accessible.not.required.public=\ 2901 {0} {1} in module {2} is not indirectly exported using 'requires public' 2902# 0: kind name, 1: symbol, 2: symbol 2903compiler.warn.leaks.not.accessible.unexported.qualified=\ 2904 {0} {1} in module {2} may not be visible to all clients that require this module 2905 2906### 2907# errors related to options 2908 2909# 0: string, 1: string 2910compiler.err.illegal.argument.for.option=\ 2911 illegal argument for {0}: {1} 2912