forked from lihongbin/Javac-Research
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compiler.properties
1136 lines (980 loc) · 39.2 KB
/
compiler.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# @(#)compiler.properties 1.132 07/03/21
#
# Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
##
## errors
##
compiler.err.abstract.cant.be.instantiated=\
{0} is abstract; cannot be instantiated
compiler.err.abstract.meth.cant.have.body=\
abstract methods cannot have a body
compiler.err.already.annotated=\
{0} {1} has already been annotated
compiler.err.already.defined=\
{0} is already defined in {1}
compiler.err.already.defined.single.import=\
{0} is already defined in a single-type import
compiler.err.already.defined.static.single.import=\
{0} is already defined in a static single-type import
compiler.err.already.defined.this.unit=\
{0} is already defined in this compilation unit
compiler.err.annotation.missing.default.value=\
annotation {0} is missing {1}
compiler.err.annotation.not.valid.for.type=\
annotation not valid for a value of type {0}
compiler.err.annotation.type.not.applicable=\
annotation type not applicable to this kind of declaration
compiler.err.annotation.value.must.be.annotation=\
annotation value must be an annotation
compiler.err.annotation.value.must.be.class.literal=\
annotation value must be a class literal
compiler.err.annotation.value.must.be.name.value=\
annotation values must be of the form ''name=value''
compiler.err.annotation.value.not.allowable.type=\
annotation value not of an allowable type
compiler.err.anon.class.impl.intf.no.args=\
anonymous class implements interface; cannot have arguments
compiler.err.anon.class.impl.intf.no.typeargs=\
anonymous class implements interface; cannot have type arguments
compiler.err.anon.class.impl.intf.no.qual.for.new=\
anonymous class implements interface; cannot have qualifier for new
compiler.err.array.and.varargs=\
cannot declare both {0} and {1} in {2}
compiler.err.array.dimension.missing=\
array dimension missing
compiler.err.array.req.but.found=\
array required, but {0} found
compiler.err.assignment.from.super-bound=\
assigning from wildcard {0}
compiler.err.assignment.to.extends-bound=\
assigning to wildcard {0}
compiler.err.attribute.value.must.be.constant=\
attribute value must be constant
compiler.err.break.outside.switch.loop=\
break outside switch or loop
compiler.err.call.must.be.first.stmt.in.ctor=\
call to {0} must be first statement in constructor
compiler.err.cant.apply.symbol=\
{0} in {1} cannot be applied to {2}({3})
compiler.err.cant.apply.symbol.1=\
{0} in {1} cannot be applied to {2}({3}); {4}
compiler.err.cant.assign.val.to.final.var=\
cannot assign a value to final variable {0}
compiler.err.cant.deref=\
{0} cannot be dereferenced
compiler.err.cant.extend.intf.annotation=\
''extends'' not allowed for @interfaces
compiler.err.cant.inherit.from.final=\
cannot inherit from final {0}
compiler.err.cant.ref.before.ctor.called=\
cannot reference {0} before supertype constructor has been called
compiler.err.cant.ret.val.from.meth.decl.void=\
cannot return a value from method whose result type is void
compiler.err.cant.select.static.class.from.param.type=\
cannot select a static class from a parameterized type
compiler.err.cant.inherit.diff.arg=\
{0} cannot be inherited with different arguments: <{1}> and <{2}>
compiler.err.catch.without.try=\
''catch'' without ''try''
compiler.err.clash.with.pkg.of.same.name=\
{0} clashes with package of same name
compiler.err.const.expr.req=\
constant expression required
compiler.err.enum.const.req=\
unqualified enumeration constant name required
compiler.err.cont.outside.loop=\
continue outside of loop
compiler.err.cyclic.inheritance=\
cyclic inheritance involving {0}
compiler.err.cyclic.annotation.element=\
cyclic annotation element type
compiler.err.call.to.super.not.allowed.in.enum.ctor=\
call to super not allowed in enum constructor
compiler.err.no.superclass=\
{0} has no superclass
compiler.err.concrete.inheritance.conflict=\
methods {0} from {1} and {2} from {3} are inherited with the same signature
compiler.err.default.allowed.in.intf.annotation.member=\
default value only allowed in an @interface member
compiler.err.doesnt.exist=\
package {0} does not exist
compiler.err.duplicate.annotation=\
duplicate annotation
compiler.err.duplicate.annotation.member.value=\
duplicate annotation member value {0} in {1}
compiler.err.duplicate.class=\
duplicate class: {0}
compiler.err.duplicate.case.label=\
duplicate case label
compiler.err.duplicate.default.label=\
duplicate default label
compiler.err.else.without.if=\
''else'' without ''if''
compiler.err.empty.char.lit=\
empty character literal
compiler.err.encl.class.required=\
an enclosing instance that contains {0} is required
compiler.err.enum.annotation.must.be.enum.constant=\
an enum annotation value must be an enum constant
compiler.err.enum.cant.be.instantiated=\
enum types may not be instantiated
compiler.err.enum.label.must.be.unqualified.enum=\
an enum switch case label must be the unqualified name of an enumeration constant
compiler.err.enum.no.subclassing=\
classes cannot directly extend java.lang.Enum
compiler.err.enum.types.not.extensible=\
enum types are not extensible
compiler.err.enum.no.finalize=\
enums cannot have finalize methods
compiler.err.error.reading.file=\
error reading {0}; {1}
compiler.err.except.already.caught=\
exception {0} has already been caught
compiler.err.except.never.thrown.in.try=\
exception {0} is never thrown in body of corresponding try statement
compiler.err.final.parameter.may.not.be.assigned=\
final parameter {0} may not be assigned
compiler.err.finally.without.try=\
''finally'' without ''try''
compiler.err.foreach.not.applicable.to.type=\
foreach not applicable to expression type
compiler.err.fp.number.too.large=\
floating point number too large
compiler.err.fp.number.too.small=\
floating point number too small
compiler.err.generic.array.creation=\
generic array creation
compiler.err.generic.throwable=\
a generic class may not extend java.lang.Throwable
compiler.err.icls.cant.have.static.decl=\
inner classes cannot have static declarations
compiler.err.illegal.char=\
illegal character: \\{0}
compiler.err.illegal.char.for.encoding=\
unmappable character for encoding {0}
compiler.err.illegal.combination.of.modifiers=\
illegal combination of modifiers: {0} and {1}
compiler.err.illegal.enum.static.ref=\
illegal reference to static field from initializer
compiler.err.illegal.esc.char=\
illegal escape character
compiler.err.illegal.forward.ref=\
illegal forward reference
compiler.warn.forward.ref=\
reference to variable ''{0}'' before it has been initialized
compiler.err.illegal.generic.type.for.instof=\
illegal generic type for instanceof
compiler.err.illegal.initializer.for.type=\
illegal initializer for {0}
compiler.err.illegal.line.end.in.char.lit=\
illegal line end in character literal
compiler.err.illegal.nonascii.digit=\
illegal non-ASCII digit
compiler.err.illegal.qual.not.icls=\
illegal qualifier; {0} is not an inner class
compiler.err.illegal.start.of.expr=\
illegal start of expression
compiler.err.illegal.start.of.type=\
illegal start of type
compiler.err.illegal.unicode.esc=\
illegal unicode escape
compiler.err.import.requires.canonical=\
import requires canonical name for {0}
compiler.err.improperly.formed.type.param.missing=\
improperly formed type, some parameters are missing
compiler.err.improperly.formed.type.inner.raw.param=\
improperly formed type, type parameters given on a raw type
compiler.err.incomparable.types=\
incomparable types: {0} and {1}
compiler.err.int.number.too.large=\
integer number too large: {0}
compiler.err.internal.error.cant.instantiate=\
internal error; cannot instantiate {0} at {1} to ({2})
compiler.err.intf.annotation.members.cant.have.params=\
@interface members may not have parameters
compiler.err.intf.annotation.cant.have.type.params=\
@interface may not have type parameters
compiler.err.intf.annotation.members.cant.have.type.params=\
@interface members may not have type parameters
compiler.err.intf.annotation.member.clash=\
@interface member clashes with method ''{0}'' in {1}
compiler.err.intf.expected.here=\
interface expected here
compiler.err.intf.meth.cant.have.body=\
interface methods cannot have body
compiler.err.invalid.annotation.member.type=\
invalid type for annotation member
compiler.err.invalid.hex.number=\
hexadecimal numbers must contain at least one hexadecimal digit
compiler.err.invalid.meth.decl.ret.type.req=\
invalid method declaration; return type required
compiler.err.label.already.in.use=\
label {0} already in use
compiler.err.local.var.accessed.from.icls.needs.final=\
local variable {0} is accessed from within inner class; needs to be declared final
compiler.err.local.enum=\
enum types must not be local
compiler.err.cannot.create.array.with.type.arguments=\
cannot create array with type arguments
#
# limits. We don't give the limits in the diagnostic because we expect
# them to change, yet we want to use the same diagnostic. These are all
# detected during code generation.
#
compiler.err.limit.code=\
code too large
compiler.err.limit.code.too.large.for.try.stmt=\
code too large for try statement
compiler.err.limit.dimensions=\
array type has too many dimensions
compiler.err.limit.locals=\
too many local variables
compiler.err.limit.parameters=\
too many parameters
compiler.err.limit.pool=\
too many constants
compiler.err.limit.pool.in.class=\
too many constants in class {0}
compiler.err.limit.stack=\
code requires too much stack
compiler.err.limit.string=\
constant string too long
compiler.err.limit.string.overflow=\
UTF8 representation for string \"{0}...\" is too long for the constant pool
compiler.err.malformed.fp.lit=\
malformed floating point literal
compiler.err.method.does.not.override.superclass=\
method does not override or implement a method from a supertype
compiler.err.missing.meth.body.or.decl.abstract=\
missing method body, or declare abstract
compiler.err.missing.ret.stmt=\
missing return statement
compiler.err.missing.ret.val=\
missing return value
compiler.err.mod.not.allowed.here=\
modifier {0} not allowed here
compiler.err.intf.not.allowed.here=\
interface not allowed here
compiler.err.enums.must.be.static=\
enum declarations allowed only in static contexts
compiler.err.name.clash.same.erasure=\
name clash: {0} and {1} have the same erasure
compiler.err.name.clash.same.erasure.no.override=\
name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
compiler.err.name.reserved.for.internal.use=\
{0} is reserved for internal use
compiler.err.native.meth.cant.have.body=\
native methods cannot have a body
compiler.err.neither.conditional.subtype=\
incompatible types for ?: neither is a subtype of the other\n\
second operand: {0}\n\
third operand : {1}
compiler.err.new.not.allowed.in.annotation=\
''new'' not allowed in an annotation
compiler.err.no.annotation.member=\
no annotation member {0} in {1}
compiler.err.no.encl.instance.of.type.in.scope=\
no enclosing instance of type {0} is in scope
compiler.err.no.intf.expected.here=\
no interface expected here
compiler.err.no.match.entry=\
{0} has no match in entry in {1}; required {2}
compiler.err.not.annotation.type=\
{0} is not an annotation type
compiler.err.not.def.access.class.intf.cant.access=\
{0} in {1} is defined in an inaccessible class or interface
compiler.err.not.def.public.cant.access=\
{0} is not public in {1}; cannot be accessed from outside package
compiler.err.not.loop.label=\
not a loop label: {0}
compiler.err.not.stmt=\
not a statement
compiler.err.not.encl.class=\
not an enclosing class: {0}
compiler.err.operator.cant.be.applied=\
operator {0} cannot be applied to {1}
compiler.err.pkg.annotations.sb.in.package-info.java=\
package annotations should be in file package-info.java
compiler.err.pkg.clashes.with.class.of.same.name=\
package {0} clashes with class of same name
# Errors related to annotation processing
compiler.err.proc.cant.access=\
cannot access {0}\n\
{1}\n\
Consult the following stack trace for details.\n\
{2}
compiler.err.proc.cant.find.class=\
Could not find class file for ''{0}''.
# Print a client-generated error message; assumed to be localized, no translation required
compiler.err.proc.messager=\
{0}
compiler.err.proc.no.explicit.annotation.processing.requested=\
Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
compiler.err.proc.processor.bad.option.name=\
Bad option name ''{0}'' provided by processor ''{1}''
compiler.err.proc.processor.cant.instantiate=\
Could not instantiate an instance of processor ''{0}''
compiler.err.proc.processor.constructor.error=\
Exception thrown while constructing Processor object: {0}
compiler.err.proc.processor.not.found=\
Annotation processor ''{0}'' not found
compiler.err.proc.processor.wrong.type=\
Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
compiler.err.proc.bad.config.file=\
Bad service configuration file, or exception thrown while constructing Processor object: {0}
compiler.err.proc.cant.create.loader=\
Could not create class loader for annotation processors: {0}
compiler.err.qualified.new.of.static.class=\
qualified new of static class
compiler.err.recursive.ctor.invocation=\
recursive constructor invocation
compiler.err.ref.ambiguous=\
reference to {0} is ambiguous, both {1} {2} in {3} and {4} {5} in {6} match
compiler.err.repeated.annotation.target=\
repeated annotation target
compiler.err.repeated.interface=\
repeated interface
compiler.err.repeated.modifier=\
repeated modifier
compiler.err.report.access=\
{0} has {1} access in {2}
compiler.err.ret.outside.meth=\
return outside method
compiler.err.signature.doesnt.match.supertype=\
signature does not match {0}; incompatible supertype
compiler.err.signature.doesnt.match.intf=\
signature does not match {0}; incompatible interfaces
compiler.err.does.not.override.abstract=\
{0} is not abstract and does not override abstract method {1} in {2}
compiler.err.source.cant.overwrite.input.file=\
error writing source; cannot overwrite input file {0}
compiler.err.stack.sim.error=\
Internal error: stack sim error on {0}
compiler.err.static.imp.only.classes.and.interfaces=\
static import only from classes and interfaces
compiler.err.synthetic.name.conflict=\
the symbol {0} conflicts with a compiler-synthesized symbol in {1}
compiler.err.throws.not.allowed.in.intf.annotation=\
throws clause not allowed in @interface members
compiler.err.try.without.catch.or.finally=\
''try'' without ''catch'' or ''finally''
compiler.err.type.doesnt.take.params=\
type {0} does not take parameters
compiler.err.type.var.cant.be.deref=\
cannot select from a type variable
compiler.err.type.var.may.not.be.followed.by.other.bounds=\
a type variable may not be followed by other bounds
compiler.err.type.var.more.than.once=\
type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
compiler.err.type.var.more.than.once.in.result=\
type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
compiler.err.types.incompatible.diff.ret=\
types {0} and {1} are incompatible; both define {2}, but with unrelated return types
compiler.err.unclosed.char.lit=\
unclosed character literal
compiler.err.unclosed.comment=\
unclosed comment
compiler.err.unclosed.str.lit=\
unclosed string literal
compiler.err.unknown.enum.constant=\
in class file {0}: unknown enum constant {1}.{2}
compiler.err.unsupported.encoding=\
unsupported encoding: {0}
compiler.err.io.exception=\
error reading source file: {0}
compiler.err.undef.label=\
undefined label: {0}
compiler.err.undetermined.type=\
type parameters of {0} cannot be determined
compiler.err.undetermined.type.1=\
type parameters of {0} cannot be determined; {1}
compiler.err.unreachable.stmt=\
unreachable statement
compiler.err.initializer.must.be.able.to.complete.normally=\
initializer must be able to complete normally
compiler.err.unreported.exception.need.to.catch.or.throw=\
unreported exception {0}; must be caught or declared to be thrown
compiler.err.unreported.exception.default.constructor=\
unreported exception {0} in default constructor
compiler.err.unsupported.cross.fp.lit=\
hexadecimal floating-point literals are not supported on this VM
compiler.err.void.not.allowed.here=\
''void'' type not allowed here
compiler.err.wrong.number.type.args=\
wrong number of type arguments; required {0}
compiler.err.var.might.already.be.assigned=\
variable {0} might already have been assigned
compiler.err.var.might.not.have.been.initialized=\
variable {0} might not have been initialized
compiler.err.var.might.be.assigned.in.loop=\
variable {0} might be assigned in loop
# In the following string, {1} will always be the detail message from
# java.io.IOException.
compiler.err.class.cant.write=\
error while writing {0}: {1}
# In the following string, {0} is the name of the class in the Java source.
# It really should be used two times..
compiler.err.class.public.should.be.in.file=\
class {0} is public, should be declared in a file named {0}.java
## All errors which do not refer to a particular line in the source code are
## preceded by this string.
compiler.err.error=\
error:\u0020
# The following error messages do not refer to a line in the source code.
compiler.err.cant.read.file=\
cannot read: {0}
#####
# Fatal Errors
compiler.misc.fatal.err.no.java.lang=\
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
compiler.misc.fatal.err.cant.locate.meth=\
Fatal Error: Unable to find method {0}
compiler.misc.fatal.err.cant.locate.field=\
Fatal Error: Unable to find field {0}
compiler.misc.fatal.err.cant.locate.ctor=\
Fatal Error: Unable to find constructor for {0}
#####
##
## miscellaneous strings
##
compiler.misc.source.unavailable=\
(source unavailable)
compiler.misc.base.membership=\
all your base class are belong to us
compiler.misc.x.print.processor.info=\
Processor {0} matches {1} and returns {2}.
compiler.misc.x.print.rounds=\
Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
#####
## The following string will appear before all messages keyed as:
## "compiler.note".
compiler.note.note=\
Note:\u0020
compiler.note.deprecated.filename=\
{0} uses or overrides a deprecated API.
compiler.note.deprecated.plural=\
Some input files use or override a deprecated API.
# The following string may appear after one of the above deprecation
# messages.
compiler.note.deprecated.recompile=\
Recompile with -Xlint:deprecation for details.
compiler.note.deprecated.filename.additional=\
{0} has additional uses or overrides of a deprecated API.
compiler.note.deprecated.plural.additional=\
Some input files additionally use or override a deprecated API.
# Notes related to annotation processing
# Print a client-generated note; assumed to be localized, no translation required
compiler.note.proc.messager=\
{0}
compiler.note.unchecked.filename=\
{0} uses unchecked or unsafe operations.
compiler.note.unchecked.plural=\
Some input files use unchecked or unsafe operations.
# The following string may appear after one of the above deprecation
# messages.
compiler.note.unchecked.recompile=\
Recompile with -Xlint:unchecked for details.
compiler.note.unchecked.filename.additional=\
{0} has additional unchecked or unsafe operations.
compiler.note.unchecked.plural.additional=\
Some input files additionally use unchecked or unsafe operations.
#####
compiler.misc.count.error=\
{0} error
compiler.misc.count.error.plural=\
{0} errors
compiler.misc.count.warn=\
{0} warning
compiler.misc.count.warn.plural=\
{0} warnings
## extra output when using -verbose (JavaCompiler)
compiler.misc.verbose.checking.attribution=\
[checking {0}]
compiler.misc.verbose.parsing.done=\
[parsing completed {0}ms]
compiler.misc.verbose.parsing.started=\
[parsing started {0}]
compiler.misc.verbose.total=\
[total {0}ms]
compiler.misc.verbose.wrote.file=\
[wrote {0}]
## extra output when using -verbose (Retro)
compiler.misc.verbose.retro=\
[retrofitting {0}]
compiler.misc.verbose.retro.with=\
\tretrofitting {0} with {1}
compiler.misc.verbose.retro.with.list=\
\tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
## extra output when using -verbose (code/ClassReader)
compiler.misc.verbose.loading=\
[loading {0}]
compiler.misc.verbose.sourcepath=\
[search path for source files: {0}]
compiler.misc.verbose.classpath=\
[search path for class files: {0}]
## extra output when using -checkclassfile (code/ClassReader)
compiler.misc.ccf.found.later.version=\
class file has later version than expected: {0}
compiler.misc.ccf.unrecognized.attribute=\
unrecognized attribute: {0}
## extra output when using -prompt (util/Log)
compiler.misc.resume.abort=\
R)esume, A)bort>
#####
##
## warnings
##
## All warning messages are preceded by the following string.
compiler.warn.warning=\
warning:\u0020
compiler.warn.constant.SVUID=\
[serial] serialVersionUID must be constant in class {0}
compiler.warn.dir.path.element.not.found=\
[path] bad path element "{0}": no such directory
compiler.warn.finally.cannot.complete=\
[finally] finally clause cannot complete normally
compiler.warn.has.been.deprecated=\
[deprecation] {0} in {1} has been deprecated
compiler.warn.sun.proprietary=\
{0} is Sun proprietary API and may be removed in a future release
compiler.warn.illegal.char.for.encoding=\
unmappable character for encoding {0}
compiler.warn.improper.SVUID=\
[serial] serialVersionUID must be declared static final in class {0}
compiler.warn.inexact.non-varargs.call=\
non-varargs call of varargs method with inexact argument type for last parameter;\n\
cast to {0} for a varargs call\n\
cast to {1} for a non-varargs call and to suppress this warning
compiler.warn.long.SVUID=\
[serial] serialVersionUID must be of type long in class {0}
compiler.warn.missing.SVUID=\
[serial] serializable class {0} has no definition of serialVersionUID
compiler.warn.override.varargs.missing=\
{0}; overridden method has no ''...''
compiler.warn.override.varargs.extra=\
{0}; overriding method is missing ''...''
compiler.warn.override.bridge=\
{0}; overridden method is a bridge method
compiler.warn.pkg-info.already.seen=\
[package-info] a package-info.java file has already been seen for package {0}
compiler.warn.path.element.not.found=\
[path] bad path element "{0}": no such file or directory
compiler.warn.possible.fall-through.into.case=\
[fallthrough] possible fall-through into case
compiler.warn.redundant.cast=\
[cast] redundant cast to {0}
compiler.warn.position.overflow=\
Position encoding overflows at line {0}
compiler.warn.big.major.version=\
{0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
It is recommended that the compiler be upgraded.
# Warnings related to annotation processing
compiler.warn.proc.package.does.not.exist=\
package {0} does not exist
compiler.warn.proc.file.reopening=\
Attempt to create a file for ''{0}'' multiple times
compiler.warn.proc.type.already.exists=\
A file for type ''{0}'' already exists on the sourcepath or classpath
compiler.warn.proc.type.recreate=\
Attempt to create a file for type ''{0}'' multiple times
compiler.warn.proc.illegal.file.name=\
Cannot create file for illegal name ''{0}''.
compiler.warn.proc.file.create.last.round=\
File for type ''{0}'' created in the last round will not be subject to annotation processing.
compiler.warn.proc.malformed.supported.string=\
Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
compiler.warn.proc.annotations.without.processors=\
No processor claimed any of these annotations: {0}
compiler.warn.proc.processor.incompatible.source.version=\
Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
compiler.warn.proc.proc-only.requested.no.procs=\
Annotation processing without compilation requested but no processors were found.
compiler.warn.proc.use.implicit=\
Implicitly compiled files were not subject to annotation processing.\n\
Use -implicit to specify a policy for implicit compilation.
compiler.warn.proc.use.proc.or.implicit=\
Implicitly compiled files were not subject to annotation processing.\n\
Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
# Print a client-generated warning; assumed to be localized, no translation required
compiler.warn.proc.messager=\
{0}
compiler.warn.proc.unclosed.type.files=\
Unclosed files for the types ''{0}''; these types will not undergo annotation processing
compiler.warn.proc.unmatched.processor.options=\
The following options were not recognized by any processor: ''{0}''
compiler.warn.unchecked.assign=\
[unchecked] unchecked assignment: {0} to {1}
compiler.warn.unchecked.assign.to.var=\
[unchecked] unchecked assignment to variable {0} as member of raw type {1}
compiler.warn.unchecked.call.mbr.of.raw.type=\
[unchecked] unchecked call to {0} as a member of the raw type {1}
compiler.warn.unchecked.cast.to.type=\
[unchecked] unchecked cast to type {0}
compiler.warn.unchecked.meth.invocation.applied=\
[unchecked] unchecked method invocation: {0} in {1} is applied to {2}({3})
compiler.warn.unchecked.generic.array.creation=\
[unchecked] unchecked generic array creation of type {0} for varargs parameter
compiler.warn.missing.deprecated.annotation=\
[dep-ann] deprecated item is not annotated with @Deprecated
compiler.warn.invalid.archive.file=\
[path] Unexpected file on path: {0}
compiler.warn.unexpected.archive.file=\
[path] Unexpected extension for archive file: {0}
compiler.warn.div.zero=\
[divzero] division by zero
compiler.warn.empty.if=\
[empty] empty statement after if
compiler.warn.annotation.method.not.found=\
Cannot find annotation method ''{1}()'' in type ''{0}''
compiler.warn.annotation.method.not.found.reason=\
Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
#####
## The following are tokens which are non-terminals in the language. They should
## be named as JLS3 calls them when translated to the appropriate language.
compiler.misc.token.identifier=\
<identifier>
compiler.misc.token.character=\
<character>
compiler.misc.token.string=\
<string>
compiler.misc.token.integer=\
<integer>
compiler.misc.token.long-integer=\
<long integer>
compiler.misc.token.float=\
<float>
compiler.misc.token.double=\
<double>
compiler.misc.token.bad-symbol=\
<bad symbol>
compiler.misc.token.end-of-input=\
<end of input>
## The argument to the following string will always be one of the following:
## 1. one of the above non-terminals
## 2. a keyword (JLS1.8)
## 3. a boolean literal (JLS3.10.3)
## 4. the null literal (JLS3.10.7)
## 5. a Java separator (JLS3.11)
## 6. an operator (JLS3.12)
##
## This is the only place these tokens will be used.
compiler.err.expected=\
{0} expected
compiler.err.expected2=\
{0} or {1} expected
compiler.err.expected3=\
{0}, {1}, or {2} expected
compiler.err.premature.eof=\
reached end of file while parsing
## The following are related in form, but do not easily fit the above paradigm.
compiler.err.dot.class.expected=\
''.class'' expected
## The argument to this string will always be either 'case' or 'default'.
compiler.err.orphaned=\
orphaned {0}
compiler.misc.anonymous.class=\
<anonymous {0}>
compiler.misc.unnamed.package=\
unnamed package
#####
compiler.err.cant.access=\
cannot access {0}\n\
{1}
compiler.misc.bad.class.file.header=\
bad class file: {0}\n\
{1}\n\
Please remove or make sure it appears in the correct subdirectory of the classpath.
## The following are all possible strings for the second argument ({1}) of the
## above strings.
compiler.misc.bad.class.signature=\
bad class signature: {0}
compiler.misc.bad.enclosing.method=\
bad enclosing method attribute: {0}
compiler.misc.bad.runtime.invisible.param.annotations=\
bad RuntimeInvisibleParameterAnnotations attribute: {0}
compiler.misc.bad.const.pool.tag=\
bad constant pool tag: {0}
compiler.misc.bad.const.pool.tag.at=\
bad constant pool tag: {0} at {1}
compiler.misc.bad.signature=\
bad signature: {0}
compiler.misc.class.file.wrong.class=\
class file contains wrong class: {0}
compiler.misc.class.file.not.found=\
class file for {0} not found
compiler.misc.file.doesnt.contain.class=\
file does not contain class {0}
compiler.misc.file.does.not.contain.package=\
file does not contain package {0}
compiler.misc.illegal.start.of.class.file=\
illegal start of class file
compiler.misc.unable.to.access.file=\
unable to access file: {0}
compiler.misc.unicode.str.not.supported=\
unicode string in class file not supported
compiler.misc.undecl.type.var=\
undeclared type variable: {0}
compiler.misc.wrong.version=\
class file has wrong version {0}.{1}, should be {2}.{3}
#####
compiler.err.not.within.bounds=\
type parameter {0} is not within its bound
compiler.err.not.within.bounds.explain=\
type parameter {0} is not within its bound; {1}
## The following are all possible strings for the second argument ({1}) of the
## above string.
## none yet...
#####
compiler.err.prob.found.req=\
{0}\n\
found : {1}\n\
required: {2}
compiler.warn.prob.found.req=\
{0}\n\
found : {1}\n\
required: {2}
compiler.err.prob.found.req.1=\
{0} {3}\n\
found : {1}\n\
required: {2}
## The following are all possible strings for the first argument ({0}) of the
## above strings.
compiler.misc.incompatible.types=\
incompatible types
compiler.misc.incompatible.types.1=\
incompatible types; {0}
compiler.misc.inconvertible.types=\
inconvertible types
compiler.misc.possible.loss.of.precision=\
possible loss of precision
compiler.misc.unchecked.assign=\
[unchecked] unchecked conversion
# compiler.misc.storecheck=\
# [unchecked] assignment might cause later store checks to fail
# compiler.misc.unchecked=\
# [unchecked] assigned array cannot dynamically check its stores
compiler.misc.unchecked.cast.to.type=\
[unchecked] unchecked cast
compiler.misc.assignment.from.super-bound=\
assignment from super-bound type {0}
compiler.misc.assignment.to.extends-bound=\
assignment to extends-bound type {0}
# compiler.err.star.expected=\
# ''*'' expected
# compiler.err.no.elem.type=\
# \[\*\] cannot have a type
#####
compiler.err.type.found.req=\
unexpected type\n\
found : {0}\n\
required: {1}
## The following are all possible strings for the first argument ({0}) of the
## above string.
compiler.misc.type.req.class=\
class
compiler.misc.type.req.class.array=\
class or array
compiler.misc.type.req.ref=\
reference
compiler.misc.type.req.exact=\
class or interface without bounds
compiler.misc.type.parameter=\
type parameter {0}
#####
## The following are all possible strings for the last argument of all those
## diagnostics whose key ends in ".1"
compiler.misc.undetermined.type=\
undetermined type
ncompiler.misc.type.variable.has.undetermined.type=\
type variable {0} has undetermined type
compiler.misc.no.unique.maximal.instance.exists=\
no unique maximal instance exists for type variable {0} with upper bounds {1}
compiler.misc.no.unique.minimal.instance.exists=\
no unique minimal instance exists for type variable {0} with lower bounds {1}
compiler.misc.no.conforming.instance.exists=\
no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
compiler.misc.no.conforming.assignment.exists=\
no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to formal parameter type {2}
compiler.misc.arg.length.mismatch=\
cannot instantiate from arguments because actual and formal argument lists differ in length
compiler.misc.inferred.do.not.conform.to.bounds=\
inferred type argument(s) {0} do not conform to bounds of type variable(s) {1}
#####
## The first argument ({0}) is a "kindname".
compiler.err.abstract.cant.be.accessed.directly=\
abstract {0} {1} in {2} cannot be accessed directly
## The first argument ({0}) is a "kindname".
compiler.err.non-static.cant.be.ref=\
non-static {0} {1} cannot be referenced from a static context
## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list
## of kindnames (the list should be identical to that provided in source.
compiler.err.unexpected.type=\
unexpected type\n\
required: {0}\n\
found : {1}
## The first argument ({0}) is a "kindname".
compiler.err.cant.resolve=\
cannot find symbol\n\
symbol: {0} {3}{1}{2}
## The first argument ({0}) and fifth argument ({4}) are "kindname"s.
compiler.err.cant.resolve.location=\
cannot find symbol\n\
symbol : {0} {3}{1}{2}\n\
location: {4} {5}
## The following are all possible string for "kindname".
## They should be called whatever the JLS calls them after it been translated
## to the appropriate language.
# compiler.misc.kindname.constructor=\
# static member
compiler.misc.kindname.annotation=\
@interface
compiler.misc.kindname.constructor=\
constructor
compiler.misc.kindname.interface=\
interface
compiler.misc.kindname.static=\
static
compiler.misc.kindname.type.variable=\
type variable
compiler.misc.kindname.type.variable.bound=\
bound of type variable