|
1 # |
|
2 # Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. |
|
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
4 # |
|
5 # This code is free software; you can redistribute it and/or modify it |
|
6 # under the terms of the GNU General Public License version 2 only, as |
|
7 # published by the Free Software Foundation. Sun designates this |
|
8 # particular file as subject to the "Classpath" exception as provided |
|
9 # by Sun in the LICENSE file that accompanied this code. |
|
10 # |
|
11 # This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 # version 2 for more details (a copy is included in the LICENSE file that |
|
15 # accompanied this code). |
|
16 # |
|
17 # You should have received a copy of the GNU General Public License version |
|
18 # 2 along with this work; if not, write to the Free Software Foundation, |
|
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 # |
|
21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 # CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 # have any questions. |
|
24 # |
|
25 |
|
26 ## |
|
27 ## errors |
|
28 ## |
|
29 |
|
30 compiler.err.abstract.cant.be.instantiated=\ |
|
31 {0} \u662f\u62bd\u8c61\u7684\uff1b\u65e0\u6cd5\u5bf9\u5176\u8fdb\u884c\u5b9e\u4f8b\u5316 |
|
32 compiler.err.abstract.meth.cant.have.body=\ |
|
33 \u62bd\u8c61\u65b9\u6cd5\u4e0d\u80fd\u6709\u4e3b\u4f53 |
|
34 compiler.err.already.annotated=\ |
|
35 {0} {1} \u5df2\u88ab\u6ce8\u91ca |
|
36 compiler.err.already.defined=\ |
|
37 \u5df2\u5728 {1} \u4e2d\u5b9a\u4e49 {0} |
|
38 compiler.err.already.defined.single.import=\ |
|
39 \u5df2\u5728 single-type \u5bfc\u5165\u4e2d\u5b9a\u4e49 {0} |
|
40 compiler.err.already.defined.static.single.import=\ |
|
41 \u5df2\u5728\u9759\u6001 single-type \u5bfc\u5165\u4e2d\u5b9a\u4e49 {0} |
|
42 compiler.err.already.defined.this.unit=\ |
|
43 \u5df2\u5728\u8be5\u7f16\u8bd1\u5355\u5143\u4e2d\u5b9a\u4e49 {0} |
|
44 compiler.err.annotation.missing.default.value=\ |
|
45 \u6ce8\u91ca {0} \u7f3a\u5c11 {1} |
|
46 compiler.err.annotation.not.valid.for.type=\ |
|
47 \u5bf9\u4e8e\u7c7b\u578b\u4e3a {0} \u7684\u503c\uff0c\u6ce8\u91ca\u65e0\u6548 |
|
48 compiler.err.annotation.type.not.applicable=\ |
|
49 \u6ce8\u91ca\u7c7b\u578b\u4e0d\u9002\u7528\u4e8e\u8be5\u7c7b\u578b\u7684\u58f0\u660e |
|
50 compiler.err.annotation.value.must.be.annotation=\ |
|
51 \u6ce8\u91ca\u503c\u5fc5\u987b\u4e3a\u6ce8\u91ca |
|
52 compiler.err.annotation.value.must.be.class.literal=\ |
|
53 \u6ce8\u91ca\u503c\u5fc5\u987b\u4e3a\u7c7b\u5b57\u9762\u503c |
|
54 compiler.err.annotation.value.must.be.name.value=\ |
|
55 \u6ce8\u91ca\u503c\u5fc5\u987b\u4e3a\u4ee5\u4e0b\u683c\u5f0f\uff1a\u201cname=value\u201d |
|
56 compiler.err.annotation.value.not.allowable.type=\ |
|
57 \u6ce8\u91ca\u503c\u4e0d\u662f\u5141\u8bb8\u7684\u7c7b\u578b |
|
58 compiler.err.anon.class.impl.intf.no.args=\ |
|
59 \u533f\u540d\u7c7b\u5b9e\u73b0\u63a5\u53e3\uff1b\u4e0d\u80fd\u6709\u53c2\u6570 |
|
60 compiler.err.anon.class.impl.intf.no.typeargs=\ |
|
61 \u533f\u540d\u7c7b\u5b9e\u73b0\u63a5\u53e3\uff1b\u4e0d\u80fd\u5177\u6709\u7c7b\u578b\u53c2\u6570 |
|
62 compiler.err.anon.class.impl.intf.no.qual.for.new=\ |
|
63 \u533f\u540d\u7c7b\u5b9e\u73b0\u63a5\u53e3\uff1b\u4e0d\u80fd\u6709\u9650\u5b9a\u7b26 - \u5bf9\u4e8e\u65b0 |
|
64 compiler.err.array.and.varargs=\ |
|
65 \u65e0\u6cd5\u5728 {2} \u4e2d\u540c\u65f6\u58f0\u660e {0} \u548c {1} |
|
66 compiler.err.array.dimension.missing=\ |
|
67 \u7f3a\u5c11\u6570\u7ec4\u7ef4\u6570 |
|
68 compiler.err.array.req.but.found=\ |
|
69 \u9700\u8981\u6570\u7ec4\uff0c\u4f46\u627e\u5230 {0} |
|
70 |
|
71 compiler.err.assignment.from.super-bound=\ |
|
72 \u901a\u8fc7\u901a\u914d\u7b26 {0} \u6307\u5b9a |
|
73 compiler.err.assignment.to.extends-bound=\ |
|
74 \u6307\u5b9a\u7ed9\u901a\u914d\u7b26 {0} |
|
75 compiler.err.attribute.value.must.be.constant=\ |
|
76 \u5c5e\u6027\u503c\u5fc5\u987b\u4e3a\u5e38\u91cf |
|
77 |
|
78 compiler.err.break.outside.switch.loop=\ |
|
79 \u5728 switch \u6216 loop \u5916\u90e8\u4e2d\u65ad |
|
80 |
|
81 compiler.err.call.must.be.first.stmt.in.ctor=\ |
|
82 \u5bf9 {0} \u7684\u8c03\u7528\u5fc5\u987b\u662f\u6784\u9020\u51fd\u6570\u4e2d\u7684\u7b2c\u4e00\u4e2a\u8bed\u53e5 |
|
83 compiler.err.cant.apply.symbol=\ |
|
84 \u65e0\u6cd5\u5c06 {1} \u4e2d\u7684 {0} \u5e94\u7528\u4e8e {2}({3}) |
|
85 compiler.err.cant.apply.symbol.1=\ |
|
86 \u65e0\u6cd5\u5c06 {1} \u4e2d\u7684 {0} \u5e94\u7528\u4e8e {2}({3})\uff1b{4} |
|
87 compiler.err.cant.assign.val.to.final.var=\ |
|
88 \u65e0\u6cd5\u4e3a\u6700\u7ec8\u53d8\u91cf {0} \u6307\u5b9a\u503c |
|
89 compiler.err.cant.deref=\ |
|
90 \u65e0\u6cd5\u53d6\u6d88\u5f15\u7528 {0} |
|
91 compiler.err.cant.extend.intf.annotation=\ |
|
92 \u5bf9\u4e8e @interface\uff0c\u4e0d\u5141\u8bb8 "extends" |
|
93 compiler.err.cant.inherit.from.final=\ |
|
94 \u65e0\u6cd5\u4ece\u6700\u7ec8 {0} \u8fdb\u884c\u7ee7\u627f |
|
95 compiler.err.cant.ref.before.ctor.called=\ |
|
96 \u65e0\u6cd5\u5728\u8c03\u7528\u7236\u7c7b\u578b\u6784\u9020\u51fd\u6570\u4e4b\u524d\u5f15\u7528 {0} |
|
97 compiler.err.cant.ret.val.from.meth.decl.void=\ |
|
98 \u5bf9\u4e8e\u7ed3\u679c\u7c7b\u578b\u4e3a void \u7684\u65b9\u6cd5\uff0c\u65e0\u6cd5\u8fd4\u56de\u503c |
|
99 compiler.err.cant.select.static.class.from.param.type=\ |
|
100 \u65e0\u6cd5\u4ece\u53c2\u6570\u5316\u7684\u7c7b\u578b\u4e2d\u9009\u62e9\u9759\u6001\u7c7b |
|
101 compiler.err.cant.inherit.diff.arg=\ |
|
102 \u65e0\u6cd5\u4f7f\u7528\u4ee5\u4e0b\u4e0d\u540c\u7684\u53c2\u6570\u7ee7\u627f {0}\uff1a<{1}> \u548c <{2}> |
|
103 compiler.err.catch.without.try=\ |
|
104 "catch" \u4e0d\u5e26\u6709 "try" |
|
105 compiler.err.clash.with.pkg.of.same.name=\ |
|
106 {0} \u4e0e\u5e26\u6709\u76f8\u540c\u540d\u79f0\u7684\u8f6f\u4ef6\u5305\u51b2\u7a81 |
|
107 compiler.err.const.expr.req=\ |
|
108 \u9700\u8981\u5e38\u91cf\u8868\u8fbe\u5f0f |
|
109 compiler.err.enum.const.req=\ |
|
110 \u9700\u8981\u975e\u9650\u5b9a\u679a\u4e3e\u5e38\u91cf\u540d\u79f0 |
|
111 compiler.err.cont.outside.loop=\ |
|
112 continue \u5728 loop \u5916\u90e8 |
|
113 compiler.err.cyclic.inheritance=\ |
|
114 \u5faa\u73af\u7ee7\u627f\u6d89\u53ca {0} |
|
115 compiler.err.cyclic.annotation.element=\ |
|
116 \u5faa\u73af\u6ce8\u91ca\u5143\u7d20\u7c7b\u578b |
|
117 compiler.err.call.to.super.not.allowed.in.enum.ctor=\ |
|
118 \u5728\u679a\u4e3e\u6784\u9020\u51fd\u6570\u4e2d\u4e0d\u5141\u8bb8\u8c03\u7528\u7236\u7c7b\u578b |
|
119 compiler.err.no.superclass=\ |
|
120 {0} \u4e0d\u5177\u6709\u7236\u7c7b |
|
121 |
|
122 compiler.err.concrete.inheritance.conflict=\ |
|
123 {1} \u4e2d\u7684\u65b9\u6cd5 {0} \u548c {3} \u4e2d\u7684\u65b9\u6cd5 {2} \u662f\u4f7f\u7528\u76f8\u540c\u7684\u7b7e\u540d\u7ee7\u627f\u7684 |
|
124 |
|
125 compiler.err.default.allowed.in.intf.annotation.member=\ |
|
126 \u4ec5\u5728 @interface \u6210\u5458\u4e2d\u5141\u8bb8\u4f7f\u7528\u9ed8\u8ba4\u503c |
|
127 compiler.err.doesnt.exist=\ |
|
128 \u8f6f\u4ef6\u5305 {0} \u4e0d\u5b58\u5728 |
|
129 compiler.err.duplicate.annotation=\ |
|
130 \u6ce8\u91ca\u91cd\u590d |
|
131 compiler.err.duplicate.annotation.member.value=\ |
|
132 {1} \u4e2d\u7684\u6ce8\u91ca\u6210\u5458\u503c {0} \u91cd\u590d |
|
133 compiler.err.duplicate.class=\ |
|
134 \u7c7b\u91cd\u590d\uff1a {0} |
|
135 compiler.err.duplicate.case.label=\ |
|
136 case \u6807\u7b7e\u91cd\u590d |
|
137 compiler.err.duplicate.default.label=\ |
|
138 default \u6807\u7b7e\u91cd\u590d |
|
139 |
|
140 compiler.err.else.without.if=\ |
|
141 "else" \u4e0d\u5e26\u6709 "if" |
|
142 compiler.err.empty.char.lit=\ |
|
143 \u7a7a\u5b57\u7b26\u5b57\u9762\u503c |
|
144 compiler.err.encl.class.required=\ |
|
145 \u9700\u8981\u5305\u542b {0} \u7684\u5c01\u95ed\u5b9e\u4f8b |
|
146 compiler.err.enum.annotation.must.be.enum.constant=\ |
|
147 \u679a\u4e3e\u6ce8\u91ca\u503c\u5fc5\u987b\u662f\u679a\u4e3e\u5e38\u91cf |
|
148 |
|
149 compiler.err.enum.cant.be.instantiated=\ |
|
150 \u65e0\u6cd5\u5b9e\u4f8b\u5316\u679a\u4e3e\u7c7b\u578b |
|
151 compiler.err.enum.label.must.be.unqualified.enum=\ |
|
152 \u679a\u4e3e switch case \u6807\u7b7e\u5fc5\u987b\u4e3a\u679a\u4e3e\u5e38\u91cf\u7684\u975e\u9650\u5b9a\u540d\u79f0 |
|
153 compiler.err.enum.no.subclassing=\ |
|
154 \u7c7b\u65e0\u6cd5\u76f4\u63a5\u7ee7\u627f java.lang.Enum |
|
155 compiler.err.enum.types.not.extensible=\ |
|
156 \u679a\u4e3e\u7c7b\u578b\u4e0d\u53ef\u7ee7\u627f |
|
157 compiler.err.enum.no.finalize=\ |
|
158 \u679a\u4e3e\u4e0d\u80fd\u6709 finalize \u65b9\u6cd5 |
|
159 compiler.err.error.reading.file=\ |
|
160 \u8bfb\u53d6 {0} \u65f6\u51fa\u9519\uff1b{1} |
|
161 compiler.err.except.already.caught=\ |
|
162 \u5df2\u6355\u6349\u5230\u5f02\u5e38 {0} |
|
163 compiler.err.except.never.thrown.in.try=\ |
|
164 \u5728\u76f8\u5e94\u7684 try \u8bed\u53e5\u4e3b\u4f53\u4e2d\u4e0d\u80fd\u629b\u51fa\u5f02\u5e38 {0} |
|
165 |
|
166 compiler.err.final.parameter.may.not.be.assigned=\ |
|
167 \u4e0d\u80fd\u6307\u5b9a\u6700\u7ec8\u53c2\u6570 {0} |
|
168 compiler.err.finally.without.try=\ |
|
169 "finally" \u4e0d\u5e26\u6709 "try" |
|
170 compiler.err.foreach.not.applicable.to.type=\ |
|
171 foreach \u4e0d\u9002\u7528\u4e8e\u8868\u8fbe\u5f0f\u7c7b\u578b |
|
172 compiler.err.fp.number.too.large=\ |
|
173 \u6d6e\u70b9\u6570\u8fc7\u5927 |
|
174 compiler.err.fp.number.too.small=\ |
|
175 \u6d6e\u70b9\u6570\u8fc7\u5c0f |
|
176 |
|
177 compiler.err.generic.array.creation=\ |
|
178 \u521b\u5efa\u6cdb\u578b\u6570\u7ec4 |
|
179 compiler.err.generic.throwable=\ |
|
180 \u6cdb\u578b\u7c7b\u65e0\u6cd5\u7ee7\u627f java.lang.Throwable |
|
181 |
|
182 compiler.err.icls.cant.have.static.decl=\ |
|
183 \u5185\u90e8\u7c7b\u4e0d\u80fd\u6709\u9759\u6001\u58f0\u660e |
|
184 compiler.err.illegal.char=\ |
|
185 \u975e\u6cd5\u5b57\u7b26\uff1a \\{0} |
|
186 compiler.err.illegal.char.for.encoding=\ |
|
187 \u7f16\u7801 {0} \u7684\u4e0d\u53ef\u6620\u5c04\u5b57\u7b26 |
|
188 compiler.err.illegal.combination.of.modifiers=\ |
|
189 \u975e\u6cd5\u7684\u4fee\u9970\u7b26\u7ec4\u5408\uff1a{0} \u548c {1} |
|
190 compiler.err.illegal.enum.static.ref=\ |
|
191 \u521d\u59cb\u5316\u7a0b\u5e8f\u4e2d\u5bf9\u9759\u6001\u5b57\u6bb5\u7684\u5f15\u7528\u4e0d\u5408\u6cd5 |
|
192 compiler.err.illegal.esc.char=\ |
|
193 \u975e\u6cd5\u8f6c\u4e49\u5b57\u7b26 |
|
194 compiler.err.illegal.forward.ref=\ |
|
195 \u975e\u6cd5\u5411\u524d\u5f15\u7528 |
|
196 compiler.warn.forward.ref=\ |
|
197 \u5148\u5f15\u7528\u53d8\u91cf''{0}''\uff0c\u7136\u540e\u518d\u5bf9\u5176\u521d\u59cb\u5316 |
|
198 compiler.err.illegal.generic.type.for.instof=\ |
|
199 instanceof \u7684\u6cdb\u578b\u7c7b\u578b\u4e0d\u5408\u6cd5 |
|
200 compiler.err.illegal.initializer.for.type=\ |
|
201 {0} \u7684\u521d\u59cb\u5316\u7a0b\u5e8f\u4e0d\u5408\u6cd5 |
|
202 compiler.err.illegal.line.end.in.char.lit=\ |
|
203 \u5b57\u7b26\u5b57\u9762\u503c\u7684\u884c\u7ed3\u5c3e\u4e0d\u5408\u6cd5 |
|
204 compiler.err.illegal.nonascii.digit=\ |
|
205 \u975e\u6cd5\u7684\u975e ASCII \u6570\u5b57 |
|
206 compiler.err.illegal.qual.not.icls=\ |
|
207 \u975e\u6cd5\u9650\u5b9a\u7b26\uff1b{0} \u4e0d\u662f\u5185\u90e8\u7c7b |
|
208 compiler.err.illegal.start.of.expr=\ |
|
209 \u975e\u6cd5\u7684\u8868\u8fbe\u5f0f\u5f00\u59cb |
|
210 compiler.err.illegal.start.of.type=\ |
|
211 \u975e\u6cd5\u7684\u7c7b\u578b\u5f00\u59cb |
|
212 compiler.err.illegal.unicode.esc=\ |
|
213 \u975e\u6cd5\u7684 Unicode \u8f6c\u4e49 |
|
214 compiler.err.import.requires.canonical=\ |
|
215 \u5bfc\u5165\u9700\u8981 {0} \u7684\u89c4\u8303\u540d\u79f0 |
|
216 compiler.err.improperly.formed.type.param.missing=\ |
|
217 \u7c7b\u578b\u7684\u683c\u5f0f\u4e0d\u6b63\u786e\uff0c\u7f3a\u5c11\u67d0\u4e9b\u53c2\u6570 |
|
218 compiler.err.improperly.formed.type.inner.raw.param=\ |
|
219 \u7c7b\u578b\u7684\u683c\u5f0f\u4e0d\u6b63\u786e\uff0c\u7ed9\u51fa\u4e86\u666e\u901a\u7c7b\u578b\u7684\u7c7b\u578b\u53c2\u6570 |
|
220 compiler.err.incomparable.types=\ |
|
221 \u4e0d\u53ef\u6bd4\u8f83\u7684\u7c7b\u578b\uff1a{0} \u548c {1} |
|
222 compiler.err.int.number.too.large=\ |
|
223 \u8fc7\u5927\u7684\u6574\u6570\uff1a {0} |
|
224 compiler.err.internal.error.cant.instantiate=\ |
|
225 \u5185\u90e8\u9519\u8bef\uff1b\u65e0\u6cd5\u5c06\u4f4d\u4e8e {1} \u7684 {0} \u5b9e\u4f8b\u5316\u4e3a ({2}) |
|
226 compiler.err.intf.annotation.members.cant.have.params=\ |
|
227 @interface \u6210\u5458\u4e0d\u80fd\u5e26\u6709\u53c2\u6570 |
|
228 compiler.err.intf.annotation.cant.have.type.params=\ |
|
229 @interface \u4e0d\u80fd\u5e26\u6709\u7c7b\u578b\u53c2\u6570 |
|
230 compiler.err.intf.annotation.members.cant.have.type.params=\ |
|
231 @interface \u6210\u5458\u4e0d\u80fd\u5e26\u6709\u7c7b\u578b\u53c2\u6570 |
|
232 compiler.err.intf.annotation.member.clash=\ |
|
233 @interface \u6210\u5458\u4e0e {1} \u4e2d\u7684\u65b9\u6cd5''{0}''\u51b2\u7a81 |
|
234 compiler.err.intf.expected.here=\ |
|
235 \u6b64\u5904\u9700\u8981\u63a5\u53e3 |
|
236 compiler.err.intf.meth.cant.have.body=\ |
|
237 \u63a5\u53e3\u65b9\u6cd5\u4e0d\u80fd\u5e26\u6709\u4e3b\u4f53 |
|
238 compiler.err.invalid.annotation.member.type=\ |
|
239 \u6ce8\u91ca\u6210\u5458\u7684\u7c7b\u578b\u65e0\u6548 |
|
240 compiler.err.invalid.hex.number=\ |
|
241 \u5341\u516d\u8fdb\u5236\u6570\u5b57\u5fc5\u987b\u5305\u542b\u81f3\u5c11\u4e00\u4f4d\u5341\u516d\u8fdb\u5236\u6570 |
|
242 compiler.err.invalid.meth.decl.ret.type.req=\ |
|
243 \u65b9\u6cd5\u58f0\u660e\u65e0\u6548\uff1b\u9700\u8981\u8fd4\u56de\u7c7b\u578b |
|
244 |
|
245 compiler.err.label.already.in.use=\ |
|
246 \u6807\u7b7e {0} \u5df2\u4f7f\u7528 |
|
247 compiler.err.local.var.accessed.from.icls.needs.final=\ |
|
248 \u4ece\u5185\u90e8\u7c7b\u4e2d\u8bbf\u95ee\u5c40\u90e8\u53d8\u91cf {0}\uff1b\u9700\u8981\u88ab\u58f0\u660e\u4e3a\u6700\u7ec8\u7c7b\u578b |
|
249 compiler.err.local.enum=\ |
|
250 \u679a\u4e3e\u7c7b\u578b\u4e0d\u80fd\u4e3a\u672c\u5730\u7c7b\u578b |
|
251 |
|
252 # |
|
253 # limits. We don't give the limits in the diagnostic because we expect |
|
254 # them to change, yet we want to use the same diagnostic. These are all |
|
255 # detected during code generation. |
|
256 # |
|
257 compiler.err.limit.code=\ |
|
258 \u4ee3\u7801\u8fc7\u957f |
|
259 compiler.err.limit.code.too.large.for.try.stmt=\ |
|
260 try \u8bed\u53e5\u7684\u4ee3\u7801\u8fc7\u957f |
|
261 compiler.err.limit.dimensions=\ |
|
262 \u6570\u7ec4\u7c7b\u578b\u7ef4\u6570\u8fc7\u591a |
|
263 compiler.err.limit.locals=\ |
|
264 \u5c40\u90e8\u53d8\u91cf\u8fc7\u591a |
|
265 compiler.err.limit.parameters=\ |
|
266 \u53c2\u6570\u8fc7\u591a |
|
267 compiler.err.limit.pool=\ |
|
268 \u5e38\u91cf\u8fc7\u591a |
|
269 compiler.err.limit.pool.in.class=\ |
|
270 \u7c7b {0} \u4e2d\u7684\u5e38\u91cf\u8fc7\u591a |
|
271 compiler.err.limit.stack=\ |
|
272 \u4ee3\u7801\u9700\u8981\u8fc7\u591a\u5806\u6808 |
|
273 compiler.err.limit.string=\ |
|
274 \u5e38\u91cf\u5b57\u7b26\u4e32\u8fc7\u957f |
|
275 compiler.err.limit.string.overflow=\ |
|
276 \u5bf9\u4e8e\u5e38\u91cf\u6c60\u6765\u8bf4\uff0c\u5b57\u7b26\u4e32 \"{0}...\" \u7684 UTF8 \u8868\u793a\u8fc7\u957f |
|
277 |
|
278 compiler.err.malformed.fp.lit=\ |
|
279 \u6d6e\u70b9\u5b57\u9762\u503c\u4e0d\u89c4\u5219 |
|
280 compiler.err.method.does.not.override.superclass=\ |
|
281 \u65b9\u6cd5\u4e0d\u4f1a\u8986\u76d6\u6216\u5b9e\u73b0\u8d85\u7c7b\u578b\u7684\u65b9\u6cd5 |
|
282 compiler.err.missing.meth.body.or.decl.abstract=\ |
|
283 \u7f3a\u5c11\u65b9\u6cd5\u4e3b\u4f53\uff0c\u6216\u58f0\u660e\u62bd\u8c61 |
|
284 compiler.err.missing.ret.stmt=\ |
|
285 \u7f3a\u5c11\u8fd4\u56de\u8bed\u53e5 |
|
286 compiler.err.missing.ret.val=\ |
|
287 \u7f3a\u5c11\u8fd4\u56de\u503c |
|
288 compiler.err.mod.not.allowed.here=\ |
|
289 \u6b64\u5904\u4e0d\u5141\u8bb8\u4f7f\u7528\u4fee\u9970\u7b26 {0} |
|
290 compiler.err.intf.not.allowed.here=\ |
|
291 \u6b64\u5904\u4e0d\u5141\u8bb8\u4f7f\u7528\u63a5\u53e3 |
|
292 compiler.err.enums.must.be.static=\ |
|
293 \u53ea\u6709\u5728\u9759\u6001\u4e0a\u4e0b\u6587\u4e2d\u624d\u5141\u8bb8\u4f7f\u7528\u679a\u4e3e\u58f0\u660e |
|
294 |
|
295 compiler.err.name.clash.same.erasure=\ |
|
296 \u540d\u79f0\u51b2\u7a81\uff1a{0} \u548c {1} \u5177\u6709\u76f8\u540c\u7591\u7b26 |
|
297 compiler.err.name.clash.same.erasure.no.override=\ |
|
298 \u540d\u79f0\u51b2\u7a81\uff1a{1} \u4e2d\u7684 {0} \u548c {3} \u4e2d\u7684 {2} \u5177\u6709\u76f8\u540c\u7591\u7b26\uff0c\u4f46\u4e24\u8005\u5747\u4e0d\u8986\u76d6\u5bf9\u65b9 |
|
299 compiler.err.name.reserved.for.internal.use=\ |
|
300 {0} \u4e3a\u5185\u90e8\u4f7f\u7528\u4fdd\u7559 |
|
301 compiler.err.native.meth.cant.have.body=\ |
|
302 \u672c\u673a\u65b9\u6cd5\u4e0d\u80fd\u5e26\u6709\u4e3b\u4f53 |
|
303 compiler.err.neither.conditional.subtype=\ |
|
304 ? \u7684\u4e0d\u517c\u5bb9\u7c7b\u578b\uff1a\u4e24\u8005\u90fd\u4e0d\u662f\u5bf9\u65b9\u7684\u5b50\u7c7b\u578b\n\ |
|
305 \u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\uff1a {0}\n\ |
|
306 \u7b2c\u4e09\u4e2a\u64cd\u4f5c\u6570\uff1a {1} |
|
307 compiler.err.new.not.allowed.in.annotation=\ |
|
308 \u6ce8\u91ca\u4e2d\u4e0d\u5141\u8bb8\u4f7f\u7528 "new" |
|
309 compiler.err.no.annotation.member=\ |
|
310 {1} \u4e2d\u6ca1\u6709\u6ce8\u91ca\u6210\u5458 {0} |
|
311 compiler.err.no.encl.instance.of.type.in.scope=\ |
|
312 \u4f5c\u7528\u57df\u4e2d\u6ca1\u6709\u7c7b\u578b\u4e3a {0} \u7684\u5c01\u95ed\u5b9e\u4f8b |
|
313 compiler.err.no.intf.expected.here=\ |
|
314 \u6b64\u5904\u4e0d\u9700\u8981\u63a5\u53e3 |
|
315 compiler.err.no.match.entry=\ |
|
316 {0} \u5728 {1} \u7684\u6761\u76ee\u4e2d\u6ca1\u6709\u5339\u914d\u9879\uff1b\u9700\u8981 {2} |
|
317 compiler.err.not.annotation.type=\ |
|
318 {0} \u4e0d\u662f\u6ce8\u91ca\u7c7b\u578b |
|
319 compiler.err.not.def.access.class.intf.cant.access=\ |
|
320 {1} \u4e2d\u7684 {0} \u662f\u5728\u4e0d\u53ef\u8bbf\u95ee\u7684\u7c7b\u6216\u63a5\u53e3\u4e2d\u5b9a\u4e49\u7684 |
|
321 compiler.err.not.def.public.cant.access=\ |
|
322 {0} \u5728 {1} \u4e2d\u4e0d\u662f\u516c\u5171\u7684\uff1b\u65e0\u6cd5\u4ece\u5916\u90e8\u8f6f\u4ef6\u5305\u4e2d\u5bf9\u5176\u8fdb\u884c\u8bbf\u95ee |
|
323 compiler.err.not.loop.label=\ |
|
324 \u4e0d\u662f loop \u6807\u7b7e\uff1a {0} |
|
325 compiler.err.not.stmt=\ |
|
326 \u4e0d\u662f\u8bed\u53e5 |
|
327 compiler.err.not.encl.class=\ |
|
328 \u4e0d\u662f\u5c01\u95ed\u7c7b\uff1a {0} |
|
329 |
|
330 compiler.err.operator.cant.be.applied=\ |
|
331 \u8fd0\u7b97\u7b26 {0} \u4e0d\u80fd\u5e94\u7528\u4e8e {1} |
|
332 |
|
333 compiler.err.pkg.annotations.sb.in.package-info.java=\ |
|
334 \u8f6f\u4ef6\u5305\u6ce8\u91ca\u5e94\u5728\u6587\u4ef6 package-info.java \u4e2d |
|
335 compiler.err.pkg.clashes.with.class.of.same.name=\ |
|
336 \u8f6f\u4ef6\u5305 {0} \u4e0e\u5e26\u6709\u76f8\u540c\u540d\u79f0\u7684\u7c7b\u51b2\u7a81 |
|
337 |
|
338 # Errors related to annotation processing |
|
339 |
|
340 compiler.err.proc.cant.access=\ |
|
341 \u65e0\u6cd5\u8bbf\u95ee {0}\n\ |
|
342 {1}\n\ |
|
343 \u6709\u5173\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u4ee5\u4e0b\u5806\u6808\u8ffd\u8e2a\u3002\n\ |
|
344 {2} |
|
345 |
|
346 compiler.err.proc.cant.find.class=\ |
|
347 \u627e\u4e0d\u5230\u201c{0}\u201d\u7684\u7c7b\u6587\u4ef6\u3002 |
|
348 |
|
349 # Print a client-generated error message; assumed to be localized, no translation required |
|
350 compiler.err.proc.messager=\ |
|
351 {0} |
|
352 |
|
353 compiler.err.proc.no.explicit.annotation.processing.requested=\ |
|
354 \u4ec5\u5f53\u663e\u5f0f\u8bf7\u6c42\u6ce8\u91ca\u5904\u7406\u65f6\u624d\u63a5\u53d7\u7c7b\u540d\u79f0\u201c{0}\u201d |
|
355 |
|
356 compiler.err.proc.processor.bad.option.name=\ |
|
357 \u5904\u7406\u5668"{1}"\u63d0\u4f9b\u7684\u9009\u9879\u540d\u79f0"{0}"\u9519\u8bef |
|
358 |
|
359 compiler.err.proc.processor.cant.instantiate=\ |
|
360 \u65e0\u6cd5\u5b9e\u4f8b\u5316\u5904\u7406\u7a0b\u5e8f\u201c{0}\u201d\u7684\u5b9e\u4f8b |
|
361 |
|
362 compiler.err.proc.processor.constructor.error=\ |
|
363 \u6784\u9020\u5904\u7406\u7a0b\u5e8f\u5bf9\u8c61 {0} \u65f6\u629b\u51fa\u5f02\u5e38 |
|
364 |
|
365 compiler.err.proc.processor.not.found=\ |
|
366 \u672a\u627e\u5230\u6ce8\u91ca\u5904\u7406\u7a0b\u5e8f\u201c{0}\u201d |
|
367 |
|
368 compiler.err.proc.processor.wrong.type=\ |
|
369 \u6ce8\u91ca\u5904\u7406\u7a0b\u5e8f\u201c{0}\u201d\u672a\u5b9e\u73b0 javax.annotation.processing.Processor |
|
370 |
|
371 compiler.err.proc.bad.config.file=\ |
|
372 \u670d\u52a1\u914d\u7f6e\u6587\u4ef6\u4e0d\u6b63\u786e\uff0c\u6216\u6784\u9020\u5904\u7406\u7a0b\u5e8f\u5bf9\u8c61 {0} \u65f6\u629b\u51fa\u5f02\u5e38 |
|
373 |
|
374 compiler.err.proc.cant.create.loader=\ |
|
375 \u65e0\u6cd5\u4e3a\u6ce8\u91ca\u5904\u7406\u7a0b\u5e8f {0} \u521b\u5efa\u7c7b\u52a0\u8f7d\u5668 |
|
376 |
|
377 compiler.err.qualified.new.of.static.class=\ |
|
378 \u9650\u5b9a\u7684\u65b0\u9759\u6001\u7c7b |
|
379 |
|
380 compiler.err.recursive.ctor.invocation=\ |
|
381 \u9012\u5f52\u6784\u9020\u51fd\u6570\u8c03\u7528 |
|
382 compiler.err.ref.ambiguous=\ |
|
383 \u5bf9 {0} \u7684\u5f15\u7528\u4e0d\u660e\u786e\uff0c{3} \u4e2d\u7684 {1} {2} \u548c {6} \u4e2d\u7684 {4} {5} \u90fd\u5339\u914d |
|
384 compiler.err.repeated.annotation.target=\ |
|
385 \u6ce8\u91ca\u76ee\u6807\u91cd\u590d |
|
386 compiler.err.repeated.interface=\ |
|
387 \u63a5\u53e3\u91cd\u590d |
|
388 compiler.err.repeated.modifier=\ |
|
389 \u4fee\u9970\u7b26\u91cd\u590d |
|
390 compiler.err.report.access=\ |
|
391 {0} \u53ef\u4ee5\u5728 {2} \u4e2d\u8bbf\u95ee {1} |
|
392 compiler.err.ret.outside.meth=\ |
|
393 \u8fd4\u56de\u5916\u90e8\u65b9\u6cd5 |
|
394 |
|
395 compiler.err.signature.doesnt.match.supertype=\ |
|
396 \u7b7e\u540d\u4e0e {0} \u4e0d\u5339\u914d\uff1b\u4e0d\u517c\u5bb9\u7684\u7236\u7c7b\u578b |
|
397 compiler.err.signature.doesnt.match.intf=\ |
|
398 \u7b7e\u540d\u4e0e {0} \u4e0d\u5339\u914d\uff1b\u4e0d\u517c\u5bb9\u7684\u63a5\u53e3 |
|
399 compiler.err.does.not.override.abstract=\ |
|
400 {0} \u4e0d\u662f\u62bd\u8c61\u7684\uff0c\u5e76\u4e14\u672a\u8986\u76d6 {2} \u4e2d\u7684\u62bd\u8c61\u65b9\u6cd5 {1} |
|
401 compiler.err.source.cant.overwrite.input.file=\ |
|
402 \u5199\u5165\u6e90\u65f6\u51fa\u9519\uff1b\u65e0\u6cd5\u8986\u5199\u8f93\u5165\u6587\u4ef6 {0} |
|
403 compiler.err.stack.sim.error=\ |
|
404 \u5185\u90e8\u9519\u8bef\uff1a{0} \u4e2d\u7684\u5806\u6808 sim \u9519\u8bef |
|
405 compiler.err.static.imp.only.classes.and.interfaces=\ |
|
406 \u4ec5\u4ece\u7c7b\u548c\u63a5\u53e3\u9759\u6001\u5bfc\u5165 |
|
407 compiler.err.synthetic.name.conflict=\ |
|
408 \u7b26\u53f7 {0} \u4e0e {1} \u4e2d\u7684 compiler-synthesized \u7b26\u53f7\u51b2\u7a81 |
|
409 |
|
410 compiler.err.throws.not.allowed.in.intf.annotation=\ |
|
411 @interface \u6210\u5458\u4e2d\u4e0d\u5141\u8bb8\u4f7f\u7528 throws \u5b50\u53e5 |
|
412 compiler.err.try.without.catch.or.finally=\ |
|
413 "try" \u4e0d\u5e26\u6709 "catch" \u6216 "finally" |
|
414 compiler.err.type.doesnt.take.params=\ |
|
415 \u7c7b\u578b {0} \u4e0d\u5e26\u6709\u53c2\u6570 |
|
416 compiler.err.type.var.cant.be.deref=\ |
|
417 \u65e0\u6cd5\u4ece\u7c7b\u578b\u53d8\u91cf\u4e2d\u8fdb\u884c\u9009\u62e9 |
|
418 compiler.err.type.var.may.not.be.followed.by.other.bounds=\ |
|
419 \u7c7b\u578b\u53d8\u91cf\u540e\u9762\u4e0d\u80fd\u5e26\u6709\u5176\u4ed6\u9650\u5236\u8303\u56f4 |
|
420 compiler.err.type.var.more.than.once=\ |
|
421 \u7c7b\u578b\u53d8\u91cf {0} \u5728 {1} \u7684\u7ed3\u679c\u7c7b\u578b\u4e2d\u591a\u6b21\u51fa\u73b0\uff1b\u5fc5\u987b\u5bf9\u5176\u8fdb\u884c\u5b9e\u4f8b\u5316 |
|
422 compiler.err.type.var.more.than.once.in.result=\ |
|
423 \u7c7b\u578b\u53d8\u91cf {0} \u5728 {1} \u7684\u7c7b\u578b\u4e2d\u591a\u6b21\u51fa\u73b0\uff1b\u5fc5\u987b\u5bf9\u5176\u8fdb\u884c\u5b9e\u4f8b\u5316 |
|
424 compiler.err.types.incompatible.diff.ret=\ |
|
425 \u7c7b\u578b {0} \u548c {1} \u4e0d\u517c\u5bb9\uff1b\u4e24\u8005\u90fd\u5b9a\u4e49\u4e86 {2}\uff0c\u4f46\u5374\u5e26\u6709\u4e0d\u76f8\u5173\u7684\u8fd4\u56de\u7c7b\u578b |
|
426 |
|
427 compiler.err.unclosed.char.lit=\ |
|
428 \u672a\u7ed3\u675f\u7684\u5b57\u7b26\u5b57\u9762\u503c |
|
429 compiler.err.unclosed.comment=\ |
|
430 \u672a\u7ed3\u675f\u7684\u6ce8\u91ca |
|
431 compiler.err.unclosed.str.lit=\ |
|
432 \u672a\u7ed3\u675f\u7684\u5b57\u7b26\u4e32\u5b57\u9762\u503c |
|
433 compiler.err.unknown.enum.constant=\ |
|
434 \u5728\u7c7b\u6587\u4ef6 {0} \u4e2d\uff1a\u672a\u77e5\u7684\u679a\u4e3e\u5e38\u91cf {1}.{2} |
|
435 compiler.err.unsupported.encoding=\ |
|
436 \u4e0d\u652f\u6301\u7684\u7f16\u7801\uff1a {0} |
|
437 compiler.err.io.exception=\ |
|
438 \u8bfb\u53d6\u6e90\u6587\u4ef6\u65f6\u51fa\u9519\uff1a {0} |
|
439 compiler.err.undef.label=\ |
|
440 \u672a\u5b9a\u4e49\u7684\u6807\u7b7e\uff1a {0} |
|
441 compiler.err.undetermined.type=\ |
|
442 \u65e0\u6cd5\u786e\u5b9a {0} \u7684\u7c7b\u578b\u53c2\u6570 |
|
443 compiler.err.undetermined.type.1=\ |
|
444 \u65e0\u6cd5\u786e\u5b9a {0} \u7684\u7c7b\u578b\u53c2\u6570\uff1b{1} |
|
445 compiler.err.unreachable.stmt=\ |
|
446 \u65e0\u6cd5\u8bbf\u95ee\u7684\u8bed\u53e5 |
|
447 compiler.err.initializer.must.be.able.to.complete.normally=\ |
|
448 \u521d\u59cb\u5316\u7a0b\u5e8f\u5fc5\u987b\u80fd\u591f\u6b63\u5e38\u5b8c\u6210 |
|
449 compiler.err.unreported.exception.need.to.catch.or.throw=\ |
|
450 \u672a\u62a5\u544a\u7684\u5f02\u5e38 {0}\uff1b\u5fc5\u987b\u5bf9\u5176\u8fdb\u884c\u6355\u6349\u6216\u58f0\u660e\u4ee5\u4fbf\u629b\u51fa |
|
451 compiler.err.unreported.exception.default.constructor=\ |
|
452 \u9ed8\u8ba4\u6784\u9020\u51fd\u6570\u4e2d\u672a\u62a5\u544a\u7684\u5f02\u5e38 {0} |
|
453 compiler.err.unsupported.cross.fp.lit=\ |
|
454 \u8be5 VM \u4e0d\u652f\u6301\u5341\u516d\u8fdb\u5236\u6d6e\u70b9\u5b57\u9762\u503c |
|
455 compiler.err.void.not.allowed.here=\ |
|
456 \u6b64\u5904\u4e0d\u5141\u8bb8\u4f7f\u7528 "void" \u7c7b\u578b |
|
457 |
|
458 compiler.err.wrong.number.type.args=\ |
|
459 \u7c7b\u578b\u53d8\u91cf\u6570\u76ee\u9519\u8bef\uff1b\u9700\u8981 {0} |
|
460 |
|
461 compiler.err.var.might.already.be.assigned=\ |
|
462 \u53ef\u80fd\u5df2\u6307\u5b9a\u53d8\u91cf {0} |
|
463 compiler.err.var.might.not.have.been.initialized=\ |
|
464 \u53ef\u80fd\u5c1a\u672a\u521d\u59cb\u5316\u53d8\u91cf {0} |
|
465 compiler.err.var.might.be.assigned.in.loop=\ |
|
466 \u53ef\u80fd\u5728 loop \u4e2d\u6307\u5b9a\u4e86\u53d8\u91cf {0} |
|
467 |
|
468 # In the following string, {1} will always be the detail message from |
|
469 # java.io.IOException. |
|
470 compiler.err.class.cant.write=\ |
|
471 \u5199\u5165 {0} \u65f6\u51fa\u9519\uff1a {1} |
|
472 |
|
473 # In the following string, {0} is the name of the class in the Java source. |
|
474 # It really should be used two times.. |
|
475 compiler.err.class.public.should.be.in.file=\ |
|
476 \u7c7b {0} \u662f\u516c\u5171\u7684\uff0c\u5e94\u5728\u540d\u4e3a {0}.java \u7684\u6587\u4ef6\u4e2d\u58f0\u660e |
|
477 |
|
478 ## All errors which do not refer to a particular line in the source code are |
|
479 ## preceded by this string. |
|
480 compiler.err.error=\ |
|
481 \u9519\u8bef\uff1a |
|
482 |
|
483 # The following error messages do not refer to a line in the source code. |
|
484 compiler.err.cant.read.file=\ |
|
485 \u65e0\u6cd5\u8bfb\u53d6\uff1a {0} |
|
486 |
|
487 ##### |
|
488 |
|
489 # Fatal Errors |
|
490 |
|
491 compiler.misc.fatal.err.no.java.lang=\ |
|
492 \u81f4\u547d\u9519\u8bef\uff1a\u5728\u7c7b\u8def\u5f84\u6216\u5f15\u5bfc\u7c7b\u8def\u5f84\u4e2d\u627e\u4e0d\u5230\u8f6f\u4ef6\u5305 java.lang |
|
493 compiler.misc.fatal.err.cant.locate.meth=\ |
|
494 \u81f4\u547d\u9519\u8bef\uff1a\u627e\u4e0d\u5230\u65b9\u6cd5 {0} |
|
495 compiler.misc.fatal.err.cant.locate.field=\ |
|
496 \u81f4\u547d\u9519\u8bef\uff1a\u627e\u4e0d\u5230\u5b57\u6bb5 {0} |
|
497 compiler.misc.fatal.err.cant.locate.ctor=\ |
|
498 \u81f4\u547d\u9519\u8bef\uff1a\u627e\u4e0d\u5230 {0} \u7684\u6784\u9020\u51fd\u6570 |
|
499 |
|
500 ##### |
|
501 |
|
502 ## |
|
503 ## miscellaneous strings |
|
504 ## |
|
505 |
|
506 compiler.misc.source.unavailable=\ |
|
507 \uff08\u6e90\u4e0d\u53ef\u7528\uff09 |
|
508 compiler.misc.base.membership=\ |
|
509 \u60a8\u7684\u6240\u6709\u57fa\u7c7b\u90fd\u5c5e\u4e8e\u6211\u4eec |
|
510 compiler.misc.x.print.processor.info=\ |
|
511 \u5904\u7406\u7a0b\u5e8f {0} \u4e0e {1} \u5339\u914d\u5e76\u8fd4\u56de {2}\u3002 |
|
512 compiler.misc.x.print.rounds=\ |
|
513 \u5faa\u73af {0}:\n\t\u8f93\u5165\u6587\u4ef6: {1}\n\t\u6ce8\u91ca: {2}\n\t\u6700\u540e\u4e00\u4e2a\u5faa\u73af: {3} |
|
514 |
|
515 ##### |
|
516 |
|
517 ## The following string will appear before all messages keyed as: |
|
518 ## "compiler.note". |
|
519 compiler.note.note=\ |
|
520 \u6ce8\u610f\uff1a |
|
521 |
|
522 compiler.note.deprecated.filename=\ |
|
523 {0} \u4f7f\u7528\u6216\u8986\u76d6\u4e86\u5df2\u8fc7\u65f6\u7684 API\u3002 |
|
524 compiler.note.deprecated.plural=\ |
|
525 \u67d0\u4e9b\u8f93\u5165\u6587\u4ef6\u4f7f\u7528\u6216\u8986\u76d6\u4e86\u5df2\u8fc7\u65f6\u7684 API\u3002 |
|
526 # The following string may appear after one of the above deprecation |
|
527 # messages. |
|
528 compiler.note.deprecated.recompile=\ |
|
529 \u8981\u4e86\u89e3\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u4f7f\u7528 -Xlint:deprecation \u91cd\u65b0\u7f16\u8bd1\u3002 |
|
530 |
|
531 compiler.note.deprecated.filename.additional=\ |
|
532 {0} \u8fd8\u4f7f\u7528\u6216\u8986\u76d6\u4e86\u5df2\u8fc7\u65f6\u7684 API\u3002 |
|
533 compiler.note.deprecated.plural.additional=\ |
|
534 \u67d0\u4e9b\u8f93\u5165\u6587\u4ef6\u8fd8\u4f7f\u7528\u6216\u8986\u76d6\u4e86\u5df2\u8fc7\u65f6\u7684 API\u3002 |
|
535 |
|
536 # Notes related to annotation processing |
|
537 |
|
538 # Print a client-generated note; assumed to be localized, no translation required |
|
539 compiler.note.proc.messager=\ |
|
540 {0} |
|
541 |
|
542 compiler.note.unchecked.filename=\ |
|
543 {0} \u4f7f\u7528\u4e86\u672a\u7ecf\u68c0\u67e5\u6216\u4e0d\u5b89\u5168\u7684\u64cd\u4f5c\u3002 |
|
544 compiler.note.unchecked.plural=\ |
|
545 \u67d0\u4e9b\u8f93\u5165\u6587\u4ef6\u4f7f\u7528\u4e86\u672a\u7ecf\u68c0\u67e5\u6216\u4e0d\u5b89\u5168\u7684\u64cd\u4f5c\u3002 |
|
546 # The following string may appear after one of the above deprecation |
|
547 # messages. |
|
548 compiler.note.unchecked.recompile=\ |
|
549 \u8981\u4e86\u89e3\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u4f7f\u7528 -Xlint:unchecked \u91cd\u65b0\u7f16\u8bd1\u3002 |
|
550 |
|
551 compiler.note.unchecked.filename.additional=\ |
|
552 {0} \u8fd8\u6709\u672a\u7ecf\u68c0\u67e5\u6216\u4e0d\u5b89\u5168\u7684\u64cd\u4f5c\u3002 |
|
553 compiler.note.unchecked.plural.additional=\ |
|
554 \u67d0\u4e9b\u8f93\u5165\u6587\u4ef6\u8fd8\u4f7f\u7528\u4e86\u672a\u7ecf\u68c0\u67e5\u6216\u4e0d\u5b89\u5168\u7684\u64cd\u4f5c\u3002 |
|
555 |
|
556 ##### |
|
557 |
|
558 compiler.misc.count.error=\ |
|
559 {0} \u9519\u8bef |
|
560 compiler.misc.count.error.plural=\ |
|
561 {0} \u9519\u8bef |
|
562 compiler.misc.count.warn=\ |
|
563 {0} \u8b66\u544a |
|
564 compiler.misc.count.warn.plural=\ |
|
565 {0} \u8b66\u544a |
|
566 |
|
567 ## extra output when using -verbose (JavaCompiler) |
|
568 |
|
569 compiler.misc.verbose.checking.attribution=\ |
|
570 [\u6b63\u5728\u68c0\u67e5 {0}] |
|
571 compiler.misc.verbose.parsing.done=\ |
|
572 [\u89e3\u6790\u5df2\u5b8c\u6210\u65f6\u95f4 {0}ms] |
|
573 compiler.misc.verbose.parsing.started=\ |
|
574 [\u89e3\u6790\u5f00\u59cb\u65f6\u95f4 {0}] |
|
575 compiler.misc.verbose.total=\ |
|
576 [\u603b\u65f6\u95f4 {0}ms] |
|
577 compiler.misc.verbose.wrote.file=\ |
|
578 [\u5df2\u5199\u5165 {0}] |
|
579 |
|
580 ## extra output when using -verbose (Retro) |
|
581 compiler.misc.verbose.retro=\ |
|
582 [\u6b63\u5728\u66f4\u65b0 {0}] |
|
583 compiler.misc.verbose.retro.with=\ |
|
584 \u6b63\u5728\u4f7f\u7528 {1} \u66f4\u65b0 {0} |
|
585 compiler.misc.verbose.retro.with.list=\ |
|
586 \u6b63\u5728\u4f7f\u7528\u7c7b\u578b\u53c2\u6570 {1}\u3001\u7236\u7c7b\u578b {2} \u548c\u63a5\u53e3 {3} \u66f4\u65b0 {0} |
|
587 |
|
588 ## extra output when using -verbose (code/ClassReader) |
|
589 compiler.misc.verbose.loading=\ |
|
590 [\u6b63\u5728\u88c5\u5165 {0}] |
|
591 |
|
592 compiler.misc.verbose.sourcepath=\ |
|
593 [\u6e90\u6587\u4ef6\u7684\u641c\u7d22\u8def\u5f84\uff1a {0}] |
|
594 |
|
595 compiler.misc.verbose.classpath=\ |
|
596 [\u7c7b\u6587\u4ef6\u7684\u641c\u7d22\u8def\u5f84\uff1a {0}] |
|
597 |
|
598 ## extra output when using -checkclassfile (code/ClassReader) |
|
599 compiler.misc.ccf.found.later.version=\ |
|
600 \u7c7b\u6587\u4ef6\u7684\u7248\u672c\u9ad8\u4e8e\u9884\u671f\uff1a {0} |
|
601 compiler.misc.ccf.unrecognized.attribute=\ |
|
602 \u65e0\u6cd5\u8bc6\u522b\u7684\u5c5e\u6027\uff1a {0} |
|
603 |
|
604 ## extra output when using -prompt (util/Log) |
|
605 compiler.misc.resume.abort=\ |
|
606 \u7ee7\u7eed(&R), \u653e\u5f03(&A)> |
|
607 |
|
608 ##### |
|
609 |
|
610 ## |
|
611 ## warnings |
|
612 ## |
|
613 |
|
614 ## All warning messages are preceded by the following string. |
|
615 compiler.warn.warning=\ |
|
616 \u8b66\u544a\uff1a |
|
617 |
|
618 compiler.warn.constant.SVUID=\ |
|
619 [serial] \u5728\u7c7b {0} \u4e2d serialVersionUID \u5fc5\u987b\u4e3a\u5e38\u91cf |
|
620 |
|
621 compiler.warn.dir.path.element.not.found=\ |
|
622 [path] \u9519\u8bef\u7684\u8def\u5f84\u5143\u7d20 "{0}"\uff1a\u65e0\u6b64\u76ee\u5f55 |
|
623 |
|
624 compiler.warn.finally.cannot.complete=\ |
|
625 [finally] \u65e0\u6cd5\u6b63\u5e38\u5b8c\u6210 finally \u5b50\u53e5 |
|
626 |
|
627 compiler.warn.has.been.deprecated=\ |
|
628 [deprecation] {1} \u4e2d\u7684 {0} \u5df2\u8fc7\u65f6 |
|
629 |
|
630 compiler.warn.illegal.char.for.encoding=\ |
|
631 \u7f16\u7801 {0} \u7684\u4e0d\u53ef\u6620\u5c04\u5b57\u7b26 |
|
632 compiler.warn.improper.SVUID=\ |
|
633 [serial] \u5728\u7c7b {0} \u4e2d\u5fc5\u987b\u5c06 serialVersionUID \u58f0\u660e\u4e3a\u9759\u6001\u6700\u7ec8\u7c7b\u578b |
|
634 |
|
635 compiler.warn.inexact.non-varargs.call=\ |
|
636 \u6700\u540e\u4e00\u4e2a\u53c2\u6570\u4f7f\u7528\u4e86\u4e0d\u51c6\u786e\u7684\u53d8\u91cf\u7c7b\u578b\u7684 varargs \u65b9\u6cd5\u7684\u975e varargs \u8c03\u7528\uff1b\n\ |
|
637 \u5bf9\u4e8e varargs \u8c03\u7528\uff0c\u5e94\u4f7f\u7528 {0}\n\ |
|
638 \u5bf9\u4e8e\u975e varargs \u8c03\u7528\uff0c\u5e94\u4f7f\u7528 {1}\uff0c\u8fd9\u6837\u4e5f\u53ef\u4ee5\u6291\u5236\u6b64\u8b66\u544a |
|
639 |
|
640 compiler.warn.long.SVUID=\ |
|
641 [serial] \u5728\u7c7b {0} \u4e2d serialVersionUID \u5fc5\u987b\u4e3a\u957f\u6574\u578b |
|
642 |
|
643 compiler.warn.missing.SVUID=\ |
|
644 [serial] \u53ef\u5e8f\u5217\u5316\u7c7b {0} \u4e2d\u6ca1\u6709 serialVersionUID \u7684\u5b9a\u4e49 |
|
645 |
|
646 compiler.warn.override.varargs.missing=\ |
|
647 {0}\uff1b\u88ab\u8986\u76d6\u7684\u65b9\u6cd5\u6ca1\u6709 "..." |
|
648 compiler.warn.override.varargs.extra=\ |
|
649 {0}\uff1b\u8986\u76d6\u7684\u65b9\u6cd5\u7f3a\u5c11 "..." |
|
650 compiler.warn.override.bridge=\ |
|
651 {0}\uff1b\u88ab\u8986\u76d6\u7684\u65b9\u6cd5\u4e3a bridge \u65b9\u6cd5 |
|
652 |
|
653 compiler.warn.pkg-info.already.seen=\ |
|
654 [package-info] \u5df2\u627e\u5230\u8f6f\u4ef6\u5305 {0} \u7684 package-info.java \u6587\u4ef6 |
|
655 compiler.warn.path.element.not.found=\ |
|
656 [path] \u9519\u8bef\u7684\u8def\u5f84\u5143\u7d20 "{0}"\uff1a\u65e0\u6b64\u6587\u4ef6\u6216\u76ee\u5f55 |
|
657 compiler.warn.possible.fall-through.into.case=\ |
|
658 [fallthrough] \u53ef\u80fd\u65e0\u6cd5\u5b9e\u73b0 case |
|
659 |
|
660 compiler.warn.redundant.cast=\ |
|
661 [\u8f6c\u6362] \u5411 {0} \u8f6c\u6362\u51fa\u73b0\u5197\u4f59 |
|
662 |
|
663 compiler.warn.position.overflow=\ |
|
664 \u884c {0} \u5904\u7684\u4f4d\u7f6e\u7f16\u7801\u6ea2\u51fa |
|
665 |
|
666 compiler.warn.big.major.version=\ |
|
667 {0}: \u4e3b\u7248\u672c {1} \u6bd4 {2} \u65b0\uff0c\u6b64\u7f16\u8bd1\u5668\u652f\u6301\u6700\u65b0\u7684\u4e3b\u7248\u672c\u3002\n\ |
|
668 \u5efa\u8bae\u5347\u7ea7\u6b64\u7f16\u8bd1\u5668\u3002 |
|
669 |
|
670 # Warnings related to annotation processing |
|
671 compiler.warn.proc.package.does.not.exist=\ |
|
672 \u8f6f\u4ef6\u5305 {0} \u4e0d\u5b58\u5728 |
|
673 compiler.warn.proc.file.reopening=\ |
|
674 \u5c1d\u8bd5\u591a\u6b21\u4e3a\u201c{0}\u201d\u521b\u5efa\u6587\u4ef6 |
|
675 |
|
676 compiler.warn.proc.type.already.exists=\ |
|
677 \u5177\u6709\u7c7b\u578b''{0}''\u7684\u6587\u4ef6\u5df2\u7ecf\u5b58\u5728\u4e8e\u6e90\u8def\u5f84\u6216\u7c7b\u8def\u5f84\u4e2d |
|
678 |
|
679 compiler.warn.proc.type.recreate=\ |
|
680 \u5c1d\u8bd5\u591a\u6b21\u521b\u5efa\u5177\u6709\u7c7b\u578b\u201c{0}\u201d\u7684\u6587\u4ef6 |
|
681 |
|
682 compiler.warn.proc.illegal.file.name=\ |
|
683 \u65e0\u6cd5\u521b\u5efa\u5e26\u6709\u975e\u6cd5\u540d\u79f0\u201c{0}\u201d\u7684\u6587\u4ef6\u3002 |
|
684 |
|
685 compiler.warn.proc.file.create.last.round=\ |
|
686 \u5c06\u4e0d\u5bf9\u5728\u6700\u540e\u4e00\u4e2a\u5faa\u73af\u4e2d\u521b\u5efa\u7684\u7c7b\u578b\u4e3a\u201c{0}\u201d\u7684\u6587\u4ef6\u8fdb\u884c\u6ce8\u91ca\u5904\u7406\u3002 |
|
687 |
|
688 compiler.warn.proc.malformed.supported.string=\ |
|
689 \u5904\u7406\u7a0b\u5e8f\u201c{1}\u201d\u4e3a\u652f\u6301\u7684\u6ce8\u91ca\u7c7b\u578b\u8fd4\u56de\u4e0d\u89c4\u5219\u7684\u5b57\u7b26\u4e32\u201c{0}\u201d |
|
690 |
|
691 compiler.warn.proc.annotations.without.processors=\ |
|
692 \u6ca1\u6709\u5904\u7406\u7a0b\u5e8f\u8981\u4f7f\u7528\u4ee5\u4e0b\u4efb\u4f55\u6ce8\u91ca: {0} |
|
693 |
|
694 compiler.warn.proc.processor.incompatible.source.version=\ |
|
695 \u6765\u81ea\u6ce8\u91ca\u5904\u7406\u5668"{1}"\u7684\u53d7\u652f\u6301 source \u7248\u672c"{0}"\u4f4e\u4e8e -source"{2}" |
|
696 |
|
697 compiler.warn.proc.proc-only.requested.no.procs=\ |
|
698 \u5728\u672a\u8bf7\u6c42\u7f16\u8bd1\u7684\u60c5\u51b5\u4e0b\u8fdb\u884c\u6ce8\u91ca\u5904\u7406\uff0c\u4f46\u672a\u627e\u5230\u5904\u7406\u7a0b\u5e8f\u3002 |
|
699 |
|
700 compiler.warn.proc.use.implicit=\ |
|
701 \u6ce8\u91ca\u5904\u7406\u4e0d\u9002\u7528\u4e8e\u9690\u5f0f\u7f16\u8bd1\u7684\u6587\u4ef6\u3002\n\ |
|
702 \u4f7f\u7528 -implicit \u6307\u5b9a\u7528\u4e8e\u9690\u5f0f\u7f16\u8bd1\u7684\u7b56\u7565\u3002 |
|
703 |
|
704 compiler.warn.proc.use.proc.or.implicit=\ |
|
705 \u6ce8\u91ca\u5904\u7406\u4e0d\u9002\u7528\u4e8e\u9690\u5f0f\u7f16\u8bd1\u7684\u6587\u4ef6\u3002\n\ |
|
706 \u4f7f\u7528 -proc:none \u7981\u7528\u6ce8\u91ca\u5904\u7406\u6216\u4f7f\u7528 -implicit \u6307\u5b9a\u7528\u4e8e\u9690\u5f0f\u7f16\u8bd1\u7684\u7b56\u7565\u3002 |
|
707 |
|
708 # Print a client-generated warning; assumed to be localized, no translation required |
|
709 compiler.warn.proc.messager=\ |
|
710 {0} |
|
711 |
|
712 compiler.warn.proc.unclosed.type.files=\ |
|
713 \u7c7b\u578b\u4e3a\u201c{0}\u201d\u7684\u6587\u4ef6\u672a\u5173\u95ed\uff1b\u5c06\u4e0d\u9488\u5bf9\u8fd9\u4e9b\u7c7b\u578b\u8fdb\u884c\u6ce8\u91ca\u5904\u7406 |
|
714 |
|
715 compiler.warn.proc.unmatched.processor.options=\ |
|
716 \u4ee5\u4e0b\u9009\u9879\u672a\u88ab\u4efb\u4f55\u5904\u7406\u5668\u8bc6\u522b\uff1a"{0}" |
|
717 |
|
718 compiler.warn.unchecked.assign=\ |
|
719 [unchecked] \u672a\u7ecf\u68c0\u67e5\u7684\u6307\u5b9a\uff1a\u5c06 {0} \u6307\u5b9a\u7ed9 {1} |
|
720 compiler.warn.unchecked.assign.to.var=\ |
|
721 [unchecked] \u5bf9\u4f5c\u4e3a\u666e\u901a\u7c7b\u578b {1} \u7684\u6210\u5458\u7684\u53d8\u91cf {0} \u7684\u6307\u5b9a\u672a\u7ecf\u68c0\u67e5 |
|
722 compiler.warn.unchecked.call.mbr.of.raw.type=\ |
|
723 [unchecked] \u5bf9\u4f5c\u4e3a\u666e\u901a\u7c7b\u578b {1} \u7684\u6210\u5458\u7684 {0} \u7684\u8c03\u7528\u672a\u7ecf\u68c0\u67e5 |
|
724 compiler.warn.unchecked.cast.to.type=\ |
|
725 [unchecked] \u5bf9\u7c7b\u578b {0} \u7684\u4f7f\u7528\u672a\u7ecf\u68c0\u67e5 |
|
726 compiler.warn.unchecked.meth.invocation.applied=\ |
|
727 [unchecked] \u65b9\u6cd5\u8c03\u7528\u672a\u7ecf\u68c0\u67e5\uff1a{1} \u4e2d\u7684 {0} \u88ab\u5e94\u7528\u4e8e {2}({3}) |
|
728 compiler.warn.unchecked.generic.array.creation=\ |
|
729 [unchecked] \u5bf9\u4e8e varargs \u53c2\u6570\uff0c\u7c7b\u578b {0} \u7684\u6cdb\u578b\u6570\u7ec4\u521b\u5efa\u672a\u7ecf\u68c0\u67e5 |
|
730 |
|
731 compiler.warn.missing.deprecated.annotation=\ |
|
732 [dep-ann] \u672a\u4f7f\u7528 @Deprecated \u5bf9\u5df2\u8fc7\u65f6\u7684\u9879\u76ee\u8fdb\u884c\u6ce8\u91ca |
|
733 |
|
734 compiler.warn.invalid.archive.file=\ |
|
735 [path] \u4ee5\u4e0b\u8def\u5f84\u4e2d\u5b58\u5728\u610f\u5916\u7684\u6587\u4ef6: {0} |
|
736 |
|
737 compiler.warn.unexpected.archive.file=\ |
|
738 [path] \u4ee5\u4e0b\u5f52\u6863\u6587\u4ef6\u5b58\u5728\u610f\u5916\u7684\u6269\u5c55\u540d: {0} |
|
739 |
|
740 compiler.warn.div.zero=\ |
|
741 [divzero] \u9664\u6570\u4e3a\u96f6 |
|
742 |
|
743 compiler.warn.empty.if=\ |
|
744 [\u7a7a] if \u4e4b\u540e\u6ca1\u6709\u8bed\u53e5 |
|
745 |
|
746 compiler.warn.annotation.method.not.found=\ |
|
747 \u65e0\u6cd5\u627e\u5230\u7c7b\u578b\u4e3a\u201c{0}\u201d\u7684\u6ce8\u91ca\u65b9\u6cd5\u201c{1}()\u201d |
|
748 |
|
749 compiler.warn.annotation.method.not.found.reason=\ |
|
750 \u65e0\u6cd5\u627e\u5230\u7c7b\u578b\u4e3a\u201c{0}\u201d\u7684\u6ce8\u91ca\u65b9\u6cd5\u201c{1}()\u201d: {2} |
|
751 |
|
752 ##### |
|
753 |
|
754 ## The following are tokens which are non-terminals in the language. They should |
|
755 ## be named as JLS3 calls them when translated to the appropriate language. |
|
756 compiler.misc.token.identifier=\ |
|
757 <\u6807\u8bc6\u7b26> |
|
758 compiler.misc.token.character=\ |
|
759 <\u5b57\u7b26> |
|
760 compiler.misc.token.string=\ |
|
761 <\u5b57\u7b26\u4e32> |
|
762 compiler.misc.token.integer=\ |
|
763 <\u6574\u578b> |
|
764 compiler.misc.token.long-integer=\ |
|
765 <\u957f\u6574\u578b> |
|
766 compiler.misc.token.float=\ |
|
767 <\u6d6e\u70b9\u578b> |
|
768 compiler.misc.token.double=\ |
|
769 <\u53cc\u7cbe\u5ea6\u578b> |
|
770 compiler.misc.token.bad-symbol=\ |
|
771 <\u9519\u8bef\u7b26\u53f7> |
|
772 compiler.misc.token.end-of-input=\ |
|
773 <\u8f93\u5165\u7ed3\u675f> |
|
774 |
|
775 ## The argument to the following string will always be one of the following: |
|
776 ## 1. one of the above non-terminals |
|
777 ## 2. a keyword (JLS1.8) |
|
778 ## 3. a boolean literal (JLS3.10.3) |
|
779 ## 4. the null literal (JLS3.10.7) |
|
780 ## 5. a Java separator (JLS3.11) |
|
781 ## 6. an operator (JLS3.12) |
|
782 ## |
|
783 ## This is the only place these tokens will be used. |
|
784 compiler.err.expected=\ |
|
785 \u9700\u8981 {0} |
|
786 compiler.err.expected2=\ |
|
787 \u9700\u8981\u4e3a {0} \u6216 {1} |
|
788 compiler.err.expected3=\ |
|
789 \u9700\u8981\u4e3a {0}\u3001{1} \u6216 {2} |
|
790 |
|
791 compiler.err.premature.eof=\ |
|
792 \u8fdb\u884c\u8bed\u6cd5\u89e3\u6790\u65f6\u5df2\u5230\u8fbe\u6587\u4ef6\u7ed3\u5c3e |
|
793 |
|
794 ## The following are related in form, but do not easily fit the above paradigm. |
|
795 compiler.err.dot.class.expected=\ |
|
796 \u9700\u8981 ".class" |
|
797 |
|
798 ## The argument to this string will always be either 'case' or 'default'. |
|
799 compiler.err.orphaned=\ |
|
800 \u5355\u4e2a {0}\uff1a |
|
801 |
|
802 compiler.misc.anonymous.class=\ |
|
803 <\u533f\u540d {0}> |
|
804 |
|
805 ##### |
|
806 |
|
807 compiler.err.cant.access=\ |
|
808 \u65e0\u6cd5\u8bbf\u95ee {0}\n\ |
|
809 {1} |
|
810 |
|
811 compiler.misc.bad.class.file.header=\ |
|
812 \u9519\u8bef\u7684\u7c7b\u6587\u4ef6\uff1a {0}\n\ |
|
813 {1}\n\ |
|
814 \u8bf7\u5220\u9664\u8be5\u6587\u4ef6\u6216\u786e\u4fdd\u8be5\u6587\u4ef6\u4f4d\u4e8e\u6b63\u786e\u7684\u7c7b\u8def\u5f84\u5b50\u76ee\u5f55\u4e2d\u3002 |
|
815 |
|
816 ## The following are all possible strings for the second argument ({1}) of the |
|
817 ## above strings. |
|
818 compiler.misc.bad.class.signature=\ |
|
819 \u9519\u8bef\u7684\u7c7b\u7b7e\u540d\uff1a {0} |
|
820 compiler.misc.bad.enclosing.method=\ |
|
821 \u95ed\u5408\u65b9\u6cd5\u5c5e\u6027 {0} \u65f6\u51fa\u9519 |
|
822 compiler.misc.bad.runtime.invisible.param.annotations=\ |
|
823 RuntimeInvisibleParameterAnnotations \u5c5e\u6027\u9519\u8bef: {0} |
|
824 compiler.misc.bad.const.pool.tag=\ |
|
825 \u9519\u8bef\u7684\u5e38\u91cf\u6c60\u6807\u8bb0\uff1a {0} |
|
826 compiler.misc.bad.const.pool.tag.at=\ |
|
827 \u9519\u8bef\u7684\u5e38\u91cf\u6c60\u6807\u8bb0\uff1a{0}\uff0c\u4f4d\u4e8e {1} |
|
828 compiler.misc.bad.signature=\ |
|
829 \u9519\u8bef\u7684\u7b7e\u540d\uff1a {0} |
|
830 compiler.misc.class.file.wrong.class=\ |
|
831 \u7c7b\u6587\u4ef6\u5305\u542b\u9519\u8bef\u7684\u7c7b\uff1a {0} |
|
832 compiler.misc.class.file.not.found=\ |
|
833 \u672a\u627e\u5230 {0} \u7684\u7c7b\u6587\u4ef6 |
|
834 compiler.misc.file.doesnt.contain.class=\ |
|
835 \u6587\u4ef6\u4e0d\u5305\u542b\u7c7b {0} |
|
836 compiler.misc.file.does.not.contain.package=\ |
|
837 \u6587\u4ef6\u4e0d\u5305\u542b\u8f6f\u4ef6\u5305 {0} |
|
838 compiler.misc.illegal.start.of.class.file=\ |
|
839 \u975e\u6cd5\u7684\u7c7b\u6587\u4ef6\u5f00\u59cb |
|
840 compiler.misc.unable.to.access.file=\ |
|
841 \u65e0\u6cd5\u8bbf\u95ee\u6587\u4ef6\uff1a {0} |
|
842 compiler.misc.unicode.str.not.supported=\ |
|
843 \u4e0d\u652f\u6301\u7c7b\u6587\u4ef6\u4e2d\u7684 Unicode \u5b57\u7b26\u4e32 |
|
844 compiler.misc.undecl.type.var=\ |
|
845 \u672a\u58f0\u660e\u7684\u7c7b\u578b\u53d8\u91cf\uff1a {0} |
|
846 compiler.misc.wrong.version=\ |
|
847 \u7c7b\u6587\u4ef6\u5177\u6709\u9519\u8bef\u7684\u7248\u672c {0}.{1}\uff0c\u5e94\u4e3a {2}.{3} |
|
848 |
|
849 ##### |
|
850 |
|
851 compiler.err.not.within.bounds=\ |
|
852 \u7c7b\u578b\u53c2\u6570 {0} \u4e0d\u5728\u5176\u9650\u5236\u8303\u56f4\u4e4b\u5185 |
|
853 |
|
854 compiler.err.not.within.bounds.explain=\ |
|
855 \u7c7b\u578b\u53c2\u6570 {0} \u4e0d\u5728\u5176\u9650\u5236\u8303\u56f4\u4e4b\u5185\uff1b{1} |
|
856 |
|
857 ## The following are all possible strings for the second argument ({1}) of the |
|
858 ## above string. |
|
859 |
|
860 ## none yet... |
|
861 |
|
862 ##### |
|
863 |
|
864 compiler.err.prob.found.req=\ |
|
865 {0}\n\ |
|
866 \u627e\u5230\uff1a {1}\n\ |
|
867 \u9700\u8981\uff1a {2} |
|
868 compiler.warn.prob.found.req=\ |
|
869 {0}\n\ |
|
870 \u627e\u5230\uff1a {1}\n\ |
|
871 \u9700\u8981\uff1a {2} |
|
872 compiler.err.prob.found.req.1=\ |
|
873 {0} {3}\n\ |
|
874 \u627e\u5230\uff1a {1}\n\ |
|
875 \u9700\u8981\uff1a {2} |
|
876 |
|
877 ## The following are all possible strings for the first argument ({0}) of the |
|
878 ## above strings. |
|
879 compiler.misc.incompatible.types=\ |
|
880 \u4e0d\u517c\u5bb9\u7684\u7c7b\u578b |
|
881 compiler.misc.incompatible.types.1=\ |
|
882 \u4e0d\u517c\u5bb9\u7684\u7c7b\u578b\uff1b{0} |
|
883 compiler.misc.inconvertible.types=\ |
|
884 \u4e0d\u53ef\u8f6c\u6362\u7684\u7c7b\u578b |
|
885 compiler.misc.possible.loss.of.precision=\ |
|
886 \u53ef\u80fd\u635f\u5931\u7cbe\u5ea6 |
|
887 |
|
888 compiler.misc.unchecked.assign=\ |
|
889 [unchecked] \u672a\u7ecf\u68c0\u67e5\u7684\u8f6c\u6362 |
|
890 # compiler.misc.storecheck=\ |
|
891 # [unchecked] assignment might cause later store checks to fail |
|
892 # compiler.misc.unchecked=\ |
|
893 # [unchecked] assigned array cannot dynamically check its stores |
|
894 compiler.misc.unchecked.cast.to.type=\ |
|
895 [unchecked] \u672a\u7ecf\u68c0\u67e5\u7684\u7c7b\u578b\u4f7f\u7528 |
|
896 |
|
897 compiler.misc.assignment.from.super-bound=\ |
|
898 \u4ece super-bound \u7c7b\u578b {0} \u6307\u5b9a |
|
899 compiler.misc.assignment.to.extends-bound=\ |
|
900 \u5bf9 extends-bound \u7c7b\u578b {0} \u8fdb\u884c\u6307\u5b9a |
|
901 # compiler.err.star.expected=\ |
|
902 # ''*'' expected |
|
903 # compiler.err.no.elem.type=\ |
|
904 # \[\*\] cannot have a type |
|
905 |
|
906 ##### |
|
907 |
|
908 compiler.err.type.found.req=\ |
|
909 \u610f\u5916\u7684\u7c7b\u578b\n\ |
|
910 \u627e\u5230\uff1a {0}\n\ |
|
911 \u9700\u8981\uff1a {1} |
|
912 |
|
913 ## The following are all possible strings for the first argument ({0}) of the |
|
914 ## above string. |
|
915 compiler.misc.type.req.class=\ |
|
916 \u7c7b |
|
917 compiler.misc.type.req.class.array=\ |
|
918 \u7c7b\u6216\u6570\u7ec4 |
|
919 compiler.misc.type.req.ref=\ |
|
920 \u5f15\u7528 |
|
921 compiler.misc.type.req.exact=\ |
|
922 \u4e0d\u5e26\u9650\u5236\u8303\u56f4\u7684\u7c7b\u6216\u63a5\u53e3 |
|
923 compiler.misc.type.parameter=\ |
|
924 \u7c7b\u578b\u53c2\u6570 {0} |
|
925 |
|
926 ##### |
|
927 |
|
928 ## The following are all possible strings for the last argument of all those |
|
929 ## diagnostics whose key ends in ".1" |
|
930 compiler.misc.undetermined.type=\ |
|
931 \u672a\u786e\u5b9a\u7684\u7c7b\u578b |
|
932 ncompiler.misc.type.variable.has.undetermined.type=\ |
|
933 \u7c7b\u578b\u53d8\u91cf {0} \u5e26\u6709\u672a\u786e\u5b9a\u7684\u7c7b\u578b |
|
934 compiler.misc.no.unique.maximal.instance.exists=\ |
|
935 \u5bf9\u4e8e\u4e0a\u9650\u4e3a {1} \u7684\u7c7b\u578b\u53d8\u91cf {0}\uff0c\u4e0d\u5b58\u5728\u552f\u4e00\u6700\u5927\u5b9e\u4f8b |
|
936 compiler.misc.no.unique.minimal.instance.exists=\ |
|
937 \u5bf9\u4e8e\u4e0b\u9650\u4e3a {1} \u7684\u7c7b\u578b\u53d8\u91cf {0}\uff0c\u4e0d\u5b58\u5728\u552f\u4e00\u6700\u5c0f\u5b9e\u4f8b |
|
938 compiler.misc.no.conforming.instance.exists=\ |
|
939 \u4e0d\u5b58\u5728\u7c7b\u578b\u53d8\u91cf {0} \u7684\u5b9e\u4f8b\uff0c\u4ee5\u4f7f {1} \u4e0e {2} \u4e00\u81f4 |
|
940 compiler.misc.no.conforming.assignment.exists=\ |
|
941 \u4e0d\u5b58\u5728\u7c7b\u578b\u53d8\u91cf {0} \u7684\u5b9e\u4f8b\uff0c\u4ee5\u4f7f\u53c2\u6570\u7c7b\u578b {1} \u4e0e\u5f62\u5f0f\u53c2\u6570\u7c7b\u578b {2} \u4e00\u81f4 |
|
942 compiler.misc.arg.length.mismatch=\ |
|
943 \u65e0\u6cd5\u4ece\u53c2\u6570\u8fdb\u884c\u5b9e\u4f8b\u5316\uff0c\u56e0\u4e3a\u5b9e\u9645\u53c2\u6570\u5217\u8868\u548c\u5f62\u5f0f\u53c2\u6570\u5217\u8868\u957f\u5ea6\u4e0d\u540c |
|
944 compiler.misc.inferred.do.not.conform.to.bounds=\ |
|
945 \u63a8\u7406\u7c7b\u578b\u53c2\u6570 {0} \u4e0d\u7b26\u5408\u7c7b\u578b\u53d8\u91cf {1} \u7684\u9650\u5236\u8303\u56f4 |
|
946 |
|
947 ##### |
|
948 |
|
949 ## The first argument ({0}) is a "kindname". |
|
950 compiler.err.abstract.cant.be.accessed.directly=\ |
|
951 \u65e0\u6cd5\u76f4\u63a5\u8bbf\u95ee {2} \u4e2d\u7684\u62bd\u8c61 {0} {1} |
|
952 |
|
953 ## The first argument ({0}) is a "kindname". |
|
954 compiler.err.non-static.cant.be.ref=\ |
|
955 \u65e0\u6cd5\u4ece\u9759\u6001\u4e0a\u4e0b\u6587\u4e2d\u5f15\u7528\u975e\u9759\u6001 {0} {1} |
|
956 |
|
957 ## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list |
|
958 ## of kindnames (the list should be identical to that provided in source. |
|
959 compiler.err.unexpected.type=\ |
|
960 \u610f\u5916\u7684\u7c7b\u578b\n\ |
|
961 \u9700\u8981\uff1a {0}\n\ |
|
962 \u627e\u5230\uff1a {1} |
|
963 |
|
964 ## The first argument ({0}) is a "kindname". |
|
965 compiler.err.cant.resolve=\ |
|
966 \u627e\u4e0d\u5230\u7b26\u53f7\n\ |
|
967 \u7b26\u53f7\uff1a {0} {3}{1}{2} |
|
968 |
|
969 ## The first argument ({0}) and fifth argument ({4}) are "kindname"s. |
|
970 compiler.err.cant.resolve.location=\ |
|
971 \u627e\u4e0d\u5230\u7b26\u53f7\n\ |
|
972 \u7b26\u53f7\uff1a {0} {3}{1}{2}\n\ |
|
973 \u4f4d\u7f6e\uff1a {4} {5} |
|
974 |
|
975 ## The following are all possible string for "kindname". |
|
976 ## They should be called whatever the JLS calls them after it been translated |
|
977 ## to the appropriate language. |
|
978 # compiler.misc.kindname.constructor=\ |
|
979 # static member |
|
980 compiler.misc.kindname.annotation=\ |
|
981 @interface |
|
982 compiler.misc.kindname.constructor=\ |
|
983 \u6784\u9020\u51fd\u6570 |
|
984 compiler.misc.kindname.interface=\ |
|
985 \u63a5\u53e3 |
|
986 compiler.misc.kindname.static=\ |
|
987 \u9759\u6001 |
|
988 compiler.misc.kindname.type.variable=\ |
|
989 \u7c7b\u578b\u53d8\u91cf\u7684\u9650\u5236\u8303\u56f4 |
|
990 compiler.misc.kindname=\ |
|
991 \u6807\u8bc6\u7b26 ({0}) |
|
992 compiler.misc.kindname.variable=\ |
|
993 \u53d8\u91cf |
|
994 compiler.misc.kindname.value=\ |
|
995 \u503c |
|
996 compiler.misc.kindname.method=\ |
|
997 \u65b9\u6cd5 |
|
998 compiler.misc.kindname.variable.method=\ |
|
999 \u53d8\u91cf\u3001\u65b9\u6cd5 |
|
1000 compiler.misc.kindname.value.method=\ |
|
1001 \u503c\u3001\u65b9\u6cd5 |
|
1002 compiler.misc.kindname.class=\ |
|
1003 \u7c7b |
|
1004 compiler.misc.kindname.variable.class=\ |
|
1005 \u53d8\u91cf\u3001\u7c7b |
|
1006 compiler.misc.kindname.value.class=\ |
|
1007 \u503c\u3001\u7c7b |
|
1008 compiler.misc.kindname.method.class=\ |
|
1009 \u65b9\u6cd5\u3001\u7c7b |
|
1010 compiler.misc.kindname.variable.method.class=\ |
|
1011 \u53d8\u91cf\u3001\u65b9\u6cd5\u3001\u7c7b |
|
1012 compiler.misc.kindname.value.method.class=\ |
|
1013 \u503c\u3001\u65b9\u6cd5\u3001\u7c7b |
|
1014 compiler.misc.kindname.package=\ |
|
1015 \u8f6f\u4ef6\u5305 |
|
1016 compiler.misc.kindname.variable.package=\ |
|
1017 \u53d8\u91cf\u3001\u8f6f\u4ef6\u5305 |
|
1018 compiler.misc.kindname.value.package=\ |
|
1019 \u503c\u3001\u8f6f\u4ef6\u5305 |
|
1020 compiler.misc.kindname.method.package=\ |
|
1021 \u65b9\u6cd5\u3001\u8f6f\u4ef6\u5305 |
|
1022 compiler.misc.kindname.variable.method.package=\ |
|
1023 \u53d8\u91cf\u3001\u65b9\u6cd5\u3001\u8f6f\u4ef6\u5305 |
|
1024 compiler.misc.kindname.value.method.package=\ |
|
1025 \u503c\u3001\u65b9\u6cd5\u3001\u8f6f\u4ef6\u5305 |
|
1026 compiler.misc.kindname.class.package=\ |
|
1027 \u7c7b\u3001\u8f6f\u4ef6\u5305 |
|
1028 compiler.misc.kindname.variable.class.package=\ |
|
1029 \u53d8\u91cf\u3001\u7c7b\u3001\u8f6f\u4ef6\u5305 |
|
1030 compiler.misc.kindname.value.class.package=\ |
|
1031 \u503c\u3001\u7c7b\u3001\u8f6f\u4ef6\u5305 |
|
1032 compiler.misc.kindname.method.class.package=\ |
|
1033 \u65b9\u6cd5\u3001\u7c7b\u3001\u8f6f\u4ef6\u5305 |
|
1034 compiler.misc.kindname.variable.method.class.package=\ |
|
1035 \u53d8\u91cf\u3001\u65b9\u6cd5\u3001\u7c7b\u3001\u8f6f\u4ef6\u5305 |
|
1036 compiler.misc.kindname.value.method.class.package=\ |
|
1037 \u503c\u3001\u65b9\u6cd5\u3001\u7c7b\u3001\u8f6f\u4ef6\u5305 |
|
1038 |
|
1039 ##### |
|
1040 |
|
1041 compiler.err.override.static=\ |
|
1042 {0}\uff1b\u8986\u76d6\u7684\u65b9\u6cd5\u4e3a\u9759\u6001 |
|
1043 compiler.err.override.meth=\ |
|
1044 {0}\uff1b\u88ab\u8986\u76d6\u7684\u65b9\u6cd5\u4e3a {1} |
|
1045 |
|
1046 compiler.err.override.meth.doesnt.throw=\ |
|
1047 {0}\uff1b\u88ab\u8986\u76d6\u7684\u65b9\u6cd5\u4e0d\u629b\u51fa {1} |
|
1048 |
|
1049 # In the following string {1} is a space separated list of Java Keywords, as |
|
1050 # they would have been declared in the source code |
|
1051 compiler.err.override.weaker.access=\ |
|
1052 {0}\uff1b\u6b63\u5728\u5c1d\u8bd5\u6307\u5b9a\u66f4\u4f4e\u7684\u8bbf\u95ee\u6743\u9650\uff1b\u4e3a {1} |
|
1053 |
|
1054 compiler.misc.override.incompatible.ret=\ |
|
1055 {0}\uff1b\u6b63\u5728\u5c1d\u8bd5\u4f7f\u7528\u4e0d\u517c\u5bb9\u7684\u8fd4\u56de\u7c7b\u578b |
|
1056 |
|
1057 compiler.misc.override.unchecked.ret=\ |
|
1058 {0}\uff1b\u8fd4\u56de\u7c7b\u578b\u9700\u8981\u672a\u7ecf\u68c0\u67e5\u7684\u8f6c\u6362 |
|
1059 |
|
1060 ## The following are all possible strings for the first argument ({0}) of the |
|
1061 ## above strings. |
|
1062 compiler.misc.cant.override=\ |
|
1063 {1} \u4e2d\u7684 {0} \u65e0\u6cd5\u8986\u76d6 {3} \u4e2d\u7684 {2} |
|
1064 compiler.misc.cant.implement=\ |
|
1065 {1} \u4e2d\u7684 {0} \u65e0\u6cd5\u5b9e\u73b0 {3} \u4e2d\u7684 {2} |
|
1066 compiler.misc.clashes.with=\ |
|
1067 {1} \u4e2d\u7684 {0} \u4e0e {3} \u4e2d\u7684 {2} \u51b2\u7a81 |
|
1068 compiler.misc.unchecked.override=\ |
|
1069 {1} \u4e2d\u7684 {0} \u8986\u76d6\u4e86 {3} \u4e2d\u7684 {2} |
|
1070 compiler.misc.unchecked.implement=\ |
|
1071 {1} \u4e2d\u7684 {0} \u5b9e\u73b0\u4e86 {3} \u4e2d\u7684 {2} |
|
1072 compiler.misc.unchecked.clash.with=\ |
|
1073 {1} \u4e2d\u7684 {0} \u8986\u76d6\u4e86 {3} \u4e2d\u7684 {2} |
|
1074 compiler.misc.varargs.override=\ |
|
1075 {1} \u4e2d\u7684 {0} \u8986\u76d6\u4e86 {3} \u4e2d\u7684 {2} |
|
1076 compiler.misc.varargs.implement=\ |
|
1077 {1} \u4e2d\u7684 {0} \u5b9e\u73b0\u4e86 {3} \u4e2d\u7684 {2} |
|
1078 compiler.misc.varargs.clash.with=\ |
|
1079 {1} \u4e2d\u7684 {0} \u8986\u76d6\u4e86 {3} \u4e2d\u7684 {2} |
|
1080 |
|
1081 ######################################## |
|
1082 # Diagnostics for language feature changes |
|
1083 ######################################## |
|
1084 compiler.err.unsupported.fp.lit=\ |
|
1085 \u5728 -source 5 \u4e4b\u524d\uff0c\u4e0d\u652f\u6301\u5341\u516d\u8fdb\u5236\u6d6e\u70b9\u5b57\u9762\u503c |
|
1086 |
|
1087 compiler.warn.enum.as.identifier=\ |
|
1088 \u4ece\u53d1\u884c\u7248 5 \u5f00\u59cb\uff0c"enum" \u4e3a\u5173\u952e\u5b57\uff0c\u800c\u4e0d\u7528\u4f5c\u6807\u8bc6\u7b26\n\ |
|
1089 \uff08\u8bf7\u4f7f\u7528 -source 5 \u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u5c06 "enum"' \u7528\u4f5c\u5173\u952e\u5b57\uff09 |
|
1090 |
|
1091 compiler.warn.assert.as.identifier=\ |
|
1092 \u4ece\u7248\u672c 1.4 \u5f00\u59cb\uff0c''assert'' \u662f\u4e00\u4e2a\u5173\u952e\u5b57\uff0c\u4f46\u4e0d\u80fd\u7528\u4f5c\u6807\u8bc6\u7b26\n\ |
|
1093 \uff08\u8bf7\u4f7f\u7528 -source 1.4 \u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u4fbf\u5c06 ''assert'' \u7528\u4f5c\u5173\u952e\u5b57\uff09 |
|
1094 |
|
1095 compiler.err.enum.as.identifier=\ |
|
1096 \u4ece\u53d1\u884c\u7248 5 \u5f00\u59cb\uff0c"enum" \u4e3a\u5173\u952e\u5b57\uff0c\u800c\u4e0d\u7528\u4f5c\u6807\u8bc6\u7b26\n\ |
|
1097 \uff08\u8bf7\u4f7f\u7528 -source 1.4 \u6216\u66f4\u4f4e\u7248\u672c\u4ee5\u5c06 "enum" \u7528\u4f5c\u6807\u8bc6\u7b26\uff09 |
|
1098 |
|
1099 compiler.err.assert.as.identifier=\ |
|
1100 \u4ece\u7248\u672c 1.4 \u5f00\u59cb\uff0c''assert'' \u662f\u4e00\u4e2a\u5173\u952e\u5b57\uff0c\u4f46\u4e0d\u80fd\u7528\u4f5c\u6807\u8bc6\u7b26\n\ |
|
1101 \uff08\u8bf7\u4f7f\u7528 -source 1.3 \u6216\u66f4\u4f4e\u7248\u672c\u4ee5\u4fbf\u5c06 ''assert'' \u7528\u4f5c\u6807\u8bc6\u7b26\uff09 |
|
1102 |
|
1103 compiler.err.generics.not.supported.in.source=\ |
|
1104 -source {0} \u4e2d\u4e0d\u652f\u6301\u6cdb\u578b\n\ |
|
1105 \uff08\u8bf7\u4f7f\u7528 -source 5 \u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u542f\u7528\u6cdb\u578b\uff09 |
|
1106 |
|
1107 compiler.err.varargs.not.supported.in.source=\ |
|
1108 -source {0} \u4e2d\u4e0d\u652f\u6301 variable-arity \u65b9\u6cd5\n\ |
|
1109 \uff08\u8bf7\u4f7f\u7528 -source 5 \u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u542f\u7528 variable-arity \u65b9\u6cd5\uff09 |
|
1110 |
|
1111 compiler.err.annotations.not.supported.in.source=\ |
|
1112 -source {0} \u4e2d\u4e0d\u652f\u6301\u6ce8\u91ca\n\ |
|
1113 \uff08\u8bf7\u4f7f\u7528 -source 5 \u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u542f\u7528\u6ce8\u91ca\uff09 |
|
1114 |
|
1115 compiler.err.foreach.not.supported.in.source=\ |
|
1116 -source {0} \u4e2d\u4e0d\u652f\u6301 for-each \u5faa\u73af\n\ |
|
1117 \uff08\u8bf7\u4f7f\u7528 -source 5 \u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u542f\u7528 for-each \u5faa\u73af\uff09 |
|
1118 |
|
1119 compiler.err.static.import.not.supported.in.source=\ |
|
1120 -source {0} \u4e2d\u4e0d\u652f\u6301\u9759\u6001\u5bfc\u5165\u58f0\u660e\n\ |
|
1121 \uff08\u8bf7\u4f7f\u7528 -source 5 \u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u542f\u7528\u9759\u6001\u5bfc\u5165\u58f0\u660e\uff09 |
|
1122 |
|
1123 compiler.err.enums.not.supported.in.source=\ |
|
1124 -source {0} \u4e2d\u4e0d\u652f\u6301\u679a\u4e3e\n\ |
|
1125 \uff08\u8bf7\u4f7f\u7528 -source 5 \u6216\u66f4\u9ad8\u7248\u672c\u4ee5\u542f\u7528\u679a\u4e3e\uff09 |