21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 # or visit www.oracle.com if you need additional information or have any |
22 # or visit www.oracle.com if you need additional information or have any |
23 # questions. |
23 # questions. |
24 # |
24 # |
25 |
25 |
|
26 # Messages in this file which use "placeholders" for values (e.g. {0}, {1}) |
|
27 # are preceded by a stylized comment describing the type of the corresponding |
|
28 # values. |
|
29 # The types currently in use are |
|
30 # |
|
31 # boolean true or false |
|
32 # file name the name of an input file; e.g. MyFile.java |
|
33 # message segment a sub-message; see compiler.misc.* |
|
34 # modifier a Java modifier; e.g. public, private, protected |
|
35 # name a name, typically a Java identifier |
|
36 # number an integer |
|
37 # option name the name of a command line option |
|
38 # source version a source version number, such as 1.5, 1.6, 1.7 |
|
39 # string a general string |
|
40 # symbol the name of a declared type |
|
41 # symbol kind a description of the kind of a declaration; see compiler.misc.kindname.* |
|
42 # token the name of a non-terminal in source code; see compiler.misc.token.* |
|
43 # type a Java type; e.g. int, X, X<T> |
|
44 # unused the value is not used in this message |
|
45 # |
|
46 # list of X a comma-separated list of items; e.g. list of type |
|
47 # X or Y alternation; e.g. message segment or type |
|
48 # set of X a comma-separated collection of items; e.g. set of modifier |
|
49 # |
|
50 # These may be composed: e.g. list of type or message segment |
|
51 # |
|
52 # These comments are verified by the jtreg test test/tools/javac/diags/MessageInfo, |
|
53 # using info derived from the collected set of examples in test/tools/javac/diags/examples. |
|
54 # MessageInfo can also be run as a standalone utility providing more facilities |
|
55 # for manipulating this file. For more details, see MessageInfo.java. |
|
56 |
26 ## |
57 ## |
27 ## errors |
58 ## errors |
28 ## |
59 ## |
29 |
60 |
|
61 # 0: symbol |
30 compiler.err.abstract.cant.be.instantiated=\ |
62 compiler.err.abstract.cant.be.instantiated=\ |
31 {0} is abstract; cannot be instantiated |
63 {0} is abstract; cannot be instantiated |
|
64 |
32 compiler.err.abstract.meth.cant.have.body=\ |
65 compiler.err.abstract.meth.cant.have.body=\ |
33 abstract methods cannot have a body |
66 abstract methods cannot have a body |
|
67 |
34 compiler.err.already.annotated=\ |
68 compiler.err.already.annotated=\ |
35 {0} {1} has already been annotated |
69 {0} {1} has already been annotated |
|
70 |
|
71 # 0: symbol, 1: symbol |
36 compiler.err.already.defined=\ |
72 compiler.err.already.defined=\ |
37 {0} is already defined in {1} |
73 {0} is already defined in {1} |
|
74 |
|
75 # 0: string |
38 compiler.err.already.defined.single.import=\ |
76 compiler.err.already.defined.single.import=\ |
39 {0} is already defined in a single-type import |
77 {0} is already defined in a single-type import |
|
78 |
|
79 # 0: string |
40 compiler.err.already.defined.static.single.import=\ |
80 compiler.err.already.defined.static.single.import=\ |
41 {0} is already defined in a static single-type import |
81 {0} is already defined in a static single-type import |
|
82 |
42 compiler.err.already.defined.this.unit=\ |
83 compiler.err.already.defined.this.unit=\ |
43 {0} is already defined in this compilation unit |
84 {0} is already defined in this compilation unit |
|
85 |
|
86 # 0: type, 1: list of name |
44 compiler.err.annotation.missing.default.value=\ |
87 compiler.err.annotation.missing.default.value=\ |
45 annotation {0} is missing value for the attribute {1} |
88 annotation {0} is missing value for the attribute {1} |
|
89 |
|
90 # 0: type, 1: list of name |
46 compiler.err.annotation.missing.default.value.1=\ |
91 compiler.err.annotation.missing.default.value.1=\ |
47 annotation {0} is missing values for attributes {1} |
92 annotation {0} is missing values for attributes {1} |
|
93 |
|
94 # 0: type |
48 compiler.err.annotation.not.valid.for.type=\ |
95 compiler.err.annotation.not.valid.for.type=\ |
49 annotation not valid for a value of type {0} |
96 annotation not valid for a value of type {0} |
|
97 |
50 compiler.err.annotation.type.not.applicable=\ |
98 compiler.err.annotation.type.not.applicable=\ |
51 annotation type not applicable to this kind of declaration |
99 annotation type not applicable to this kind of declaration |
|
100 |
52 compiler.err.annotation.value.must.be.annotation=\ |
101 compiler.err.annotation.value.must.be.annotation=\ |
53 annotation value must be an annotation |
102 annotation value must be an annotation |
|
103 |
54 compiler.err.annotation.value.must.be.class.literal=\ |
104 compiler.err.annotation.value.must.be.class.literal=\ |
55 annotation value must be a class literal |
105 annotation value must be a class literal |
|
106 |
56 compiler.err.annotation.value.must.be.name.value=\ |
107 compiler.err.annotation.value.must.be.name.value=\ |
57 annotation values must be of the form ''name=value'' |
108 annotation values must be of the form ''name=value'' |
|
109 |
58 compiler.err.annotation.value.not.allowable.type=\ |
110 compiler.err.annotation.value.not.allowable.type=\ |
59 annotation value not of an allowable type |
111 annotation value not of an allowable type |
|
112 |
60 compiler.err.anon.class.impl.intf.no.args=\ |
113 compiler.err.anon.class.impl.intf.no.args=\ |
61 anonymous class implements interface; cannot have arguments |
114 anonymous class implements interface; cannot have arguments |
|
115 |
62 compiler.err.anon.class.impl.intf.no.typeargs=\ |
116 compiler.err.anon.class.impl.intf.no.typeargs=\ |
63 anonymous class implements interface; cannot have type arguments |
117 anonymous class implements interface; cannot have type arguments |
|
118 |
64 compiler.err.anon.class.impl.intf.no.qual.for.new=\ |
119 compiler.err.anon.class.impl.intf.no.qual.for.new=\ |
65 anonymous class implements interface; cannot have qualifier for new |
120 anonymous class implements interface; cannot have qualifier for new |
|
121 |
|
122 # 0: symbol, 1: symbol, 2: symbol |
66 compiler.err.array.and.varargs=\ |
123 compiler.err.array.and.varargs=\ |
67 cannot declare both {0} and {1} in {2} |
124 cannot declare both {0} and {1} in {2} |
|
125 |
68 compiler.err.array.dimension.missing=\ |
126 compiler.err.array.dimension.missing=\ |
69 array dimension missing |
127 array dimension missing |
|
128 |
|
129 # 0: type |
70 compiler.err.array.req.but.found=\ |
130 compiler.err.array.req.but.found=\ |
71 array required, but {0} found |
131 array required, but {0} found |
72 |
132 |
73 compiler.err.assignment.from.super-bound=\ |
133 compiler.err.assignment.from.super-bound=\ |
74 assigning from wildcard {0} |
134 assigning from wildcard {0} |
|
135 |
75 compiler.err.assignment.to.extends-bound=\ |
136 compiler.err.assignment.to.extends-bound=\ |
76 assigning to wildcard {0} |
137 assigning to wildcard {0} |
|
138 |
77 compiler.err.attribute.value.must.be.constant=\ |
139 compiler.err.attribute.value.must.be.constant=\ |
78 attribute value must be constant |
140 attribute value must be constant |
79 |
141 |
80 compiler.err.break.outside.switch.loop=\ |
142 compiler.err.break.outside.switch.loop=\ |
81 break outside switch or loop |
143 break outside switch or loop |
82 |
144 |
|
145 # 0: name |
83 compiler.err.call.must.be.first.stmt.in.ctor=\ |
146 compiler.err.call.must.be.first.stmt.in.ctor=\ |
84 call to {0} must be first statement in constructor |
147 call to {0} must be first statement in constructor |
|
148 |
85 compiler.err.cant.apply.symbol=\ |
149 compiler.err.cant.apply.symbol=\ |
86 {0} {1} in {4} {5} cannot be applied to given types\n\ |
150 {0} {1} in {4} {5} cannot be applied to given types\n\ |
87 required: {2}\n\ |
151 required: {2}\n\ |
88 found: {3} |
152 found: {3} |
|
153 |
|
154 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment |
89 compiler.err.cant.apply.symbol.1=\ |
155 compiler.err.cant.apply.symbol.1=\ |
90 {0} {1} in {4} {5} cannot be applied to given types;\n\ |
156 {0} {1} in {4} {5} cannot be applied to given types;\n\ |
91 required: {2}\n\ |
157 required: {2}\n\ |
92 found: {3}\n\ |
158 found: {3}\n\ |
93 reason: {6} |
159 reason: {6} |
|
160 |
|
161 # 0: symbol kind, 1: name, 2: list of type |
94 compiler.err.cant.apply.symbols=\ |
162 compiler.err.cant.apply.symbols=\ |
95 no suitable {0} found for {1}({2}) |
163 no suitable {0} found for {1}({2}) |
|
164 |
|
165 # 0: symbol |
96 compiler.err.cant.assign.val.to.final.var=\ |
166 compiler.err.cant.assign.val.to.final.var=\ |
97 cannot assign a value to final variable {0} |
167 cannot assign a value to final variable {0} |
|
168 |
|
169 # 0: type |
98 compiler.err.cant.deref=\ |
170 compiler.err.cant.deref=\ |
99 {0} cannot be dereferenced |
171 {0} cannot be dereferenced |
|
172 |
100 compiler.err.cant.extend.intf.annotation=\ |
173 compiler.err.cant.extend.intf.annotation=\ |
101 ''extends'' not allowed for @interfaces |
174 ''extends'' not allowed for @interfaces |
|
175 |
|
176 # 0: symbol |
102 compiler.err.cant.inherit.from.final=\ |
177 compiler.err.cant.inherit.from.final=\ |
103 cannot inherit from final {0} |
178 cannot inherit from final {0} |
|
179 |
|
180 # 0: symbol |
104 compiler.err.cant.ref.before.ctor.called=\ |
181 compiler.err.cant.ref.before.ctor.called=\ |
105 cannot reference {0} before supertype constructor has been called |
182 cannot reference {0} before supertype constructor has been called |
|
183 |
106 compiler.err.cant.ret.val.from.meth.decl.void=\ |
184 compiler.err.cant.ret.val.from.meth.decl.void=\ |
107 cannot return a value from method whose result type is void |
185 cannot return a value from method whose result type is void |
|
186 |
108 compiler.err.cant.select.static.class.from.param.type=\ |
187 compiler.err.cant.select.static.class.from.param.type=\ |
109 cannot select a static class from a parameterized type |
188 cannot select a static class from a parameterized type |
|
189 |
|
190 # 0: symbol, 1: string, 2: string |
110 compiler.err.cant.inherit.diff.arg=\ |
191 compiler.err.cant.inherit.diff.arg=\ |
111 {0} cannot be inherited with different arguments: <{1}> and <{2}> |
192 {0} cannot be inherited with different arguments: <{1}> and <{2}> |
|
193 |
112 compiler.err.catch.without.try=\ |
194 compiler.err.catch.without.try=\ |
113 ''catch'' without ''try'' |
195 ''catch'' without ''try'' |
|
196 |
|
197 # 0: symbol kind, 1: symbol |
114 compiler.err.clash.with.pkg.of.same.name=\ |
198 compiler.err.clash.with.pkg.of.same.name=\ |
115 {0} {1} clashes with package of same name |
199 {0} {1} clashes with package of same name |
|
200 |
116 compiler.err.const.expr.req=\ |
201 compiler.err.const.expr.req=\ |
117 constant expression required |
202 constant expression required |
|
203 |
118 compiler.err.cont.outside.loop=\ |
204 compiler.err.cont.outside.loop=\ |
119 continue outside of loop |
205 continue outside of loop |
|
206 |
|
207 # 0: symbol |
120 compiler.err.cyclic.inheritance=\ |
208 compiler.err.cyclic.inheritance=\ |
121 cyclic inheritance involving {0} |
209 cyclic inheritance involving {0} |
|
210 |
122 compiler.err.cyclic.annotation.element=\ |
211 compiler.err.cyclic.annotation.element=\ |
123 cyclic annotation element type |
212 cyclic annotation element type |
|
213 |
|
214 # 0: unused |
124 compiler.err.call.to.super.not.allowed.in.enum.ctor=\ |
215 compiler.err.call.to.super.not.allowed.in.enum.ctor=\ |
125 call to super not allowed in enum constructor |
216 call to super not allowed in enum constructor |
|
217 |
|
218 # 0: type |
126 compiler.err.no.superclass=\ |
219 compiler.err.no.superclass=\ |
127 {0} has no superclass |
220 {0} has no superclass |
128 |
221 |
129 compiler.err.wrong.target.for.polymorphic.signature.definition=\ |
222 compiler.err.wrong.target.for.polymorphic.signature.definition=\ |
130 MethodHandle API building requires -target 7 runtimes or better; current is -target {0} |
223 MethodHandle API building requires -target 7 runtimes or better; current is -target {0} |
131 |
224 |
|
225 # 0: symbol, 1: type, 2: symbol, 3: type, 4: unused |
132 compiler.err.concrete.inheritance.conflict=\ |
226 compiler.err.concrete.inheritance.conflict=\ |
133 methods {0} from {1} and {2} from {3} are inherited with the same signature |
227 methods {0} from {1} and {2} from {3} are inherited with the same signature |
134 |
228 |
135 compiler.err.default.allowed.in.intf.annotation.member=\ |
229 compiler.err.default.allowed.in.intf.annotation.member=\ |
136 default value only allowed in an @interface member |
230 default value only allowed in an @interface member |
|
231 |
|
232 # 0: symbol |
137 compiler.err.doesnt.exist=\ |
233 compiler.err.doesnt.exist=\ |
138 package {0} does not exist |
234 package {0} does not exist |
|
235 |
139 compiler.err.duplicate.annotation=\ |
236 compiler.err.duplicate.annotation=\ |
140 duplicate annotation |
237 duplicate annotation |
|
238 |
|
239 # 0: name, 1: type |
141 compiler.err.duplicate.annotation.member.value=\ |
240 compiler.err.duplicate.annotation.member.value=\ |
142 duplicate annotation member value {0} in {1} |
241 duplicate annotation member value {0} in {1} |
|
242 |
|
243 # 0: name |
143 compiler.err.duplicate.class=\ |
244 compiler.err.duplicate.class=\ |
144 duplicate class: {0} |
245 duplicate class: {0} |
|
246 |
145 compiler.err.duplicate.case.label=\ |
247 compiler.err.duplicate.case.label=\ |
146 duplicate case label |
248 duplicate case label |
|
249 |
147 compiler.err.duplicate.default.label=\ |
250 compiler.err.duplicate.default.label=\ |
148 duplicate default label |
251 duplicate default label |
149 |
252 |
150 compiler.err.else.without.if=\ |
253 compiler.err.else.without.if=\ |
151 ''else'' without ''if'' |
254 ''else'' without ''if'' |
|
255 |
152 compiler.err.empty.char.lit=\ |
256 compiler.err.empty.char.lit=\ |
153 empty character literal |
257 empty character literal |
|
258 |
|
259 # 0: symbol |
154 compiler.err.encl.class.required=\ |
260 compiler.err.encl.class.required=\ |
155 an enclosing instance that contains {0} is required |
261 an enclosing instance that contains {0} is required |
|
262 |
156 compiler.err.enum.annotation.must.be.enum.constant=\ |
263 compiler.err.enum.annotation.must.be.enum.constant=\ |
157 an enum annotation value must be an enum constant |
264 an enum annotation value must be an enum constant |
158 |
265 |
159 compiler.err.enum.cant.be.instantiated=\ |
266 compiler.err.enum.cant.be.instantiated=\ |
160 enum types may not be instantiated |
267 enum types may not be instantiated |
|
268 |
161 compiler.err.enum.label.must.be.unqualified.enum=\ |
269 compiler.err.enum.label.must.be.unqualified.enum=\ |
162 an enum switch case label must be the unqualified name of an enumeration constant |
270 an enum switch case label must be the unqualified name of an enumeration constant |
|
271 |
163 compiler.err.enum.no.subclassing=\ |
272 compiler.err.enum.no.subclassing=\ |
164 classes cannot directly extend java.lang.Enum |
273 classes cannot directly extend java.lang.Enum |
|
274 |
165 compiler.err.enum.types.not.extensible=\ |
275 compiler.err.enum.types.not.extensible=\ |
166 enum types are not extensible |
276 enum types are not extensible |
|
277 |
167 compiler.err.enum.no.finalize=\ |
278 compiler.err.enum.no.finalize=\ |
168 enums cannot have finalize methods |
279 enums cannot have finalize methods |
|
280 |
|
281 # 0: file name, 1: string |
169 compiler.err.error.reading.file=\ |
282 compiler.err.error.reading.file=\ |
170 error reading {0}; {1} |
283 error reading {0}; {1} |
|
284 |
|
285 # 0: type |
171 compiler.err.except.already.caught=\ |
286 compiler.err.except.already.caught=\ |
172 exception {0} has already been caught |
287 exception {0} has already been caught |
|
288 |
|
289 # 0: type |
173 compiler.err.except.never.thrown.in.try=\ |
290 compiler.err.except.never.thrown.in.try=\ |
174 exception {0} is never thrown in body of corresponding try statement |
291 exception {0} is never thrown in body of corresponding try statement |
175 |
292 |
|
293 # 0: symbol |
176 compiler.err.final.parameter.may.not.be.assigned=\ |
294 compiler.err.final.parameter.may.not.be.assigned=\ |
177 final parameter {0} may not be assigned |
295 final parameter {0} may not be assigned |
|
296 |
|
297 # 0: symbol |
178 compiler.err.try.resource.may.not.be.assigned=\ |
298 compiler.err.try.resource.may.not.be.assigned=\ |
179 auto-closeable resource {0} may not be assigned |
299 auto-closeable resource {0} may not be assigned |
|
300 |
180 compiler.err.try.resource.trailing.semi=\ |
301 compiler.err.try.resource.trailing.semi=\ |
181 illegal trailing semicolon in resources declaration |
302 illegal trailing semicolon in resources declaration |
|
303 |
|
304 # 0: symbol |
182 compiler.err.multicatch.parameter.may.not.be.assigned=\ |
305 compiler.err.multicatch.parameter.may.not.be.assigned=\ |
183 multi-catch parameter {0} may not be assigned |
306 multi-catch parameter {0} may not be assigned |
|
307 |
184 compiler.err.finally.without.try=\ |
308 compiler.err.finally.without.try=\ |
185 ''finally'' without ''try'' |
309 ''finally'' without ''try'' |
|
310 |
|
311 # 0: type, 1: message segment |
186 compiler.err.foreach.not.applicable.to.type=\ |
312 compiler.err.foreach.not.applicable.to.type=\ |
187 for-each not applicable to expression type\n\ |
313 for-each not applicable to expression type\n\ |
188 required: {1}\n\ |
314 required: {1}\n\ |
189 found: {0} |
315 found: {0} |
|
316 |
190 compiler.err.fp.number.too.large=\ |
317 compiler.err.fp.number.too.large=\ |
191 floating point number too large |
318 floating point number too large |
|
319 |
192 compiler.err.fp.number.too.small=\ |
320 compiler.err.fp.number.too.small=\ |
193 floating point number too small |
321 floating point number too small |
194 |
322 |
195 compiler.err.generic.array.creation=\ |
323 compiler.err.generic.array.creation=\ |
196 generic array creation |
324 generic array creation |
|
325 |
197 compiler.err.generic.throwable=\ |
326 compiler.err.generic.throwable=\ |
198 a generic class may not extend java.lang.Throwable |
327 a generic class may not extend java.lang.Throwable |
199 |
328 |
|
329 # 0: symbol |
200 compiler.err.icls.cant.have.static.decl=\ |
330 compiler.err.icls.cant.have.static.decl=\ |
201 Illegal static declaration in inner class {0}\n\ |
331 Illegal static declaration in inner class {0}\n\ |
202 modifier \''static\'' is only allowed in constant variable declarations |
332 modifier \''static\'' is only allowed in constant variable declarations |
|
333 |
|
334 # 0: string |
203 compiler.err.illegal.char=\ |
335 compiler.err.illegal.char=\ |
204 illegal character: \\{0} |
336 illegal character: \\{0} |
|
337 |
205 compiler.err.illegal.char.for.encoding=\ |
338 compiler.err.illegal.char.for.encoding=\ |
206 unmappable character for encoding {0} |
339 unmappable character for encoding {0} |
|
340 |
|
341 # 0: set of modifier, 1: set of modifier |
207 compiler.err.illegal.combination.of.modifiers=\ |
342 compiler.err.illegal.combination.of.modifiers=\ |
208 illegal combination of modifiers: {0} and {1} |
343 illegal combination of modifiers: {0} and {1} |
|
344 |
209 compiler.err.illegal.enum.static.ref=\ |
345 compiler.err.illegal.enum.static.ref=\ |
210 illegal reference to static field from initializer |
346 illegal reference to static field from initializer |
|
347 |
211 compiler.err.illegal.esc.char=\ |
348 compiler.err.illegal.esc.char=\ |
212 illegal escape character |
349 illegal escape character |
|
350 |
213 compiler.err.illegal.forward.ref=\ |
351 compiler.err.illegal.forward.ref=\ |
214 illegal forward reference |
352 illegal forward reference |
|
353 |
|
354 # 0: symbol |
215 compiler.warn.forward.ref=\ |
355 compiler.warn.forward.ref=\ |
216 reference to variable ''{0}'' before it has been initialized |
356 reference to variable ''{0}'' before it has been initialized |
|
357 |
217 compiler.err.illegal.self.ref=\ |
358 compiler.err.illegal.self.ref=\ |
218 self-reference in initializer |
359 self-reference in initializer |
|
360 |
|
361 # 0: symbol |
219 compiler.warn.self.ref=\ |
362 compiler.warn.self.ref=\ |
220 self-reference in initializer of variable ''{0}'' |
363 self-reference in initializer of variable ''{0}'' |
|
364 |
221 compiler.err.illegal.generic.type.for.instof=\ |
365 compiler.err.illegal.generic.type.for.instof=\ |
222 illegal generic type for instanceof |
366 illegal generic type for instanceof |
|
367 |
|
368 # 0: type |
223 compiler.err.illegal.initializer.for.type=\ |
369 compiler.err.illegal.initializer.for.type=\ |
224 illegal initializer for {0} |
370 illegal initializer for {0} |
|
371 |
225 compiler.err.illegal.line.end.in.char.lit=\ |
372 compiler.err.illegal.line.end.in.char.lit=\ |
226 illegal line end in character literal |
373 illegal line end in character literal |
|
374 |
227 compiler.err.illegal.nonascii.digit=\ |
375 compiler.err.illegal.nonascii.digit=\ |
228 illegal non-ASCII digit |
376 illegal non-ASCII digit |
|
377 |
229 compiler.err.illegal.underscore=\ |
378 compiler.err.illegal.underscore=\ |
230 illegal underscore |
379 illegal underscore |
|
380 |
|
381 # 0: symbol |
231 compiler.err.illegal.qual.not.icls=\ |
382 compiler.err.illegal.qual.not.icls=\ |
232 illegal qualifier; {0} is not an inner class |
383 illegal qualifier; {0} is not an inner class |
|
384 |
233 compiler.err.illegal.start.of.expr=\ |
385 compiler.err.illegal.start.of.expr=\ |
234 illegal start of expression |
386 illegal start of expression |
|
387 |
235 compiler.err.illegal.start.of.type=\ |
388 compiler.err.illegal.start.of.type=\ |
236 illegal start of type |
389 illegal start of type |
|
390 |
237 compiler.err.illegal.unicode.esc=\ |
391 compiler.err.illegal.unicode.esc=\ |
238 illegal unicode escape |
392 illegal unicode escape |
|
393 |
|
394 # 0: symbol |
239 compiler.err.import.requires.canonical=\ |
395 compiler.err.import.requires.canonical=\ |
240 import requires canonical name for {0} |
396 import requires canonical name for {0} |
|
397 |
241 compiler.err.improperly.formed.type.param.missing=\ |
398 compiler.err.improperly.formed.type.param.missing=\ |
242 improperly formed type, some parameters are missing |
399 improperly formed type, some parameters are missing |
|
400 |
243 compiler.err.improperly.formed.type.inner.raw.param=\ |
401 compiler.err.improperly.formed.type.inner.raw.param=\ |
244 improperly formed type, type arguments given on a raw type |
402 improperly formed type, type arguments given on a raw type |
|
403 |
|
404 # 0: type, 1: type |
245 compiler.err.incomparable.types=\ |
405 compiler.err.incomparable.types=\ |
246 incomparable types: {0} and {1} |
406 incomparable types: {0} and {1} |
|
407 |
|
408 # 0: number |
247 compiler.err.int.number.too.large=\ |
409 compiler.err.int.number.too.large=\ |
248 integer number too large: {0} |
410 integer number too large: {0} |
|
411 |
249 compiler.err.internal.error.cant.instantiate=\ |
412 compiler.err.internal.error.cant.instantiate=\ |
250 internal error; cannot instantiate {0} at {1} to ({2}) |
413 internal error; cannot instantiate {0} at {1} to ({2}) |
|
414 |
251 compiler.err.intf.annotation.members.cant.have.params=\ |
415 compiler.err.intf.annotation.members.cant.have.params=\ |
252 @interface members may not have parameters |
416 @interface members may not have parameters |
|
417 |
253 compiler.err.intf.annotation.cant.have.type.params=\ |
418 compiler.err.intf.annotation.cant.have.type.params=\ |
254 @interface may not have type parameters |
419 @interface may not have type parameters |
|
420 |
255 compiler.err.intf.annotation.members.cant.have.type.params=\ |
421 compiler.err.intf.annotation.members.cant.have.type.params=\ |
256 @interface members may not have type parameters |
422 @interface members may not have type parameters |
|
423 |
|
424 # 0: symbol, 1: type |
257 compiler.err.intf.annotation.member.clash=\ |
425 compiler.err.intf.annotation.member.clash=\ |
258 @interface member clashes with method ''{0}'' in {1} |
426 @interface member clashes with method ''{0}'' in {1} |
|
427 |
259 compiler.err.intf.expected.here=\ |
428 compiler.err.intf.expected.here=\ |
260 interface expected here |
429 interface expected here |
|
430 |
261 compiler.err.intf.meth.cant.have.body=\ |
431 compiler.err.intf.meth.cant.have.body=\ |
262 interface methods cannot have body |
432 interface methods cannot have body |
|
433 |
263 compiler.err.invalid.annotation.member.type=\ |
434 compiler.err.invalid.annotation.member.type=\ |
264 invalid type for annotation member |
435 invalid type for annotation member |
|
436 |
265 compiler.err.invalid.binary.number=\ |
437 compiler.err.invalid.binary.number=\ |
266 binary numbers must contain at least one binary digit |
438 binary numbers must contain at least one binary digit |
|
439 |
267 compiler.err.invalid.hex.number=\ |
440 compiler.err.invalid.hex.number=\ |
268 hexadecimal numbers must contain at least one hexadecimal digit |
441 hexadecimal numbers must contain at least one hexadecimal digit |
|
442 |
269 compiler.err.invalid.meth.decl.ret.type.req=\ |
443 compiler.err.invalid.meth.decl.ret.type.req=\ |
270 invalid method declaration; return type required |
444 invalid method declaration; return type required |
|
445 |
271 compiler.err.varargs.and.old.array.syntax=\ |
446 compiler.err.varargs.and.old.array.syntax=\ |
272 legacy array notation not allowed on variable-arity parameter |
447 legacy array notation not allowed on variable-arity parameter |
273 |
448 |
|
449 # 0: name |
274 compiler.err.label.already.in.use=\ |
450 compiler.err.label.already.in.use=\ |
275 label {0} already in use |
451 label {0} already in use |
|
452 |
|
453 # 0: symbol |
276 compiler.err.local.var.accessed.from.icls.needs.final=\ |
454 compiler.err.local.var.accessed.from.icls.needs.final=\ |
277 local variable {0} is accessed from within inner class; needs to be declared final |
455 local variable {0} is accessed from within inner class; needs to be declared final |
|
456 |
278 compiler.err.local.enum=\ |
457 compiler.err.local.enum=\ |
279 enum types must not be local |
458 enum types must not be local |
|
459 |
280 compiler.err.cannot.create.array.with.type.arguments=\ |
460 compiler.err.cannot.create.array.with.type.arguments=\ |
281 cannot create array with type arguments |
461 cannot create array with type arguments |
282 |
462 |
283 # |
463 # |
284 # limits. We don't give the limits in the diagnostic because we expect |
464 # limits. We don't give the limits in the diagnostic because we expect |
285 # them to change, yet we want to use the same diagnostic. These are all |
465 # them to change, yet we want to use the same diagnostic. These are all |
286 # detected during code generation. |
466 # detected during code generation. |
287 # |
467 # |
288 compiler.err.limit.code=\ |
468 compiler.err.limit.code=\ |
289 code too large |
469 code too large |
|
470 |
290 compiler.err.limit.code.too.large.for.try.stmt=\ |
471 compiler.err.limit.code.too.large.for.try.stmt=\ |
291 code too large for try statement |
472 code too large for try statement |
|
473 |
292 compiler.err.limit.dimensions=\ |
474 compiler.err.limit.dimensions=\ |
293 array type has too many dimensions |
475 array type has too many dimensions |
|
476 |
294 compiler.err.limit.locals=\ |
477 compiler.err.limit.locals=\ |
295 too many local variables |
478 too many local variables |
|
479 |
296 compiler.err.limit.parameters=\ |
480 compiler.err.limit.parameters=\ |
297 too many parameters |
481 too many parameters |
|
482 |
298 compiler.err.limit.pool=\ |
483 compiler.err.limit.pool=\ |
299 too many constants |
484 too many constants |
|
485 |
300 compiler.err.limit.pool.in.class=\ |
486 compiler.err.limit.pool.in.class=\ |
301 too many constants in class {0} |
487 too many constants in class {0} |
|
488 |
302 compiler.err.limit.stack=\ |
489 compiler.err.limit.stack=\ |
303 code requires too much stack |
490 code requires too much stack |
|
491 |
304 compiler.err.limit.string=\ |
492 compiler.err.limit.string=\ |
305 constant string too long |
493 constant string too long |
|
494 |
306 compiler.err.limit.string.overflow=\ |
495 compiler.err.limit.string.overflow=\ |
307 UTF8 representation for string \"{0}...\" is too long for the constant pool |
496 UTF8 representation for string \"{0}...\" is too long for the constant pool |
308 |
497 |
309 compiler.err.malformed.fp.lit=\ |
498 compiler.err.malformed.fp.lit=\ |
310 malformed floating point literal |
499 malformed floating point literal |
|
500 |
311 compiler.err.method.does.not.override.superclass=\ |
501 compiler.err.method.does.not.override.superclass=\ |
312 method does not override or implement a method from a supertype |
502 method does not override or implement a method from a supertype |
|
503 |
313 compiler.err.missing.meth.body.or.decl.abstract=\ |
504 compiler.err.missing.meth.body.or.decl.abstract=\ |
314 missing method body, or declare abstract |
505 missing method body, or declare abstract |
|
506 |
315 compiler.err.missing.ret.stmt=\ |
507 compiler.err.missing.ret.stmt=\ |
316 missing return statement |
508 missing return statement |
|
509 |
317 compiler.err.missing.ret.val=\ |
510 compiler.err.missing.ret.val=\ |
318 missing return value |
511 missing return value |
|
512 |
|
513 # 0: set of modifier |
319 compiler.err.mod.not.allowed.here=\ |
514 compiler.err.mod.not.allowed.here=\ |
320 modifier {0} not allowed here |
515 modifier {0} not allowed here |
|
516 |
321 compiler.err.intf.not.allowed.here=\ |
517 compiler.err.intf.not.allowed.here=\ |
322 interface not allowed here |
518 interface not allowed here |
|
519 |
323 compiler.err.enums.must.be.static=\ |
520 compiler.err.enums.must.be.static=\ |
324 enum declarations allowed only in static contexts |
521 enum declarations allowed only in static contexts |
325 |
522 |
|
523 # 0: symbol, 1: symbol |
326 compiler.err.name.clash.same.erasure=\ |
524 compiler.err.name.clash.same.erasure=\ |
327 name clash: {0} and {1} have the same erasure |
525 name clash: {0} and {1} have the same erasure |
|
526 |
|
527 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
328 compiler.err.name.clash.same.erasure.no.override=\ |
528 compiler.err.name.clash.same.erasure.no.override=\ |
329 name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other |
529 name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other |
|
530 |
330 compiler.err.name.reserved.for.internal.use=\ |
531 compiler.err.name.reserved.for.internal.use=\ |
331 {0} is reserved for internal use |
532 {0} is reserved for internal use |
|
533 |
332 compiler.err.native.meth.cant.have.body=\ |
534 compiler.err.native.meth.cant.have.body=\ |
333 native methods cannot have a body |
535 native methods cannot have a body |
|
536 |
|
537 # 0: type, 1: type |
334 compiler.err.neither.conditional.subtype=\ |
538 compiler.err.neither.conditional.subtype=\ |
335 incompatible types for ?: neither is a subtype of the other\n\ |
539 incompatible types for ?: neither is a subtype of the other\n\ |
336 second operand: {0}\n\ |
540 second operand: {0}\n\ |
337 third operand : {1} |
541 third operand : {1} |
|
542 |
338 compiler.err.new.not.allowed.in.annotation=\ |
543 compiler.err.new.not.allowed.in.annotation=\ |
339 ''new'' not allowed in an annotation |
544 ''new'' not allowed in an annotation |
|
545 |
340 compiler.err.no.annotation.member=\ |
546 compiler.err.no.annotation.member=\ |
341 no annotation member {0} in {1} |
547 no annotation member {0} in {1} |
|
548 |
342 compiler.err.no.encl.instance.of.type.in.scope=\ |
549 compiler.err.no.encl.instance.of.type.in.scope=\ |
343 no enclosing instance of type {0} is in scope |
550 no enclosing instance of type {0} is in scope |
|
551 |
344 compiler.err.no.intf.expected.here=\ |
552 compiler.err.no.intf.expected.here=\ |
345 no interface expected here |
553 no interface expected here |
|
554 |
346 compiler.err.no.match.entry=\ |
555 compiler.err.no.match.entry=\ |
347 {0} has no match in entry in {1}; required {2} |
556 {0} has no match in entry in {1}; required {2} |
|
557 |
348 compiler.err.not.annotation.type=\ |
558 compiler.err.not.annotation.type=\ |
349 {0} is not an annotation type |
559 {0} is not an annotation type |
|
560 |
|
561 # 0: symbol, 1: symbol |
350 compiler.err.not.def.access.class.intf.cant.access=\ |
562 compiler.err.not.def.access.class.intf.cant.access=\ |
351 {0} in {1} is defined in an inaccessible class or interface |
563 {0} in {1} is defined in an inaccessible class or interface |
|
564 |
|
565 # 0: symbol, 1: symbol |
352 compiler.err.not.def.public.cant.access=\ |
566 compiler.err.not.def.public.cant.access=\ |
353 {0} is not public in {1}; cannot be accessed from outside package |
567 {0} is not public in {1}; cannot be accessed from outside package |
|
568 |
|
569 # 0: name |
354 compiler.err.not.loop.label=\ |
570 compiler.err.not.loop.label=\ |
355 not a loop label: {0} |
571 not a loop label: {0} |
|
572 |
356 compiler.err.not.stmt=\ |
573 compiler.err.not.stmt=\ |
357 not a statement |
574 not a statement |
|
575 |
|
576 # 0: symbol |
358 compiler.err.not.encl.class=\ |
577 compiler.err.not.encl.class=\ |
359 not an enclosing class: {0} |
578 not an enclosing class: {0} |
360 |
579 |
|
580 # 0: name, 1: type, 2: unused |
361 compiler.err.operator.cant.be.applied=\ |
581 compiler.err.operator.cant.be.applied=\ |
362 bad operand type {1} for unary operator ''{0}'' |
582 bad operand type {1} for unary operator ''{0}'' |
|
583 |
|
584 # 0: name, 1: type, 2: type |
363 compiler.err.operator.cant.be.applied.1=\ |
585 compiler.err.operator.cant.be.applied.1=\ |
364 bad operand types for binary operator ''{0}''\n\ |
586 bad operand types for binary operator ''{0}''\n\ |
365 first type: {1}\n\ |
587 first type: {1}\n\ |
366 second type: {2} |
588 second type: {2} |
367 |
589 |
368 compiler.err.pkg.annotations.sb.in.package-info.java=\ |
590 compiler.err.pkg.annotations.sb.in.package-info.java=\ |
369 package annotations should be in file package-info.java |
591 package annotations should be in file package-info.java |
|
592 |
|
593 # 0: symbol |
370 compiler.err.pkg.clashes.with.class.of.same.name=\ |
594 compiler.err.pkg.clashes.with.class.of.same.name=\ |
371 package {0} clashes with class of same name |
595 package {0} clashes with class of same name |
372 |
596 |
373 compiler.err.warnings.and.werror=\ |
597 compiler.err.warnings.and.werror=\ |
374 warnings found and -Werror specified |
598 warnings found and -Werror specified |
375 |
599 |
376 # Errors related to annotation processing |
600 # Errors related to annotation processing |
377 |
601 |
378 compiler.err.proc.cant.access=\ |
602 compiler.err.proc.cant.access=\ |
379 cannot access {0}\n\ |
603 cannot access {0}\n\ |
380 {1}\n\ |
604 {1}\n\ |
381 Consult the following stack trace for details.\n\ |
605 Consult the following stack trace for details.\n\ |
382 {2} |
606 {2} |
383 |
607 |
|
608 # 0: string |
384 compiler.err.proc.cant.find.class=\ |
609 compiler.err.proc.cant.find.class=\ |
385 Could not find class file for ''{0}''. |
610 Could not find class file for ''{0}''. |
386 |
611 |
387 # Print a client-generated error message; assumed to be localized, no translation required |
612 # Print a client-generated error message; assumed to be localized, no translation required |
|
613 # 0: string |
388 compiler.err.proc.messager=\ |
614 compiler.err.proc.messager=\ |
389 {0} |
615 {0} |
390 |
616 |
|
617 # 0: list of string |
391 compiler.err.proc.no.explicit.annotation.processing.requested=\ |
618 compiler.err.proc.no.explicit.annotation.processing.requested=\ |
392 Class names, ''{0}'', are only accepted if annotation processing is explicitly requested |
619 Class names, ''{0}'', are only accepted if annotation processing is explicitly requested |
393 |
620 |
394 compiler.err.proc.no.service=\ |
621 compiler.err.proc.no.service=\ |
395 A service loader class could not be found.\n\ |
622 A service loader class could not be found.\n\ |
396 Either java.util.ServiceLoader or sun.misc.Service must be available. |
623 Either java.util.ServiceLoader or sun.misc.Service must be available. |
397 |
624 |
398 compiler.err.proc.processor.bad.option.name=\ |
625 compiler.err.proc.processor.bad.option.name=\ |
399 Bad option name ''{0}'' provided by processor ''{1}'' |
626 Bad option name ''{0}'' provided by processor ''{1}'' |
400 |
627 |
|
628 # 0: string |
401 compiler.err.proc.processor.cant.instantiate=\ |
629 compiler.err.proc.processor.cant.instantiate=\ |
402 Could not instantiate an instance of processor ''{0}'' |
630 Could not instantiate an instance of processor ''{0}'' |
403 |
631 |
404 compiler.err.proc.processor.constructor.error=\ |
632 compiler.err.proc.processor.constructor.error=\ |
405 Exception thrown while constructing Processor object: {0} |
633 Exception thrown while constructing Processor object: {0} |
406 |
634 |
|
635 # 0: string |
407 compiler.err.proc.processor.not.found=\ |
636 compiler.err.proc.processor.not.found=\ |
408 Annotation processor ''{0}'' not found |
637 Annotation processor ''{0}'' not found |
409 |
638 |
|
639 # 0: string |
410 compiler.err.proc.processor.wrong.type=\ |
640 compiler.err.proc.processor.wrong.type=\ |
411 Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor |
641 Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor |
412 |
642 |
413 compiler.err.proc.service.problem=\ |
643 compiler.err.proc.service.problem=\ |
414 Error creating a service loader to load Processors. |
644 Error creating a service loader to load Processors. |
417 Bad service configuration file, or exception thrown while constructing Processor object: {0} |
647 Bad service configuration file, or exception thrown while constructing Processor object: {0} |
418 |
648 |
419 compiler.err.proc.cant.create.loader=\ |
649 compiler.err.proc.cant.create.loader=\ |
420 Could not create class loader for annotation processors: {0} |
650 Could not create class loader for annotation processors: {0} |
421 |
651 |
|
652 # 0: unused |
422 compiler.err.qualified.new.of.static.class=\ |
653 compiler.err.qualified.new.of.static.class=\ |
423 qualified new of static class |
654 qualified new of static class |
424 |
655 |
425 compiler.err.recursive.ctor.invocation=\ |
656 compiler.err.recursive.ctor.invocation=\ |
426 recursive constructor invocation |
657 recursive constructor invocation |
|
658 |
|
659 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol |
427 compiler.err.ref.ambiguous=\ |
660 compiler.err.ref.ambiguous=\ |
428 reference to {0} is ambiguous, both {1} {2} in {3} and {4} {5} in {6} match |
661 reference to {0} is ambiguous, both {1} {2} in {3} and {4} {5} in {6} match |
|
662 |
429 compiler.err.repeated.annotation.target=\ |
663 compiler.err.repeated.annotation.target=\ |
430 repeated annotation target |
664 repeated annotation target |
|
665 |
431 compiler.err.repeated.interface=\ |
666 compiler.err.repeated.interface=\ |
432 repeated interface |
667 repeated interface |
|
668 |
433 compiler.err.repeated.modifier=\ |
669 compiler.err.repeated.modifier=\ |
434 repeated modifier |
670 repeated modifier |
|
671 |
|
672 # 0: symbol, 1: set of modifier, 2: symbol |
435 compiler.err.report.access=\ |
673 compiler.err.report.access=\ |
436 {0} has {1} access in {2} |
674 {0} has {1} access in {2} |
|
675 |
437 compiler.err.ret.outside.meth=\ |
676 compiler.err.ret.outside.meth=\ |
438 return outside method |
677 return outside method |
439 |
678 |
440 compiler.err.signature.doesnt.match.supertype=\ |
679 compiler.err.signature.doesnt.match.supertype=\ |
441 signature does not match {0}; incompatible supertype |
680 signature does not match {0}; incompatible supertype |
|
681 |
442 compiler.err.signature.doesnt.match.intf=\ |
682 compiler.err.signature.doesnt.match.intf=\ |
443 signature does not match {0}; incompatible interfaces |
683 signature does not match {0}; incompatible interfaces |
|
684 |
|
685 # 0: symbol, 1: symbol, 2: symbol |
444 compiler.err.does.not.override.abstract=\ |
686 compiler.err.does.not.override.abstract=\ |
445 {0} is not abstract and does not override abstract method {1} in {2} |
687 {0} is not abstract and does not override abstract method {1} in {2} |
|
688 |
446 compiler.err.source.cant.overwrite.input.file=\ |
689 compiler.err.source.cant.overwrite.input.file=\ |
447 error writing source; cannot overwrite input file {0} |
690 error writing source; cannot overwrite input file {0} |
|
691 |
448 compiler.err.stack.sim.error=\ |
692 compiler.err.stack.sim.error=\ |
449 Internal error: stack sim error on {0} |
693 Internal error: stack sim error on {0} |
|
694 |
450 compiler.err.static.imp.only.classes.and.interfaces=\ |
695 compiler.err.static.imp.only.classes.and.interfaces=\ |
451 static import only from classes and interfaces |
696 static import only from classes and interfaces |
|
697 |
452 compiler.err.string.const.req=\ |
698 compiler.err.string.const.req=\ |
453 constant string expression required |
699 constant string expression required |
|
700 |
|
701 # 0: symbol, 1: symbol |
454 compiler.err.synthetic.name.conflict=\ |
702 compiler.err.synthetic.name.conflict=\ |
455 the symbol {0} conflicts with a compiler-synthesized symbol in {1} |
703 the symbol {0} conflicts with a compiler-synthesized symbol in {1} |
|
704 |
|
705 # 0: symbol, 1: symbol |
456 compiler.warn.synthetic.name.conflict=\ |
706 compiler.warn.synthetic.name.conflict=\ |
457 the symbol {0} conflicts with a compiler-synthesized symbol in {1} |
707 the symbol {0} conflicts with a compiler-synthesized symbol in {1} |
458 |
708 |
459 compiler.err.throws.not.allowed.in.intf.annotation=\ |
709 compiler.err.throws.not.allowed.in.intf.annotation=\ |
460 throws clause not allowed in @interface members |
710 throws clause not allowed in @interface members |
|
711 |
461 compiler.err.try.without.catch.or.finally=\ |
712 compiler.err.try.without.catch.or.finally=\ |
462 ''try'' without ''catch'' or ''finally'' |
713 ''try'' without ''catch'' or ''finally'' |
|
714 |
463 compiler.err.try.without.catch.finally.or.resource.decls=\ |
715 compiler.err.try.without.catch.finally.or.resource.decls=\ |
464 ''try'' without ''catch'', ''finally'' or resource declarations |
716 ''try'' without ''catch'', ''finally'' or resource declarations |
|
717 |
|
718 # 0: symbol |
465 compiler.err.type.doesnt.take.params=\ |
719 compiler.err.type.doesnt.take.params=\ |
466 type {0} does not take parameters |
720 type {0} does not take parameters |
|
721 |
467 compiler.err.type.var.cant.be.deref=\ |
722 compiler.err.type.var.cant.be.deref=\ |
468 cannot select from a type variable |
723 cannot select from a type variable |
|
724 |
469 compiler.err.type.var.may.not.be.followed.by.other.bounds=\ |
725 compiler.err.type.var.may.not.be.followed.by.other.bounds=\ |
470 a type variable may not be followed by other bounds |
726 a type variable may not be followed by other bounds |
|
727 |
471 compiler.err.type.var.more.than.once=\ |
728 compiler.err.type.var.more.than.once=\ |
472 type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated |
729 type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated |
|
730 |
473 compiler.err.type.var.more.than.once.in.result=\ |
731 compiler.err.type.var.more.than.once.in.result=\ |
474 type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated |
732 type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated |
|
733 |
|
734 # 0: type, 1: type, 2: string |
475 compiler.err.types.incompatible.diff.ret=\ |
735 compiler.err.types.incompatible.diff.ret=\ |
476 types {0} and {1} are incompatible; both define {2}, but with unrelated return types |
736 types {0} and {1} are incompatible; both define {2}, but with unrelated return types |
477 |
737 |
478 compiler.err.unclosed.char.lit=\ |
738 compiler.err.unclosed.char.lit=\ |
479 unclosed character literal |
739 unclosed character literal |
|
740 |
480 compiler.err.unclosed.comment=\ |
741 compiler.err.unclosed.comment=\ |
481 unclosed comment |
742 unclosed comment |
|
743 |
482 compiler.err.unclosed.str.lit=\ |
744 compiler.err.unclosed.str.lit=\ |
483 unclosed string literal |
745 unclosed string literal |
|
746 |
484 compiler.err.unknown.enum.constant=\ |
747 compiler.err.unknown.enum.constant=\ |
485 in class file {0}: unknown enum constant {1}.{2} |
748 in class file {0}: unknown enum constant {1}.{2} |
|
749 |
|
750 # 0: name |
486 compiler.err.unsupported.encoding=\ |
751 compiler.err.unsupported.encoding=\ |
487 unsupported encoding: {0} |
752 unsupported encoding: {0} |
|
753 |
488 compiler.err.io.exception=\ |
754 compiler.err.io.exception=\ |
489 error reading source file: {0} |
755 error reading source file: {0} |
|
756 |
|
757 # 0: name |
490 compiler.err.undef.label=\ |
758 compiler.err.undef.label=\ |
491 undefined label: {0} |
759 undefined label: {0} |
|
760 |
492 compiler.err.undetermined.type=\ |
761 compiler.err.undetermined.type=\ |
493 cannot infer type arguments for {0} |
762 cannot infer type arguments for {0} |
|
763 |
|
764 # 0: type, 1: message segment |
494 compiler.err.undetermined.type.1=\ |
765 compiler.err.undetermined.type.1=\ |
495 cannot infer type arguments for {0};\n\ |
766 cannot infer type arguments for {0};\n\ |
496 reason: {1} |
767 reason: {1} |
|
768 |
|
769 # 0: list of type, 1: message segment |
497 compiler.err.invalid.inferred.types=\ |
770 compiler.err.invalid.inferred.types=\ |
498 invalid inferred types for {0}; {1} |
771 invalid inferred types for {0}; {1} |
|
772 |
|
773 # 0: message segment, 1: unused |
499 compiler.err.cant.apply.diamond=\ |
774 compiler.err.cant.apply.diamond=\ |
500 cannot infer type arguments for {0} |
775 cannot infer type arguments for {0} |
|
776 |
|
777 # 0: message segment, 1: message segment |
501 compiler.err.cant.apply.diamond.1=\ |
778 compiler.err.cant.apply.diamond.1=\ |
502 cannot infer type arguments for {0};\n\ |
779 cannot infer type arguments for {0};\n\ |
503 reason: {1} |
780 reason: {1} |
|
781 |
504 compiler.err.unreachable.stmt=\ |
782 compiler.err.unreachable.stmt=\ |
505 unreachable statement |
783 unreachable statement |
|
784 |
506 compiler.err.initializer.must.be.able.to.complete.normally=\ |
785 compiler.err.initializer.must.be.able.to.complete.normally=\ |
507 initializer must be able to complete normally |
786 initializer must be able to complete normally |
|
787 |
|
788 # 0: type |
508 compiler.err.unreported.exception.need.to.catch.or.throw=\ |
789 compiler.err.unreported.exception.need.to.catch.or.throw=\ |
509 unreported exception {0}; must be caught or declared to be thrown |
790 unreported exception {0}; must be caught or declared to be thrown |
|
791 |
|
792 # 0: type |
510 compiler.err.unreported.exception.default.constructor=\ |
793 compiler.err.unreported.exception.default.constructor=\ |
511 unreported exception {0} in default constructor |
794 unreported exception {0} in default constructor |
|
795 |
512 compiler.err.unsupported.cross.fp.lit=\ |
796 compiler.err.unsupported.cross.fp.lit=\ |
513 hexadecimal floating-point literals are not supported on this VM |
797 hexadecimal floating-point literals are not supported on this VM |
|
798 |
514 compiler.err.void.not.allowed.here=\ |
799 compiler.err.void.not.allowed.here=\ |
515 ''void'' type not allowed here |
800 ''void'' type not allowed here |
516 |
801 |
|
802 # 0: string |
517 compiler.err.wrong.number.type.args=\ |
803 compiler.err.wrong.number.type.args=\ |
518 wrong number of type arguments; required {0} |
804 wrong number of type arguments; required {0} |
519 |
805 |
|
806 # 0: symbol |
520 compiler.err.var.might.already.be.assigned=\ |
807 compiler.err.var.might.already.be.assigned=\ |
521 variable {0} might already have been assigned |
808 variable {0} might already have been assigned |
|
809 |
|
810 # 0: symbol |
522 compiler.err.var.might.not.have.been.initialized=\ |
811 compiler.err.var.might.not.have.been.initialized=\ |
523 variable {0} might not have been initialized |
812 variable {0} might not have been initialized |
|
813 |
|
814 # 0: symbol |
524 compiler.err.var.might.be.assigned.in.loop=\ |
815 compiler.err.var.might.be.assigned.in.loop=\ |
525 variable {0} might be assigned in loop |
816 variable {0} might be assigned in loop |
526 |
817 |
|
818 # 0: symbol, 1: message segment |
527 compiler.err.varargs.invalid.trustme.anno=\ |
819 compiler.err.varargs.invalid.trustme.anno=\ |
528 Invalid {0} annotation. {1} |
820 Invalid {0} annotation. {1} |
|
821 |
|
822 # 0: type |
529 compiler.misc.varargs.trustme.on.reifiable.varargs=\ |
823 compiler.misc.varargs.trustme.on.reifiable.varargs=\ |
530 Varargs element type {0} is reifiable. |
824 Varargs element type {0} is reifiable. |
|
825 |
|
826 # 0: symbol |
531 compiler.misc.varargs.trustme.on.non.varargs.meth=\ |
827 compiler.misc.varargs.trustme.on.non.varargs.meth=\ |
532 Method {0} is not a varargs method. |
828 Method {0} is not a varargs method. |
|
829 |
|
830 # 0: symbol |
533 compiler.misc.varargs.trustme.on.virtual.varargs=\ |
831 compiler.misc.varargs.trustme.on.virtual.varargs=\ |
534 Instance method {0} is not final. |
832 Instance method {0} is not final. |
535 |
833 |
536 # In the following string, {1} will always be the detail message from |
834 # In the following string, {1} will always be the detail message from |
537 # java.io.IOException. |
835 # java.io.IOException. |
|
836 # 0: symbol, 1: string |
538 compiler.err.class.cant.write=\ |
837 compiler.err.class.cant.write=\ |
539 error while writing {0}: {1} |
838 error while writing {0}: {1} |
540 |
839 |
541 # In the following string, {0} is the name of the class in the Java source. |
840 # In the following string, {0} is the name of the class in the Java source. |
542 # It really should be used two times.. |
841 # It really should be used two times.. |
|
842 # 0: name |
543 compiler.err.class.public.should.be.in.file=\ |
843 compiler.err.class.public.should.be.in.file=\ |
544 class {0} is public, should be declared in a file named {0}.java |
844 class {0} is public, should be declared in a file named {0}.java |
545 |
845 |
546 ## All errors which do not refer to a particular line in the source code are |
846 ## All errors which do not refer to a particular line in the source code are |
547 ## preceded by this string. |
847 ## preceded by this string. |
573 ## miscellaneous strings |
877 ## miscellaneous strings |
574 ## |
878 ## |
575 |
879 |
576 compiler.misc.source.unavailable=\ |
880 compiler.misc.source.unavailable=\ |
577 (source unavailable) |
881 (source unavailable) |
|
882 |
578 compiler.misc.base.membership=\ |
883 compiler.misc.base.membership=\ |
579 all your base class are belong to us |
884 all your base class are belong to us |
|
885 |
|
886 # 0: string, 1: string, 2: boolean |
580 compiler.misc.x.print.processor.info=\ |
887 compiler.misc.x.print.processor.info=\ |
581 Processor {0} matches {1} and returns {2}. |
888 Processor {0} matches {1} and returns {2}. |
|
889 |
|
890 # 0: number, 1: string, 2: set of symbol, 3: boolean |
582 compiler.misc.x.print.rounds=\ |
891 compiler.misc.x.print.rounds=\ |
583 Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3} |
892 Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3} |
584 |
893 |
585 ##### |
894 ##### |
586 |
895 |
587 ## The following string will appear before all messages keyed as: |
896 ## The following string will appear before all messages keyed as: |
588 ## "compiler.note". |
897 ## "compiler.note". |
589 compiler.note.note=\ |
898 compiler.note.note=\ |
590 Note:\u0020 |
899 Note:\u0020 |
591 |
900 |
|
901 # 0: file name |
592 compiler.note.deprecated.filename=\ |
902 compiler.note.deprecated.filename=\ |
593 {0} uses or overrides a deprecated API. |
903 {0} uses or overrides a deprecated API. |
|
904 |
594 compiler.note.deprecated.plural=\ |
905 compiler.note.deprecated.plural=\ |
595 Some input files use or override a deprecated API. |
906 Some input files use or override a deprecated API. |
|
907 |
596 # The following string may appear after one of the above deprecation |
908 # The following string may appear after one of the above deprecation |
597 # messages. |
909 # messages. |
598 compiler.note.deprecated.recompile=\ |
910 compiler.note.deprecated.recompile=\ |
599 Recompile with -Xlint:deprecation for details. |
911 Recompile with -Xlint:deprecation for details. |
600 |
912 |
|
913 # 0: file name |
601 compiler.note.deprecated.filename.additional=\ |
914 compiler.note.deprecated.filename.additional=\ |
602 {0} has additional uses or overrides of a deprecated API. |
915 {0} has additional uses or overrides of a deprecated API. |
|
916 |
603 compiler.note.deprecated.plural.additional=\ |
917 compiler.note.deprecated.plural.additional=\ |
604 Some input files additionally use or override a deprecated API. |
918 Some input files additionally use or override a deprecated API. |
605 |
919 |
|
920 # 0: file name |
606 compiler.note.unchecked.filename=\ |
921 compiler.note.unchecked.filename=\ |
607 {0} uses unchecked or unsafe operations. |
922 {0} uses unchecked or unsafe operations. |
|
923 |
608 compiler.note.unchecked.plural=\ |
924 compiler.note.unchecked.plural=\ |
609 Some input files use unchecked or unsafe operations. |
925 Some input files use unchecked or unsafe operations. |
|
926 |
610 # The following string may appear after one of the above deprecation |
927 # The following string may appear after one of the above deprecation |
611 # messages. |
928 # messages. |
612 compiler.note.unchecked.recompile=\ |
929 compiler.note.unchecked.recompile=\ |
613 Recompile with -Xlint:unchecked for details. |
930 Recompile with -Xlint:unchecked for details. |
614 |
931 |
|
932 # 0: file name |
615 compiler.note.unchecked.filename.additional=\ |
933 compiler.note.unchecked.filename.additional=\ |
616 {0} has additional unchecked or unsafe operations. |
934 {0} has additional unchecked or unsafe operations. |
|
935 |
617 compiler.note.unchecked.plural.additional=\ |
936 compiler.note.unchecked.plural.additional=\ |
618 Some input files additionally use unchecked or unsafe operations. |
937 Some input files additionally use unchecked or unsafe operations. |
619 |
938 |
|
939 # 0: file name |
620 compiler.note.sunapi.filename=\ |
940 compiler.note.sunapi.filename=\ |
621 {0} uses internal proprietary API that may be removed in a future release. |
941 {0} uses internal proprietary API that may be removed in a future release. |
|
942 |
622 compiler.note.sunapi.plural=\ |
943 compiler.note.sunapi.plural=\ |
623 Some input files use internal proprietary API that may be removed in a future release. |
944 Some input files use internal proprietary API that may be removed in a future release. |
|
945 |
624 # The following string may appear after one of the above sunapi messages. |
946 # The following string may appear after one of the above sunapi messages. |
625 compiler.note.sunapi.recompile=\ |
947 compiler.note.sunapi.recompile=\ |
626 Recompile with -Xlint:sunapi for details. |
948 Recompile with -Xlint:sunapi for details. |
627 |
949 |
|
950 # 0: file name |
628 compiler.note.sunapi.filename.additional=\ |
951 compiler.note.sunapi.filename.additional=\ |
629 {0} uses additional internal proprietary API that may be removed in a future release. |
952 {0} uses additional internal proprietary API that may be removed in a future release. |
|
953 |
630 compiler.note.sunapi.plural.additional=\ |
954 compiler.note.sunapi.plural.additional=\ |
631 Some input files additionally use internal proprietary API that may be removed in a future release. |
955 Some input files additionally use internal proprietary API that may be removed in a future release. |
632 |
956 |
633 # Notes related to annotation processing |
957 # Notes related to annotation processing |
634 |
958 |
635 # Print a client-generated note; assumed to be localized, no translation required |
959 # Print a client-generated note; assumed to be localized, no translation required |
|
960 # 0: string |
636 compiler.note.proc.messager=\ |
961 compiler.note.proc.messager=\ |
637 {0} |
962 {0} |
638 |
963 |
639 ##### |
964 ##### |
640 |
965 |
|
966 # 0: number |
641 compiler.misc.count.error=\ |
967 compiler.misc.count.error=\ |
642 {0} error |
968 {0} error |
|
969 |
|
970 # 0: number |
643 compiler.misc.count.error.plural=\ |
971 compiler.misc.count.error.plural=\ |
644 {0} errors |
972 {0} errors |
|
973 |
|
974 # 0: number |
645 compiler.misc.count.warn=\ |
975 compiler.misc.count.warn=\ |
646 {0} warning |
976 {0} warning |
|
977 |
|
978 # 0: number |
647 compiler.misc.count.warn.plural=\ |
979 compiler.misc.count.warn.plural=\ |
648 {0} warnings |
980 {0} warnings |
649 |
981 |
650 compiler.misc.version.not.available=\ |
982 compiler.misc.version.not.available=\ |
651 (version info not available) |
983 (version info not available) |
652 |
984 |
653 ## extra output when using -verbose (JavaCompiler) |
985 ## extra output when using -verbose (JavaCompiler) |
654 |
986 |
|
987 # 0: symbol |
655 compiler.misc.verbose.checking.attribution=\ |
988 compiler.misc.verbose.checking.attribution=\ |
656 [checking {0}] |
989 [checking {0}] |
|
990 |
|
991 # 0: string |
657 compiler.misc.verbose.parsing.done=\ |
992 compiler.misc.verbose.parsing.done=\ |
658 [parsing completed {0}ms] |
993 [parsing completed {0}ms] |
|
994 |
|
995 # 0: file name |
659 compiler.misc.verbose.parsing.started=\ |
996 compiler.misc.verbose.parsing.started=\ |
660 [parsing started {0}] |
997 [parsing started {0}] |
|
998 |
|
999 # 0: string |
661 compiler.misc.verbose.total=\ |
1000 compiler.misc.verbose.total=\ |
662 [total {0}ms] |
1001 [total {0}ms] |
|
1002 |
|
1003 # 0: file name |
663 compiler.misc.verbose.wrote.file=\ |
1004 compiler.misc.verbose.wrote.file=\ |
664 [wrote {0}] |
1005 [wrote {0}] |
665 |
1006 |
666 ## extra output when using -verbose (Retro) |
1007 ## extra output when using -verbose (Retro) |
667 compiler.misc.verbose.retro=\ |
1008 compiler.misc.verbose.retro=\ |
668 [retrofitting {0}] |
1009 [retrofitting {0}] |
|
1010 |
669 compiler.misc.verbose.retro.with=\ |
1011 compiler.misc.verbose.retro.with=\ |
670 \tretrofitting {0} with {1} |
1012 \tretrofitting {0} with {1} |
|
1013 |
671 compiler.misc.verbose.retro.with.list=\ |
1014 compiler.misc.verbose.retro.with.list=\ |
672 \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3} |
1015 \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3} |
673 |
1016 |
674 ## extra output when using -verbose (code/ClassReader) |
1017 ## extra output when using -verbose (code/ClassReader) |
|
1018 # 0: string |
675 compiler.misc.verbose.loading=\ |
1019 compiler.misc.verbose.loading=\ |
676 [loading {0}] |
1020 [loading {0}] |
677 |
1021 |
|
1022 # 0: string |
678 compiler.misc.verbose.sourcepath=\ |
1023 compiler.misc.verbose.sourcepath=\ |
679 [search path for source files: {0}] |
1024 [search path for source files: {0}] |
680 |
1025 |
|
1026 # 0: string |
681 compiler.misc.verbose.classpath=\ |
1027 compiler.misc.verbose.classpath=\ |
682 [search path for class files: {0}] |
1028 [search path for class files: {0}] |
683 |
1029 |
684 ## extra output when using -checkclassfile (code/ClassReader) |
1030 ## extra output when using -checkclassfile (code/ClassReader) |
685 compiler.misc.ccf.found.later.version=\ |
1031 compiler.misc.ccf.found.later.version=\ |
686 class file has later version than expected: {0} |
1032 class file has later version than expected: {0} |
|
1033 |
687 compiler.misc.ccf.unrecognized.attribute=\ |
1034 compiler.misc.ccf.unrecognized.attribute=\ |
688 unrecognized attribute: {0} |
1035 unrecognized attribute: {0} |
689 |
1036 |
690 ## extra output when using -prompt (util/Log) |
1037 ## extra output when using -prompt (util/Log) |
691 compiler.misc.resume.abort=\ |
1038 compiler.misc.resume.abort=\ |
701 compiler.warn.warning=\ |
1048 compiler.warn.warning=\ |
702 warning:\u0020 |
1049 warning:\u0020 |
703 |
1050 |
704 ## Warning messages may also include the following prefix to identify a |
1051 ## Warning messages may also include the following prefix to identify a |
705 ## lint option |
1052 ## lint option |
|
1053 # 0: option name |
706 compiler.warn.lintOption=\ |
1054 compiler.warn.lintOption=\ |
707 [{0}]\u0020 |
1055 [{0}]\u0020 |
708 |
1056 |
|
1057 # 0: symbol |
709 compiler.warn.constant.SVUID=\ |
1058 compiler.warn.constant.SVUID=\ |
710 serialVersionUID must be constant in class {0} |
1059 serialVersionUID must be constant in class {0} |
711 |
1060 |
|
1061 # 0: file name |
712 compiler.warn.dir.path.element.not.found=\ |
1062 compiler.warn.dir.path.element.not.found=\ |
713 bad path element "{0}": no such directory |
1063 bad path element "{0}": no such directory |
714 |
1064 |
715 compiler.warn.finally.cannot.complete=\ |
1065 compiler.warn.finally.cannot.complete=\ |
716 finally clause cannot complete normally |
1066 finally clause cannot complete normally |
717 |
1067 |
|
1068 # 0: symbol, 1: symbol |
718 compiler.warn.has.been.deprecated=\ |
1069 compiler.warn.has.been.deprecated=\ |
719 {0} in {1} has been deprecated |
1070 {0} in {1} has been deprecated |
720 |
1071 |
|
1072 # 0: symbol |
721 compiler.warn.sun.proprietary=\ |
1073 compiler.warn.sun.proprietary=\ |
722 {0} is internal proprietary API and may be removed in a future release |
1074 {0} is internal proprietary API and may be removed in a future release |
723 |
1075 |
724 compiler.warn.illegal.char.for.encoding=\ |
1076 compiler.warn.illegal.char.for.encoding=\ |
725 unmappable character for encoding {0} |
1077 unmappable character for encoding {0} |
726 |
1078 |
|
1079 # 0: symbol |
727 compiler.warn.improper.SVUID=\ |
1080 compiler.warn.improper.SVUID=\ |
728 serialVersionUID must be declared static final in class {0} |
1081 serialVersionUID must be declared static final in class {0} |
729 |
1082 |
|
1083 # 0: type, 1: type |
730 compiler.warn.inexact.non-varargs.call=\ |
1084 compiler.warn.inexact.non-varargs.call=\ |
731 non-varargs call of varargs method with inexact argument type for last parameter;\n\ |
1085 non-varargs call of varargs method with inexact argument type for last parameter;\n\ |
732 cast to {0} for a varargs call\n\ |
1086 cast to {0} for a varargs call\n\ |
733 cast to {1} for a non-varargs call and to suppress this warning |
1087 cast to {1} for a non-varargs call and to suppress this warning |
734 |
1088 |
|
1089 # 0: symbol |
735 compiler.warn.long.SVUID=\ |
1090 compiler.warn.long.SVUID=\ |
736 serialVersionUID must be of type long in class {0} |
1091 serialVersionUID must be of type long in class {0} |
737 |
1092 |
|
1093 # 0: symbol |
738 compiler.warn.missing.SVUID=\ |
1094 compiler.warn.missing.SVUID=\ |
739 serializable class {0} has no definition of serialVersionUID |
1095 serializable class {0} has no definition of serialVersionUID |
740 |
1096 |
|
1097 # 0: message segment |
741 compiler.warn.override.varargs.missing=\ |
1098 compiler.warn.override.varargs.missing=\ |
742 {0}; overridden method has no ''...'' |
1099 {0}; overridden method has no ''...'' |
|
1100 |
|
1101 # 0: message segment |
743 compiler.warn.override.varargs.extra=\ |
1102 compiler.warn.override.varargs.extra=\ |
744 {0}; overriding method is missing ''...'' |
1103 {0}; overriding method is missing ''...'' |
|
1104 |
745 compiler.warn.override.bridge=\ |
1105 compiler.warn.override.bridge=\ |
746 {0}; overridden method is a bridge method |
1106 {0}; overridden method is a bridge method |
747 |
1107 |
|
1108 # 0: symbol |
748 compiler.warn.pkg-info.already.seen=\ |
1109 compiler.warn.pkg-info.already.seen=\ |
749 a package-info.java file has already been seen for package {0} |
1110 a package-info.java file has already been seen for package {0} |
750 |
1111 |
|
1112 # 0: file name |
751 compiler.warn.path.element.not.found=\ |
1113 compiler.warn.path.element.not.found=\ |
752 bad path element "{0}": no such file or directory |
1114 bad path element "{0}": no such file or directory |
753 |
1115 |
754 compiler.warn.possible.fall-through.into.case=\ |
1116 compiler.warn.possible.fall-through.into.case=\ |
755 possible fall-through into case |
1117 possible fall-through into case |
756 |
1118 |
|
1119 # 0: type |
757 compiler.warn.redundant.cast=\ |
1120 compiler.warn.redundant.cast=\ |
758 redundant cast to {0} |
1121 redundant cast to {0} |
759 |
1122 |
|
1123 # 0: number |
760 compiler.warn.position.overflow=\ |
1124 compiler.warn.position.overflow=\ |
761 Position encoding overflows at line {0} |
1125 Position encoding overflows at line {0} |
762 |
1126 |
|
1127 # 0: file name, 1: number, 2: number |
763 compiler.warn.big.major.version=\ |
1128 compiler.warn.big.major.version=\ |
764 {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\ |
1129 {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\ |
765 It is recommended that the compiler be upgraded. |
1130 It is recommended that the compiler be upgraded. |
766 |
1131 |
|
1132 # 0: symbol kind, 1: symbol |
767 compiler.warn.static.not.qualified.by.type=\ |
1133 compiler.warn.static.not.qualified.by.type=\ |
768 static {0} should be qualified by type name, {1}, instead of by an expression |
1134 static {0} should be qualified by type name, {1}, instead of by an expression |
769 |
1135 |
|
1136 # 0: string |
770 compiler.warn.source.no.bootclasspath=\ |
1137 compiler.warn.source.no.bootclasspath=\ |
771 bootstrap class path not set in conjunction with -source {0} |
1138 bootstrap class path not set in conjunction with -source {0} |
772 |
1139 |
|
1140 # 0: name, 1: number, 2: number, 3: number, 4: number |
773 compiler.warn.future.attr=\ |
1141 compiler.warn.future.attr=\ |
774 {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files |
1142 {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files |
775 |
1143 |
776 # Warnings related to annotation processing |
1144 # Warnings related to annotation processing |
|
1145 # 0: name |
777 compiler.warn.proc.package.does.not.exist=\ |
1146 compiler.warn.proc.package.does.not.exist=\ |
778 package {0} does not exist |
1147 package {0} does not exist |
|
1148 |
|
1149 # 0: name |
779 compiler.warn.proc.file.reopening=\ |
1150 compiler.warn.proc.file.reopening=\ |
780 Attempt to create a file for ''{0}'' multiple times |
1151 Attempt to create a file for ''{0}'' multiple times |
781 |
1152 |
|
1153 # 0: name |
782 compiler.warn.proc.type.already.exists=\ |
1154 compiler.warn.proc.type.already.exists=\ |
783 A file for type ''{0}'' already exists on the sourcepath or classpath |
1155 A file for type ''{0}'' already exists on the sourcepath or classpath |
784 |
1156 |
|
1157 # 0: name |
785 compiler.warn.proc.type.recreate=\ |
1158 compiler.warn.proc.type.recreate=\ |
786 Attempt to create a file for type ''{0}'' multiple times |
1159 Attempt to create a file for type ''{0}'' multiple times |
787 |
1160 |
|
1161 # 0: string |
788 compiler.warn.proc.illegal.file.name=\ |
1162 compiler.warn.proc.illegal.file.name=\ |
789 Cannot create file for illegal name ''{0}''. |
1163 Cannot create file for illegal name ''{0}''. |
790 |
1164 |
|
1165 # 0: string, 1: string |
791 compiler.warn.proc.suspicious.class.name=\ |
1166 compiler.warn.proc.suspicious.class.name=\ |
792 Creating file for a type whose name ends in {1}: ''{0}'' |
1167 Creating file for a type whose name ends in {1}: ''{0}'' |
793 |
1168 |
|
1169 # 0: name |
794 compiler.warn.proc.file.create.last.round=\ |
1170 compiler.warn.proc.file.create.last.round=\ |
795 File for type ''{0}'' created in the last round will not be subject to annotation processing. |
1171 File for type ''{0}'' created in the last round will not be subject to annotation processing. |
796 |
1172 |
|
1173 # 0: string, 1: string |
797 compiler.warn.proc.malformed.supported.string=\ |
1174 compiler.warn.proc.malformed.supported.string=\ |
798 Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}'' |
1175 Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}'' |
799 |
1176 |
|
1177 # 0: set of string |
800 compiler.warn.proc.annotations.without.processors=\ |
1178 compiler.warn.proc.annotations.without.processors=\ |
801 No processor claimed any of these annotations: {0} |
1179 No processor claimed any of these annotations: {0} |
802 |
1180 |
|
1181 # 0: source version, 1: string, 2: string |
803 compiler.warn.proc.processor.incompatible.source.version=\ |
1182 compiler.warn.proc.processor.incompatible.source.version=\ |
804 Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}'' |
1183 Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}'' |
805 |
1184 |
806 compiler.warn.proc.proc-only.requested.no.procs=\ |
1185 compiler.warn.proc.proc-only.requested.no.procs=\ |
807 Annotation processing without compilation requested but no processors were found. |
1186 Annotation processing without compilation requested but no processors were found. |
808 |
1187 |
809 compiler.warn.proc.use.implicit=\ |
1188 compiler.warn.proc.use.implicit=\ |
810 Implicitly compiled files were not subject to annotation processing.\n\ |
1189 Implicitly compiled files were not subject to annotation processing.\n\ |
811 Use -implicit to specify a policy for implicit compilation. |
1190 Use -implicit to specify a policy for implicit compilation. |
812 |
1191 |
813 compiler.warn.proc.use.proc.or.implicit=\ |
1192 compiler.warn.proc.use.proc.or.implicit=\ |
814 Implicitly compiled files were not subject to annotation processing.\n\ |
1193 Implicitly compiled files were not subject to annotation processing.\n\ |
815 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. |
1194 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. |
816 |
1195 |
817 # Print a client-generated warning; assumed to be localized, no translation required |
1196 # Print a client-generated warning; assumed to be localized, no translation required |
|
1197 # 0: string |
818 compiler.warn.proc.messager=\ |
1198 compiler.warn.proc.messager=\ |
819 {0} |
1199 {0} |
820 |
1200 |
|
1201 # 0: set of name |
821 compiler.warn.proc.unclosed.type.files=\ |
1202 compiler.warn.proc.unclosed.type.files=\ |
822 Unclosed files for the types ''{0}''; these types will not undergo annotation processing |
1203 Unclosed files for the types ''{0}''; these types will not undergo annotation processing |
823 |
1204 |
|
1205 # 0: string |
824 compiler.warn.proc.unmatched.processor.options=\ |
1206 compiler.warn.proc.unmatched.processor.options=\ |
825 The following options were not recognized by any processor: ''{0}'' |
1207 The following options were not recognized by any processor: ''{0}'' |
826 |
1208 |
827 compiler.warn.try.explicit.close.call=\ |
1209 compiler.warn.try.explicit.close.call=\ |
828 explicit call to close() on an auto-closeable resource |
1210 explicit call to close() on an auto-closeable resource |
|
1211 |
|
1212 # 0: symbol |
829 compiler.warn.try.resource.not.referenced=\ |
1213 compiler.warn.try.resource.not.referenced=\ |
830 auto-closeable resource {0} is never referenced in body of corresponding try statement |
1214 auto-closeable resource {0} is never referenced in body of corresponding try statement |
|
1215 |
831 compiler.warn.unchecked.assign=\ |
1216 compiler.warn.unchecked.assign=\ |
832 unchecked assignment: {0} to {1} |
1217 unchecked assignment: {0} to {1} |
|
1218 |
|
1219 # 0: symbol, 1: type |
833 compiler.warn.unchecked.assign.to.var=\ |
1220 compiler.warn.unchecked.assign.to.var=\ |
834 unchecked assignment to variable {0} as member of raw type {1} |
1221 unchecked assignment to variable {0} as member of raw type {1} |
|
1222 |
|
1223 # 0: symbol, 1: type |
835 compiler.warn.unchecked.call.mbr.of.raw.type=\ |
1224 compiler.warn.unchecked.call.mbr.of.raw.type=\ |
836 unchecked call to {0} as a member of the raw type {1} |
1225 unchecked call to {0} as a member of the raw type {1} |
|
1226 |
837 compiler.warn.unchecked.cast.to.type=\ |
1227 compiler.warn.unchecked.cast.to.type=\ |
838 unchecked cast to type {0} |
1228 unchecked cast to type {0} |
|
1229 |
|
1230 # 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol |
839 compiler.warn.unchecked.meth.invocation.applied=\ |
1231 compiler.warn.unchecked.meth.invocation.applied=\ |
840 unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\ |
1232 unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\ |
841 required: {2}\n\ |
1233 required: {2}\n\ |
842 found: {3} |
1234 found: {3} |
843 |
1235 |
|
1236 # 0: type |
844 compiler.warn.unchecked.generic.array.creation=\ |
1237 compiler.warn.unchecked.generic.array.creation=\ |
845 unchecked generic array creation for varargs parameter of type {0} |
1238 unchecked generic array creation for varargs parameter of type {0} |
846 |
1239 |
|
1240 # 0: type |
847 compiler.warn.unchecked.varargs.non.reifiable.type=\ |
1241 compiler.warn.unchecked.varargs.non.reifiable.type=\ |
848 Possible heap pollution from parameterized vararg type {0} |
1242 Possible heap pollution from parameterized vararg type {0} |
849 |
1243 |
|
1244 # 0: symbol |
850 compiler.warn.varargs.unsafe.use.varargs.param=\ |
1245 compiler.warn.varargs.unsafe.use.varargs.param=\ |
851 Varargs method could cause heap pollution from non-reifiable varargs parameter {0} |
1246 Varargs method could cause heap pollution from non-reifiable varargs parameter {0} |
852 |
1247 |
853 compiler.warn.missing.deprecated.annotation=\ |
1248 compiler.warn.missing.deprecated.annotation=\ |
854 deprecated item is not annotated with @Deprecated |
1249 deprecated item is not annotated with @Deprecated |
950 compiler.misc.unnamed.package=\ |
1366 compiler.misc.unnamed.package=\ |
951 unnamed package |
1367 unnamed package |
952 |
1368 |
953 ##### |
1369 ##### |
954 |
1370 |
|
1371 # 0: symbol, 1: message segment |
955 compiler.err.cant.access=\ |
1372 compiler.err.cant.access=\ |
956 cannot access {0}\n\ |
1373 cannot access {0}\n\ |
957 {1} |
1374 {1} |
958 |
1375 |
959 compiler.misc.bad.class.file.header=\ |
1376 compiler.misc.bad.class.file.header=\ |
960 bad class file: {0}\n\ |
1377 bad class file: {0}\n\ |
961 {1}\n\ |
1378 {1}\n\ |
962 Please remove or make sure it appears in the correct subdirectory of the classpath. |
1379 Please remove or make sure it appears in the correct subdirectory of the classpath. |
|
1380 |
|
1381 # 0: file name, 1: message segment |
963 compiler.misc.bad.source.file.header=\ |
1382 compiler.misc.bad.source.file.header=\ |
964 bad source file: {0}\n\ |
1383 bad source file: {0}\n\ |
965 {1}\n\ |
1384 {1}\n\ |
966 Please remove or make sure it appears in the correct subdirectory of the sourcepath. |
1385 Please remove or make sure it appears in the correct subdirectory of the sourcepath. |
967 |
1386 |
968 ## The following are all possible strings for the second argument ({1}) of the |
1387 ## The following are all possible strings for the second argument ({1}) of the |
969 ## above strings. |
1388 ## above strings. |
970 compiler.misc.bad.class.signature=\ |
1389 compiler.misc.bad.class.signature=\ |
971 bad class signature: {0} |
1390 bad class signature: {0} |
|
1391 |
972 compiler.misc.bad.enclosing.method=\ |
1392 compiler.misc.bad.enclosing.method=\ |
973 bad enclosing method attribute: {0} |
1393 bad enclosing method attribute: {0} |
|
1394 |
974 compiler.misc.bad.runtime.invisible.param.annotations=\ |
1395 compiler.misc.bad.runtime.invisible.param.annotations=\ |
975 bad RuntimeInvisibleParameterAnnotations attribute: {0} |
1396 bad RuntimeInvisibleParameterAnnotations attribute: {0} |
|
1397 |
976 compiler.misc.bad.const.pool.tag=\ |
1398 compiler.misc.bad.const.pool.tag=\ |
977 bad constant pool tag: {0} |
1399 bad constant pool tag: {0} |
|
1400 |
978 compiler.misc.bad.const.pool.tag.at=\ |
1401 compiler.misc.bad.const.pool.tag.at=\ |
979 bad constant pool tag: {0} at {1} |
1402 bad constant pool tag: {0} at {1} |
|
1403 |
980 compiler.misc.bad.signature=\ |
1404 compiler.misc.bad.signature=\ |
981 bad signature: {0} |
1405 bad signature: {0} |
|
1406 |
982 compiler.misc.class.file.wrong.class=\ |
1407 compiler.misc.class.file.wrong.class=\ |
983 class file contains wrong class: {0} |
1408 class file contains wrong class: {0} |
|
1409 |
984 compiler.misc.class.file.not.found=\ |
1410 compiler.misc.class.file.not.found=\ |
985 class file for {0} not found |
1411 class file for {0} not found |
|
1412 |
|
1413 # 0: name |
986 compiler.misc.file.doesnt.contain.class=\ |
1414 compiler.misc.file.doesnt.contain.class=\ |
987 file does not contain class {0} |
1415 file does not contain class {0} |
|
1416 |
988 compiler.misc.file.does.not.contain.package=\ |
1417 compiler.misc.file.does.not.contain.package=\ |
989 file does not contain package {0} |
1418 file does not contain package {0} |
|
1419 |
990 compiler.misc.illegal.start.of.class.file=\ |
1420 compiler.misc.illegal.start.of.class.file=\ |
991 illegal start of class file |
1421 illegal start of class file |
|
1422 |
992 compiler.misc.unable.to.access.file=\ |
1423 compiler.misc.unable.to.access.file=\ |
993 unable to access file: {0} |
1424 unable to access file: {0} |
|
1425 |
994 compiler.misc.unicode.str.not.supported=\ |
1426 compiler.misc.unicode.str.not.supported=\ |
995 unicode string in class file not supported |
1427 unicode string in class file not supported |
|
1428 |
996 compiler.misc.undecl.type.var=\ |
1429 compiler.misc.undecl.type.var=\ |
997 undeclared type variable: {0} |
1430 undeclared type variable: {0} |
|
1431 |
998 compiler.misc.wrong.version=\ |
1432 compiler.misc.wrong.version=\ |
999 class file has wrong version {0}.{1}, should be {2}.{3} |
1433 class file has wrong version {0}.{1}, should be {2}.{3} |
1000 |
1434 |
1001 ##### |
1435 ##### |
1002 |
1436 |
|
1437 # 0: type, 1: type or symbol |
1003 compiler.err.not.within.bounds=\ |
1438 compiler.err.not.within.bounds=\ |
1004 type argument {0} is not within bounds of type-variable {1} |
1439 type argument {0} is not within bounds of type-variable {1} |
1005 |
1440 |
1006 ## The following are all possible strings for the second argument ({1}) of the |
1441 ## The following are all possible strings for the second argument ({1}) of the |
1007 ## above string. |
1442 ## above string. |
1008 |
1443 |
1009 ## none yet... |
1444 ## none yet... |
1010 |
1445 |
1011 ##### |
1446 ##### |
1012 |
1447 |
|
1448 # 0: message segment, 1: type, 2: type |
1013 compiler.err.prob.found.req=\ |
1449 compiler.err.prob.found.req=\ |
1014 {0}\n\ |
1450 {0}\n\ |
1015 required: {2}\n\ |
1451 required: {2}\n\ |
1016 found: {1} |
1452 found: {1} |
|
1453 |
|
1454 # 0: message segment, 1: type, 2: type |
1017 compiler.warn.prob.found.req=\ |
1455 compiler.warn.prob.found.req=\ |
1018 {0}\n\ |
1456 {0}\n\ |
1019 required: {2}\n\ |
1457 required: {2}\n\ |
1020 found: {1} |
1458 found: {1} |
|
1459 |
1021 compiler.err.prob.found.req.1=\ |
1460 compiler.err.prob.found.req.1=\ |
1022 {0} {3}\n\ |
1461 {0} {3}\n\ |
1023 required: {2}\n\ |
1462 required: {2}\n\ |
1024 found: {1} |
1463 found: {1} |
1025 |
1464 |
1026 ## The following are all possible strings for the first argument ({0}) of the |
1465 ## The following are all possible strings for the first argument ({0}) of the |
1027 ## above strings. |
1466 ## above strings. |
1028 compiler.misc.incompatible.types=\ |
1467 compiler.misc.incompatible.types=\ |
1029 incompatible types |
1468 incompatible types |
|
1469 |
|
1470 # 0: message segment |
1030 compiler.misc.incompatible.types.1=\ |
1471 compiler.misc.incompatible.types.1=\ |
1031 incompatible types; {0} |
1472 incompatible types; {0} |
|
1473 |
1032 compiler.misc.inconvertible.types=\ |
1474 compiler.misc.inconvertible.types=\ |
1033 inconvertible types |
1475 inconvertible types |
|
1476 |
1034 compiler.misc.possible.loss.of.precision=\ |
1477 compiler.misc.possible.loss.of.precision=\ |
1035 possible loss of precision |
1478 possible loss of precision |
1036 |
1479 |
1037 compiler.misc.unchecked.assign=\ |
1480 compiler.misc.unchecked.assign=\ |
1038 unchecked conversion |
1481 unchecked conversion |
|
1482 |
1039 # compiler.misc.storecheck=\ |
1483 # compiler.misc.storecheck=\ |
1040 # assignment might cause later store checks to fail |
1484 # assignment might cause later store checks to fail |
1041 # compiler.misc.unchecked=\ |
1485 # compiler.misc.unchecked=\ |
1042 # assigned array cannot dynamically check its stores |
1486 # assigned array cannot dynamically check its stores |
1043 compiler.misc.unchecked.cast.to.type=\ |
1487 compiler.misc.unchecked.cast.to.type=\ |
1044 unchecked cast |
1488 unchecked cast |
1045 |
1489 |
1046 compiler.misc.assignment.from.super-bound=\ |
1490 compiler.misc.assignment.from.super-bound=\ |
1047 assignment from super-bound type {0} |
1491 assignment from super-bound type {0} |
|
1492 |
1048 compiler.misc.assignment.to.extends-bound=\ |
1493 compiler.misc.assignment.to.extends-bound=\ |
1049 assignment to extends-bound type {0} |
1494 assignment to extends-bound type {0} |
|
1495 |
1050 # compiler.err.star.expected=\ |
1496 # compiler.err.star.expected=\ |
1051 # ''*'' expected |
1497 # ''*'' expected |
1052 # compiler.err.no.elem.type=\ |
1498 # compiler.err.no.elem.type=\ |
1053 # \[\*\] cannot have a type |
1499 # \[\*\] cannot have a type |
1054 |
1500 |
1055 compiler.misc.try.not.applicable.to.type=\ |
1501 compiler.misc.try.not.applicable.to.type=\ |
1056 try-with-resources not applicable to variable type |
1502 try-with-resources not applicable to variable type |
1057 |
1503 |
1058 ##### |
1504 ##### |
1059 |
1505 |
|
1506 # 0: message segment or type, 1: message segment |
1060 compiler.err.type.found.req=\ |
1507 compiler.err.type.found.req=\ |
1061 unexpected type\n\ |
1508 unexpected type\n\ |
1062 required: {1}\n\ |
1509 required: {1}\n\ |
1063 found: {0} |
1510 found: {0} |
1064 |
1511 |
1065 ## The following are all possible strings for the first argument ({0}) of the |
1512 ## The following are all possible strings for the first argument ({0}) of the |
1066 ## above string. |
1513 ## above string. |
1067 compiler.misc.type.req.class=\ |
1514 compiler.misc.type.req.class=\ |
1068 class |
1515 class |
|
1516 |
1069 compiler.misc.type.req.class.array=\ |
1517 compiler.misc.type.req.class.array=\ |
1070 class or array |
1518 class or array |
|
1519 |
1071 compiler.misc.type.req.array.or.iterable=\ |
1520 compiler.misc.type.req.array.or.iterable=\ |
1072 array or java.lang.Iterable |
1521 array or java.lang.Iterable |
|
1522 |
1073 compiler.misc.type.req.ref=\ |
1523 compiler.misc.type.req.ref=\ |
1074 reference |
1524 reference |
|
1525 |
1075 compiler.misc.type.req.exact=\ |
1526 compiler.misc.type.req.exact=\ |
1076 class or interface without bounds |
1527 class or interface without bounds |
|
1528 |
|
1529 # 0: type |
1077 compiler.misc.type.parameter=\ |
1530 compiler.misc.type.parameter=\ |
1078 type parameter {0} |
1531 type parameter {0} |
1079 |
1532 |
1080 ##### |
1533 ##### |
1081 |
1534 |
1082 ## The following are all possible strings for the last argument of all those |
1535 ## The following are all possible strings for the last argument of all those |
1083 ## diagnostics whose key ends in ".1" |
1536 ## diagnostics whose key ends in ".1" |
1084 compiler.misc.undetermined.type=\ |
1537 compiler.misc.undetermined.type=\ |
1085 undetermined type |
1538 undetermined type |
|
1539 |
1086 compiler.misc.type.variable.has.undetermined.type=\ |
1540 compiler.misc.type.variable.has.undetermined.type=\ |
1087 type variable {0} has undetermined type |
1541 type variable {0} has undetermined type |
|
1542 |
|
1543 # 0: type, 1: list of type |
1088 compiler.misc.no.unique.maximal.instance.exists=\ |
1544 compiler.misc.no.unique.maximal.instance.exists=\ |
1089 no unique maximal instance exists for type variable {0} with upper bounds {1} |
1545 no unique maximal instance exists for type variable {0} with upper bounds {1} |
|
1546 |
1090 compiler.misc.no.unique.minimal.instance.exists=\ |
1547 compiler.misc.no.unique.minimal.instance.exists=\ |
1091 no unique minimal instance exists for type variable {0} with lower bounds {1} |
1548 no unique minimal instance exists for type variable {0} with lower bounds {1} |
|
1549 |
|
1550 # 0: list of type, 1: type, 2: type |
1092 compiler.misc.infer.no.conforming.instance.exists=\ |
1551 compiler.misc.infer.no.conforming.instance.exists=\ |
1093 no instance(s) of type variable(s) {0} exist so that {1} conforms to {2} |
1552 no instance(s) of type variable(s) {0} exist so that {1} conforms to {2} |
|
1553 |
|
1554 # 0: list of type, 1: type, 2: type |
1094 compiler.misc.infer.no.conforming.assignment.exists=\ |
1555 compiler.misc.infer.no.conforming.assignment.exists=\ |
1095 no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to formal parameter type {2} |
1556 no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to formal parameter type {2} |
|
1557 |
1096 compiler.misc.infer.arg.length.mismatch=\ |
1558 compiler.misc.infer.arg.length.mismatch=\ |
1097 cannot instantiate from arguments because actual and formal argument lists differ in length |
1559 cannot instantiate from arguments because actual and formal argument lists differ in length |
|
1560 |
|
1561 # 0: type, 1: list of type |
1098 compiler.misc.inferred.do.not.conform.to.bounds=\ |
1562 compiler.misc.inferred.do.not.conform.to.bounds=\ |
1099 inferred type does not conform to declared bound(s)\n\ |
1563 inferred type does not conform to declared bound(s)\n\ |
1100 inferred: {0}\n\ |
1564 inferred: {0}\n\ |
1101 bound(s): {1} |
1565 bound(s): {1} |
|
1566 |
1102 compiler.misc.inferred.do.not.conform.to.params=\ |
1567 compiler.misc.inferred.do.not.conform.to.params=\ |
1103 actual arguments do not conform to inferred formal arguments\n\ |
1568 actual arguments do not conform to inferred formal arguments\n\ |
1104 required: {0}\n\ |
1569 required: {0}\n\ |
1105 found: {1} |
1570 found: {1} |
|
1571 |
|
1572 # 0: symbol |
1106 compiler.misc.diamond=\ |
1573 compiler.misc.diamond=\ |
1107 {0}<> |
1574 {0}<> |
|
1575 |
|
1576 # 0: list of type, 1: message segment |
1108 compiler.misc.diamond.invalid.arg=\ |
1577 compiler.misc.diamond.invalid.arg=\ |
1109 type argument {0} inferred for {1} is not allowed in this context |
1578 type argument {0} inferred for {1} is not allowed in this context |
|
1579 |
|
1580 # 0: list of type, 1: message segment |
1110 compiler.misc.diamond.invalid.args=\ |
1581 compiler.misc.diamond.invalid.args=\ |
1111 type arguments {0} inferred for {1} are not allowed in this context |
1582 type arguments {0} inferred for {1} are not allowed in this context |
1112 |
1583 |
|
1584 # 0: type, 1: list of type |
1113 compiler.misc.explicit.param.do.not.conform.to.bounds=\ |
1585 compiler.misc.explicit.param.do.not.conform.to.bounds=\ |
1114 explicit type argument {0} does not conform to declared bound(s) {1} |
1586 explicit type argument {0} does not conform to declared bound(s) {1} |
1115 |
1587 |
1116 compiler.misc.arg.length.mismatch=\ |
1588 compiler.misc.arg.length.mismatch=\ |
1117 actual and formal argument lists differ in length |
1589 actual and formal argument lists differ in length |
|
1590 |
|
1591 # 0: type, 1: type |
1118 compiler.misc.no.conforming.assignment.exists=\ |
1592 compiler.misc.no.conforming.assignment.exists=\ |
1119 actual argument {0} cannot be converted to {1} by method invocation conversion |
1593 actual argument {0} cannot be converted to {1} by method invocation conversion |
|
1594 |
|
1595 # 0: type, 1: type |
1120 compiler.misc.varargs.argument.mismatch=\ |
1596 compiler.misc.varargs.argument.mismatch=\ |
1121 argument type {0} does not conform to vararg element type {1} |
1597 argument type {0} does not conform to vararg element type {1} |
|
1598 |
1122 ##### |
1599 ##### |
1123 |
1600 |
1124 ## The first argument ({0}) is a "kindname". |
1601 ## The first argument ({0}) is a "kindname". |
|
1602 # 0: symbol kind, 1: symbol, 2: symbol |
1125 compiler.err.abstract.cant.be.accessed.directly=\ |
1603 compiler.err.abstract.cant.be.accessed.directly=\ |
1126 abstract {0} {1} in {2} cannot be accessed directly |
1604 abstract {0} {1} in {2} cannot be accessed directly |
1127 |
1605 |
1128 ## The first argument ({0}) is a "kindname". |
1606 ## The first argument ({0}) is a "kindname". |
|
1607 # 0: symbol kind, 1: symbol |
1129 compiler.err.non-static.cant.be.ref=\ |
1608 compiler.err.non-static.cant.be.ref=\ |
1130 non-static {0} {1} cannot be referenced from a static context |
1609 non-static {0} {1} cannot be referenced from a static context |
1131 |
1610 |
1132 ## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list |
1611 ## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list |
1133 ## of kindnames (the list should be identical to that provided in source. |
1612 ## of kindnames (the list should be identical to that provided in source. |
1134 compiler.err.unexpected.type=\ |
1613 compiler.err.unexpected.type=\ |
1135 unexpected type\n\ |
1614 unexpected type\n\ |
1136 required: {0}\n\ |
1615 required: {0}\n\ |
1137 found: {1} |
1616 found: {1} |
1138 |
1617 |
1139 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.) |
1618 ## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.) |
1140 ## The second argument {1} is the non-resolved symbol |
1619 ## The second argument {1} is the non-resolved symbol |
1141 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method) |
1620 ## The third argument {2} is a list of type parameters (non-empty if {1} is a method) |
1142 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method) |
1621 ## The fourth argument {3} is a list of argument types (non-empty if {1} is a method) |
|
1622 # 0: symbol kind, 1: name, 2: unused, 3: unused |
1143 compiler.err.cant.resolve=\ |
1623 compiler.err.cant.resolve=\ |
1144 cannot find symbol\n\ |
1624 cannot find symbol\n\ |
1145 symbol: {0} {1} |
1625 symbol: {0} {1} |
1146 |
1626 |
|
1627 # 0: symbol kind, 1: name, 2: unused, 3: list of type |
1147 compiler.err.cant.resolve.args=\ |
1628 compiler.err.cant.resolve.args=\ |
1148 cannot find symbol\n\ |
1629 cannot find symbol\n\ |
1149 symbol: {0} {1}({3}) |
1630 symbol: {0} {1}({3}) |
1150 |
1631 |
|
1632 # 0: symbol kind, 1: name, 2: list of type, 3: list of type |
1151 compiler.err.cant.resolve.args.params=\ |
1633 compiler.err.cant.resolve.args.params=\ |
1152 cannot find symbol\n\ |
1634 cannot find symbol\n\ |
1153 symbol: {0} <{2}>{1}({3}) |
1635 symbol: {0} <{2}>{1}({3}) |
1154 |
1636 |
1155 ## arguments from {0} to {3} have the same meaning as above |
1637 ## arguments from {0} to {3} have the same meaning as above |
1156 ## The fifth argument {4} is a location subdiagnostic (see below) |
1638 ## The fifth argument {4} is a location subdiagnostic (see below) |
|
1639 # 0: symbol kind, 1: name, 2: unused, 3: unused, 4: message segment |
1157 compiler.err.cant.resolve.location=\ |
1640 compiler.err.cant.resolve.location=\ |
1158 cannot find symbol\n\ |
1641 cannot find symbol\n\ |
1159 symbol: {0} {1}\n\ |
1642 symbol: {0} {1}\n\ |
1160 location: {4} |
1643 location: {4} |
1161 |
1644 |
|
1645 # 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment |
1162 compiler.err.cant.resolve.location.args=\ |
1646 compiler.err.cant.resolve.location.args=\ |
1163 cannot find symbol\n\ |
1647 cannot find symbol\n\ |
1164 symbol: {0} {1}({3})\n\ |
1648 symbol: {0} {1}({3})\n\ |
1165 location: {4} |
1649 location: {4} |
1166 |
1650 |
|
1651 # 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment |
1167 compiler.err.cant.resolve.location.args.params=\ |
1652 compiler.err.cant.resolve.location.args.params=\ |
1168 cannot find symbol\n\ |
1653 cannot find symbol\n\ |
1169 symbol: {0} <{2}>{1}({3})\n\ |
1654 symbol: {0} <{2}>{1}({3})\n\ |
1170 location: {4} |
1655 location: {4} |
1171 |
1656 |
1172 ##a location subdiagnostic is composed as follows: |
1657 ##a location subdiagnostic is composed as follows: |
1173 ## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.) |
1658 ## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.) |
1174 ## The second argument {1} is the location name |
1659 ## The second argument {1} is the location name |
1175 ## The third argument {2} is the location type (only when {1} is a variable name) |
1660 ## The third argument {2} is the location type (only when {1} is a variable name) |
1176 |
1661 |
|
1662 # 0: symbol kind, 1: symbol, 2: unused |
1177 compiler.misc.location=\ |
1663 compiler.misc.location=\ |
1178 {0} {1} |
1664 {0} {1} |
|
1665 |
|
1666 # 0: symbol kind, 1: symbol, 2: type |
1179 compiler.misc.location.1=\ |
1667 compiler.misc.location.1=\ |
1180 {0} {1} of type {2} |
1668 {0} {1} of type {2} |
1181 |
1669 |
1182 ## The following are all possible string for "kindname". |
1670 ## The following are all possible string for "kindname". |
1183 ## They should be called whatever the JLS calls them after it been translated |
1671 ## They should be called whatever the JLS calls them after it been translated |
1184 ## to the appropriate language. |
1672 ## to the appropriate language. |
1185 # compiler.misc.kindname.constructor=\ |
1673 # compiler.misc.kindname.constructor=\ |
1186 # static member |
1674 # static member |
1187 compiler.misc.kindname.annotation=\ |
1675 compiler.misc.kindname.annotation=\ |
1188 @interface |
1676 @interface |
|
1677 |
1189 compiler.misc.kindname.constructor=\ |
1678 compiler.misc.kindname.constructor=\ |
1190 constructor |
1679 constructor |
|
1680 |
1191 compiler.misc.kindname.enum=\ |
1681 compiler.misc.kindname.enum=\ |
1192 enum |
1682 enum |
|
1683 |
1193 compiler.misc.kindname.interface=\ |
1684 compiler.misc.kindname.interface=\ |
1194 interface |
1685 interface |
|
1686 |
1195 compiler.misc.kindname.static=\ |
1687 compiler.misc.kindname.static=\ |
1196 static |
1688 static |
|
1689 |
1197 compiler.misc.kindname.type.variable=\ |
1690 compiler.misc.kindname.type.variable=\ |
1198 type variable |
1691 type variable |
|
1692 |
1199 compiler.misc.kindname.type.variable.bound=\ |
1693 compiler.misc.kindname.type.variable.bound=\ |
1200 bound of type variable |
1694 bound of type variable |
|
1695 |
1201 compiler.misc.kindname.variable=\ |
1696 compiler.misc.kindname.variable=\ |
1202 variable |
1697 variable |
|
1698 |
1203 compiler.misc.kindname.value=\ |
1699 compiler.misc.kindname.value=\ |
1204 value |
1700 value |
|
1701 |
1205 compiler.misc.kindname.method=\ |
1702 compiler.misc.kindname.method=\ |
1206 method |
1703 method |
|
1704 |
1207 compiler.misc.kindname.class=\ |
1705 compiler.misc.kindname.class=\ |
1208 class |
1706 class |
|
1707 |
1209 compiler.misc.kindname.package=\ |
1708 compiler.misc.kindname.package=\ |
1210 package |
1709 package |
|
1710 |
1211 ##### |
1711 ##### |
1212 |
1712 |
1213 compiler.misc.no.args=\ |
1713 compiler.misc.no.args=\ |
1214 no arguments |
1714 no arguments |
1215 |
1715 |
|
1716 # 0: message segment |
1216 compiler.err.override.static=\ |
1717 compiler.err.override.static=\ |
1217 {0}\n\ |
1718 {0}\n\ |
1218 overriding method is static |
1719 overriding method is static |
|
1720 |
|
1721 # 0: message segment, 1: set of modifier |
1219 compiler.err.override.meth=\ |
1722 compiler.err.override.meth=\ |
1220 {0}\n\ |
1723 {0}\n\ |
1221 overridden method is {1} |
1724 overridden method is {1} |
1222 |
1725 |
|
1726 # 0: message segment, 1: type |
1223 compiler.err.override.meth.doesnt.throw=\ |
1727 compiler.err.override.meth.doesnt.throw=\ |
1224 {0}\n\ |
1728 {0}\n\ |
1225 overridden method does not throw {1} |
1729 overridden method does not throw {1} |
1226 |
1730 |
1227 # In the following string {1} is a space separated list of Java Keywords, as |
1731 # In the following string {1} is a space separated list of Java Keywords, as |
1228 # they would have been declared in the source code |
1732 # they would have been declared in the source code |
|
1733 # 0: message segment, 1: set of modifier |
1229 compiler.err.override.weaker.access=\ |
1734 compiler.err.override.weaker.access=\ |
1230 {0}\n\ |
1735 {0}\n\ |
1231 attempting to assign weaker access privileges; was {1} |
1736 attempting to assign weaker access privileges; was {1} |
1232 |
1737 |
|
1738 # 0: message segment, 1: type, 2: type |
1233 compiler.err.override.incompatible.ret=\ |
1739 compiler.err.override.incompatible.ret=\ |
1234 {0}\n\ |
1740 {0}\n\ |
1235 return type {1} is not compatible with {2} |
1741 return type {1} is not compatible with {2} |
1236 |
1742 |
|
1743 # 0: message segment, 1: type, 2: type |
1237 compiler.warn.override.unchecked.ret=\ |
1744 compiler.warn.override.unchecked.ret=\ |
1238 {0}\n\ |
1745 {0}\n\ |
1239 return type requires unchecked conversion from {1} to {2} |
1746 return type requires unchecked conversion from {1} to {2} |
1240 |
1747 |
|
1748 # 0: message segment, 1: type |
1241 compiler.warn.override.unchecked.thrown=\ |
1749 compiler.warn.override.unchecked.thrown=\ |
1242 {0}\n\ |
1750 {0}\n\ |
1243 overridden method does not throw {1} |
1751 overridden method does not throw {1} |
1244 |
1752 |
1245 ## The following are all possible strings for the first argument ({0}) of the |
1753 ## The following are all possible strings for the first argument ({0}) of the |
1246 ## above strings. |
1754 ## above strings. |
|
1755 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1247 compiler.misc.cant.override=\ |
1756 compiler.misc.cant.override=\ |
1248 {0} in {1} cannot override {2} in {3} |
1757 {0} in {1} cannot override {2} in {3} |
|
1758 |
|
1759 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1249 compiler.misc.cant.implement=\ |
1760 compiler.misc.cant.implement=\ |
1250 {0} in {1} cannot implement {2} in {3} |
1761 {0} in {1} cannot implement {2} in {3} |
|
1762 |
|
1763 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1251 compiler.misc.clashes.with=\ |
1764 compiler.misc.clashes.with=\ |
1252 {0} in {1} clashes with {2} in {3} |
1765 {0} in {1} clashes with {2} in {3} |
|
1766 |
|
1767 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1253 compiler.misc.unchecked.override=\ |
1768 compiler.misc.unchecked.override=\ |
1254 {0} in {1} overrides {2} in {3} |
1769 {0} in {1} overrides {2} in {3} |
|
1770 |
|
1771 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1255 compiler.misc.unchecked.implement=\ |
1772 compiler.misc.unchecked.implement=\ |
1256 {0} in {1} implements {2} in {3} |
1773 {0} in {1} implements {2} in {3} |
|
1774 |
|
1775 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1257 compiler.misc.unchecked.clash.with=\ |
1776 compiler.misc.unchecked.clash.with=\ |
1258 {0} in {1} overrides {2} in {3} |
1777 {0} in {1} overrides {2} in {3} |
|
1778 |
|
1779 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1259 compiler.misc.varargs.override=\ |
1780 compiler.misc.varargs.override=\ |
1260 {0} in {1} overrides {2} in {3} |
1781 {0} in {1} overrides {2} in {3} |
|
1782 |
|
1783 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1261 compiler.misc.varargs.implement=\ |
1784 compiler.misc.varargs.implement=\ |
1262 {0} in {1} implements {2} in {3} |
1785 {0} in {1} implements {2} in {3} |
|
1786 |
|
1787 # 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1263 compiler.misc.varargs.clash.with=\ |
1788 compiler.misc.varargs.clash.with=\ |
1264 {0} in {1} overrides {2} in {3} |
1789 {0} in {1} overrides {2} in {3} |
|
1790 |
1265 compiler.misc.non.denotable.type=\ |
1791 compiler.misc.non.denotable.type=\ |
1266 Non-denotable type {0} not allowed here |
1792 Non-denotable type {0} not allowed here |
1267 |
1793 |
|
1794 # 0: symbol kind, 1: symbol, 2: symbol, 3: message segment |
1268 compiler.misc.inapplicable.method=\ |
1795 compiler.misc.inapplicable.method=\ |
1269 {0} {1}.{2} is not applicable\n\ |
1796 {0} {1}.{2} is not applicable\n\ |
1270 ({3}) |
1797 ({3}) |
1271 |
1798 |
1272 ######################################## |
1799 ######################################## |
1273 # Diagnostics for language feature changes |
1800 # Diagnostics for language feature changes |
1274 ######################################## |
1801 ######################################## |
|
1802 # 0: string |
1275 compiler.err.unsupported.fp.lit=\ |
1803 compiler.err.unsupported.fp.lit=\ |
1276 hexadecimal floating point literals are not supported in -source {0}\n\ |
1804 hexadecimal floating point literals are not supported in -source {0}\n\ |
1277 (use -source 5 or higher to enable hexadecimal floating point literals) |
1805 (use -source 5 or higher to enable hexadecimal floating point literals) |
1278 |
1806 |
|
1807 # 0: string |
1279 compiler.err.unsupported.binary.lit=\ |
1808 compiler.err.unsupported.binary.lit=\ |
1280 binary literals are not supported in -source {0}\n\ |
1809 binary literals are not supported in -source {0}\n\ |
1281 (use -source 7 or higher to enable binary literals) |
1810 (use -source 7 or higher to enable binary literals) |
1282 |
1811 |
|
1812 # 0: string |
1283 compiler.err.unsupported.underscore.lit=\ |
1813 compiler.err.unsupported.underscore.lit=\ |
1284 underscores in literals are not supported in -source {0}\n\ |
1814 underscores in literals are not supported in -source {0}\n\ |
1285 (use -source 7 or higher to enable underscores in literals) |
1815 (use -source 7 or higher to enable underscores in literals) |
1286 |
1816 |
|
1817 # 0: string |
1287 compiler.err.try.with.resources.not.supported.in.source=\ |
1818 compiler.err.try.with.resources.not.supported.in.source=\ |
1288 try-with-resources is not supported in -source {0}\n\ |
1819 try-with-resources is not supported in -source {0}\n\ |
1289 (use -source 7 or higher to enable try-with-resources) |
1820 (use -source 7 or higher to enable try-with-resources) |
1290 |
1821 |
1291 compiler.warn.enum.as.identifier=\ |
1822 compiler.warn.enum.as.identifier=\ |
1292 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ |
1823 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ |
1293 (use -source 5 or higher to use ''enum'' as a keyword) |
1824 (use -source 5 or higher to use ''enum'' as a keyword) |
1294 |
1825 |
1295 compiler.warn.assert.as.identifier=\ |
1826 compiler.warn.assert.as.identifier=\ |
1296 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ |
1827 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ |
1297 (use -source 1.4 or higher to use ''assert'' as a keyword) |
1828 (use -source 1.4 or higher to use ''assert'' as a keyword) |
1298 |
1829 |
1299 compiler.err.enum.as.identifier=\ |
1830 compiler.err.enum.as.identifier=\ |
1300 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ |
1831 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ |
1301 (use -source 1.4 or lower to use ''enum'' as an identifier) |
1832 (use -source 1.4 or lower to use ''enum'' as an identifier) |
1302 |
1833 |
1303 compiler.err.assert.as.identifier=\ |
1834 compiler.err.assert.as.identifier=\ |
1304 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ |
1835 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ |
1305 (use -source 1.3 or lower to use ''assert'' as an identifier) |
1836 (use -source 1.3 or lower to use ''assert'' as an identifier) |
1306 |
1837 |
|
1838 # 0: string |
1307 compiler.err.generics.not.supported.in.source=\ |
1839 compiler.err.generics.not.supported.in.source=\ |
1308 generics are not supported in -source {0}\n\ |
1840 generics are not supported in -source {0}\n\ |
1309 (use -source 5 or higher to enable generics) |
1841 (use -source 5 or higher to enable generics) |
1310 |
1842 |
|
1843 # 0: string |
1311 compiler.err.varargs.not.supported.in.source=\ |
1844 compiler.err.varargs.not.supported.in.source=\ |
1312 variable-arity methods are not supported in -source {0}\n\ |
1845 variable-arity methods are not supported in -source {0}\n\ |
1313 (use -source 5 or higher to enable variable-arity methods) |
1846 (use -source 5 or higher to enable variable-arity methods) |
1314 |
1847 |
|
1848 # 0: string |
1315 compiler.err.annotations.not.supported.in.source=\ |
1849 compiler.err.annotations.not.supported.in.source=\ |
1316 annotations are not supported in -source {0}\n\ |
1850 annotations are not supported in -source {0}\n\ |
1317 (use -source 5 or higher to enable annotations) |
1851 (use -source 5 or higher to enable annotations) |
1318 |
1852 |
1319 #308 compiler.err.type.annotations.not.supported.in.source=\ |
1853 #308 compiler.err.type.annotations.not.supported.in.source=\ |
1320 #308 type annotations are not supported in -source {0}\n\ |
1854 #308 type annotations are not supported in -source {0}\n\ |
1321 #308 (use -source 7 or higher to enable type annotations) |
1855 #308 (use -source 7 or higher to enable type annotations) |
1322 |
1856 |
|
1857 # 0: string |
1323 compiler.err.foreach.not.supported.in.source=\ |
1858 compiler.err.foreach.not.supported.in.source=\ |
1324 for-each loops are not supported in -source {0}\n\ |
1859 for-each loops are not supported in -source {0}\n\ |
1325 (use -source 5 or higher to enable for-each loops) |
1860 (use -source 5 or higher to enable for-each loops) |
1326 |
1861 |
|
1862 # 0: string |
1327 compiler.err.static.import.not.supported.in.source=\ |
1863 compiler.err.static.import.not.supported.in.source=\ |
1328 static import declarations are not supported in -source {0}\n\ |
1864 static import declarations are not supported in -source {0}\n\ |
1329 (use -source 5 or higher to enable static import declarations) |
1865 (use -source 5 or higher to enable static import declarations) |
1330 |
1866 |
|
1867 # 0: string |
1331 compiler.err.enums.not.supported.in.source=\ |
1868 compiler.err.enums.not.supported.in.source=\ |
1332 enums are not supported in -source {0}\n\ |
1869 enums are not supported in -source {0}\n\ |
1333 (use -source 5 or higher to enable enums) |
1870 (use -source 5 or higher to enable enums) |
1334 |
1871 |
|
1872 # 0: string |
1335 compiler.err.diamond.not.supported.in.source=\ |
1873 compiler.err.diamond.not.supported.in.source=\ |
1336 diamond operator is not supported in -source {0}\n\ |
1874 diamond operator is not supported in -source {0}\n\ |
1337 (use -source 7 or higher to enable diamond operator) |
1875 (use -source 7 or higher to enable diamond operator) |
1338 |
1876 |
|
1877 # 0: string |
1339 compiler.err.multicatch.not.supported.in.source=\ |
1878 compiler.err.multicatch.not.supported.in.source=\ |
1340 multi-catch statement is not supported in -source {0}\n\ |
1879 multi-catch statement is not supported in -source {0}\n\ |
1341 (use -source 7 or higher to enable multi-catch statement) |
1880 (use -source 7 or higher to enable multi-catch statement) |
1342 |
1881 |
|
1882 # 0: string |
1343 compiler.err.string.switch.not.supported.in.source=\ |
1883 compiler.err.string.switch.not.supported.in.source=\ |
1344 strings in switch are not supported in -source {0}\n\ |
1884 strings in switch are not supported in -source {0}\n\ |
1345 (use -source 7 or higher to enable strings in switch) |
1885 (use -source 7 or higher to enable strings in switch) |
1346 |
1886 |
1347 ######################################## |
1887 ######################################## |
1348 # Diagnostics for where clause implementation |
1888 # Diagnostics for where clause implementation |
1349 # used by the RichDiagnosticFormatter. |
1889 # used by the RichDiagnosticFormatter. |
1350 ######################################## |
1890 ######################################## |
1351 |
1891 |
1352 compiler.misc.type.null=\ |
1892 compiler.misc.type.null=\ |
1353 <null> |
1893 <null> |
1354 |
1894 |
1355 # X#n (where n is an int id) is disambiguated tvar name |
1895 # X#n (where n is an int id) is disambiguated tvar name |
|
1896 # 0: name, 1: number |
1356 compiler.misc.type.var=\ |
1897 compiler.misc.type.var=\ |
1357 {0}#{1} |
1898 {0}#{1} |
1358 |
1899 |
1359 # CAP#n (where n is an int id) is an abbreviation for 'captured type' |
1900 # CAP#n (where n is an int id) is an abbreviation for 'captured type' |
|
1901 # 0: number |
1360 compiler.misc.captured.type=\ |
1902 compiler.misc.captured.type=\ |
1361 CAP#{0} |
1903 CAP#{0} |
1362 |
1904 |
1363 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type' |
1905 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type' |
|
1906 # 0: number |
1364 compiler.misc.intersection.type=\ |
1907 compiler.misc.intersection.type=\ |
1365 INT#{0} |
1908 INT#{0} |
1366 |
1909 |
1367 # where clause for captured type: contains upper ('extends {1}') and lower |
1910 # where clause for captured type: contains upper ('extends {1}') and lower |
1368 # ('super {2}') bound along with the wildcard that generated this captured type ({3}) |
1911 # ('super {2}') bound along with the wildcard that generated this captured type ({3}) |
|
1912 # 0: type, 1: type, 2: type, 3: type |
1369 compiler.misc.where.captured=\ |
1913 compiler.misc.where.captured=\ |
1370 {0} extends {1} super: {2} from capture of {3} |
1914 {0} extends {1} super: {2} from capture of {3} |
1371 |
1915 |
1372 # compact where clause for captured type: contains upper ('extends {1}') along |
1916 # compact where clause for captured type: contains upper ('extends {1}') along |
1373 # with the wildcard that generated this captured type ({3}) |
1917 # with the wildcard that generated this captured type ({3}) |
|
1918 # 0: type, 1: type, 2: unused, 3: type |
1374 compiler.misc.where.captured.1=\ |
1919 compiler.misc.where.captured.1=\ |
1375 {0} extends {1} from capture of {3} |
1920 {0} extends {1} from capture of {3} |
1376 |
1921 |
1377 # where clause for type variable: contains upper bound(s) ('extends {1}') along with |
1922 # where clause for type variable: contains upper bound(s) ('extends {1}') along with |
1378 # the kindname ({2}) and location ({3}) in which the typevar has been declared |
1923 # the kindname ({2}) and location ({3}) in which the typevar has been declared |
|
1924 # 0: type, 1: list of type, 2: symbol kind, 3: symbol |
1379 compiler.misc.where.typevar=\ |
1925 compiler.misc.where.typevar=\ |
1380 {0} extends {1} declared in {2} {3} |
1926 {0} extends {1} declared in {2} {3} |
1381 |
1927 |
1382 # compact where clause for type variable: contains the kindname ({2}) and location ({3}) |
1928 # compact where clause for type variable: contains the kindname ({2}) and location ({3}) |
1383 # in which the typevar has been declared |
1929 # in which the typevar has been declared |
1384 compiler.misc.where.typevar.1=\ |
1930 compiler.misc.where.typevar.1=\ |
1385 {0} declared in {2} {3} |
1931 {0} declared in {2} {3} |
1386 |
1932 |
1387 # where clause for type variable: contains all the upper bound(s) ('extends {1}') |
1933 # where clause for type variable: contains all the upper bound(s) ('extends {1}') |
1388 # of this intersection type |
1934 # of this intersection type |
|
1935 # 0: type, 1: list of type |
1389 compiler.misc.where.intersection=\ |
1936 compiler.misc.where.intersection=\ |
1390 {0} extends {1} |
1937 {0} extends {1} |
1391 |
1938 |
1392 ### Where clause headers ### |
1939 ### Where clause headers ### |
1393 compiler.misc.where.description.captured=\ |
1940 compiler.misc.where.description.captured=\ |
1394 where {0} is a fresh type-variable: |
1941 where {0} is a fresh type-variable: |
|
1942 |
|
1943 # 0: set of type |
1395 compiler.misc.where.description.typevar=\ |
1944 compiler.misc.where.description.typevar=\ |
1396 where {0} is a type-variable: |
1945 where {0} is a type-variable: |
|
1946 |
|
1947 # 0: set of type |
1397 compiler.misc.where.description.intersection=\ |
1948 compiler.misc.where.description.intersection=\ |
1398 where {0} is an intersection type: |
1949 where {0} is an intersection type: |
|
1950 |
|
1951 # 0: set of type |
1399 compiler.misc.where.description.captured.1=\ |
1952 compiler.misc.where.description.captured.1=\ |
1400 where {0} are fresh type-variables: |
1953 where {0} are fresh type-variables: |
|
1954 |
|
1955 # 0: set of type |
1401 compiler.misc.where.description.typevar.1=\ |
1956 compiler.misc.where.description.typevar.1=\ |
1402 where {0} are type-variables: |
1957 where {0} are type-variables: |
|
1958 |
1403 compiler.misc.where.description.intersection.1=\ |
1959 compiler.misc.where.description.intersection.1=\ |
1404 where {0} are intersection types: |
1960 where {0} are intersection types: |
1405 |
1961 |
1406 |
1962 |