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