javac.properties revision 12026:1dab21cbe54d
1#
2# Copyright (c) 1996, 2011, Oracle and/or its affiliates. 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.  Oracle designates this
8# particular file as subject to the "Classpath" exception as provided
9# by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22# or visit www.oracle.com if you need additional information or have any
23# questions.
24#
25
26javac.err.internal=\
27	Internal error.
28javac.err.eof.in.comment=\
29	Comment not terminated at end of input.
30javac.err.eof.in.string=\
31	String not terminated at end of input.
32javac.err.newline.in.string=\
33	String not terminated at end of line.
34javac.err.invalid.char.constant=\
35	Invalid character constant.
36javac.err.unbalanced.paren=\
37	Unbalanced parentheses.
38javac.err.invalid.escape.char=\
39	Invalid escape character.
40javac.err.invalid.hex.number=\
41	Hexadecimal numbers must contain at least one hexadecimal digit.
42javac.err.invalid.octal.number=\
43	Invalid character in octal number.
44javac.err.invalid.number=\
45	Invalid character in number.
46javac.err.funny.char=\
47	Invalid character in input.
48javac.err.float.format=\
49	Invalid floating point format.
50javac.err.overflow.int.oct=\
51	Integer literal out of range.  Octal int literals must be in \
52	the range 00 to 037777777777.
53javac.err.overflow.int.dec=\
54	Integer literal out of range.  Decimal int literals must be in \
55	the range -2147483648 to 2147483647.
56javac.err.overflow.int.hex=\
57	Integer literal out of range.  Hexadecimal int literals must be in \
58	the range 0x0 to 0xffffffff.
59javac.err.overflow.long.oct=\
60	Integer literal out of range.  Octal long literals must be in \
61	the range 00L to 01777777777777777777777L.
62javac.err.overflow.long.dec=\
63	Integer literal out of range.  Decimal long literals must be in \
64	the range -9223372036854775808L to 9223372036854775807L.
65javac.err.overflow.long.hex=\
66	Integer literal out of range.  Hexadecimal long literals must be in \
67	the range 0x0L to 0xffffffffffffffffL.
68javac.err.overflow.float=\
69	Numeric overflow: float literal too large.
70javac.err.overflow.double=\
71	Numeric overflow: double literal too large.
72javac.err.underflow.float=\
73	Numeric underflow: float literal too small.
74javac.err.underflow.double=\
75	Numeric underflow: double literal too small.
76javac.err.token.expected=\
77	''{0}'' expected.
78javac.err.statement.expected=\
79	Statement expected.
80javac.err.type.expected=\
81	Type expected.
82javac.err.identifier.expected=\
83	Identifier expected.
84javac.err.class.expected=\
85	''class'' or ''interface'' keyword expected.
86javac.err.toplevel.expected=\
87	Class or interface declaration expected.
88javac.err.missing.term=\
89	Missing term.
90javac.err.assign.in.conditionalexpr=\
91	Assignment expressions are not permitted as the third subexpression \
92	of a conditional expression (that is, a ? : expression).  \
93	Try parenthesizing this assignment expression.
94javac.err.else.without.if=\
95	''else'' without ''if''.
96javac.err.catch.without.try=\
97	''catch'' without ''try''.
98javac.err.finally.without.try=\
99	''finally'' without ''try''.
100javac.err.try.without.catch.finally=\
101	''try'' without ''catch'' or ''finally''.
102javac.err.case.without.switch=\
103	''case'' outside switch statement.
104javac.err.default.without.switch=\
105	''default'' outside switch statement.
106javac.err.io.exception=\
107	I/O error in {0}.
108javac.err.io.exception.package=\
109	I/O error while checking for existence of package {0}.
110javac.err.malformed.attribute=\
111	The class file containing {0} has a malformed ''{1}'' attribute.
112javac.err.array.index.required=\
113	Array index required.
114javac.err.not.array=\
115	[] can only be applied to arrays. It can''t be applied to {0}.
116javac.err.array.dim.in.decl=\
117	Can''t specify array dimension in a declaration.
118javac.err.array.dim.in.type=\
119	Can''t specify array dimension in a type expression.
120javac.err.invalid.array.expr=\
121	Array constants can only be used in initializers.
122javac.err.invalid.array.init=\
123	Invalid initializer for type {0}.
124javac.err.invalid.lhs.assignment=\
125	Invalid left hand side of assignment.
126javac.err.invalid.args=\
127	Invalid arguments to {0}.
128javac.err.invalid.cast=\
129	Invalid cast from {0} to {1}.
130javac.err.invalid.instanceof=\
131	Impossible for {0} to be instance of {1}.
132javac.err.invalid.type.expr=\
133	Invalid type expression.
134javac.err.anonymous.extends=\
135	Only named classes can have ''extends'' or ''implements'' clauses.
136javac.err.invalid.field.reference=\
137	Attempt to reference field {0} in a {1}.
138javac.err.no.such.field=\
139	No variable {0} defined in {1}.
140javac.err.no.field.access=\
141	Variable {0} in {1} not accessible from {2}.
142javac.err.no.type.access=\
143	Inner type {0} in {1} not accessible from {2}.
144javac.err.cant.access.member.type=\
145	The type {1} to which the member {0} belongs is not accessible from {2}.
146javac.err.inner.class.expected=\
147	No inner class {0} found in {1}.
148javac.err.no.static.field.access=\
149	Can''t make a static reference to nonstatic variable {0} in {1}.
150javac.err.inner.static.ref=\
151	Can''t make a static reference to inner class {0}.
152javac.err.ambig.field=\
153	Reference to {0} is ambiguous. It is defined in {1} and {2}.
154javac.err.invalid.field=\
155	Attempt to reference method {0} in {1} as an instance variable.
156javac.err.assign.to.final=\
157	Can''t assign a value to a final variable: {0}
158javac.err.assign.to.blank.final=\
159	Can''t assign a second value to a blank final variable: {0}
160javac.err.qualified.static.final.assign=\
161	The variable in an assignment to a static blank final must be a simple name (it may not follow a dot ''.'').
162javac.err.bad.qualified.final.assign=\
163	The variable in an assignment to a blank final must be a simple name or a simple name qualified by ''this'': ''{0}'' or ''this.{0}''.
164javac.err.assign.to.blank.final.in.loop=\
165	Attempt to assign a blank final variable {0} in a loop. The initialization must occur exactly once.
166javac.err.assign.to.uplevel=\
167	Attempt to assign to a variable {0} in a different method. From enclosing blocks, only final local variables are available.
168javac.err.invalid.uplevel=\
169	Attempt to use a non-final variable {0} from a different method. From enclosing blocks, only final local variables are available.
170javac.err.undef.var=\
171	Undefined variable: {0}
172javac.err.undef.var.super=\
173	Undefined variable: {0}.  The "super" keyword may only be used for member access and constructor invocation.
174javac.err.undef.var.or.package=\
175	Undefined variable or package name: {0}
176javac.err.undef.class.or.package=\
177	Undefined class or package name: {0}
178javac.err.undef.var.class.or.package=\
179	Undefined variable, class, or package name: {0}
180javac.err.undef.class=\
181	Undefined class name: {0}
182javac.err.undef.var.or.class=\
183	Undefined variable or class name: {0}
184javac.err.var.not.initialized=\
185	Variable {0} may not have been initialized.
186javac.err.final.var.not.initialized=\
187	Blank final variable ''{0}'' may not have been initialized. It must be assigned a value in an initializer, or in every constructor.
188javac.err.access.inst.before.super=\
189	Can''t reference {0} before the superclass constructor has been called.
190javac.err.ambig.class=\
191	Ambiguous class: {0} and {1}
192javac.err.invalid.arg=\
193	Invalid argument to {0}.
194javac.err.invalid.arg.type=\
195	Invalid argument type {0} for {1}.
196javac.err.invalid.length=\
197	''length'' applied to {0}, which is not an array.
198javac.err.invalid.constr.invoke=\
199	Only constructors can invoke constructors.
200javac.err.constr.invoke.not.first=\
201	Constructor invocation must be the first thing in a method.
202javac.err.invalid.method.invoke=\
203	Can''t invoke a method on a {0}.
204javac.err.undef.meth=\
205	Method {0} not found in {1}.
206javac.err.no.meth.access=\
207	Method {0} in {1} is not accessible from {2}.
208#warning:
209javac.err.no.override.access=\
210	Note: Method {0} in {1} does not override the corresponding method in {2}.  If you are trying to override this method, you cannot do so because it is private to a different package.
211javac.err.no.static.meth.access=\
212	Can''t make static reference to method {0} in {1}.
213javac.err.invalid.protected.method.use=\
214	Can''t access protected method {0} in {1}. {2} is not a subclass of the current class.
215javac.err.invalid.protected.field.use=\
216	Can''t access protected field {0} in {1}. {2} is not a subclass of the current class.
217javac.err.invalid.protected.type.use=\
218	Can''t access protected inner type {0} in {1}. {2} is not a subclass of the current class.
219javac.err.invalid.protected.constructor.use=\
220	Can''t access protected constructor of {0}.  Instance creation is permitted only within the package in which the constructor is defined.
221javac.err.invalid.method=\
222	Reference to variable {0} in {1} as if it were a method.
223javac.err.invalid.var=\
224	Reference to method {0} in {1} as if it were a variable.
225javac.err.synchronized.null=\
226	The null literal is not a legal argument for the synchronized statement.
227#all messages related to deprecation are warnings:
228javac.err.class.is.deprecated=\
229	Note: {0} has been deprecated.
230javac.err.meth.is.deprecated=\
231	Note: The method {0} in {1} has been deprecated.
232javac.err.constr.is.deprecated=\
233	Note: The constructor {0} has been deprecated.
234javac.err.field.is.deprecated=\
235	Note: The variable {0} in {1} has been deprecated.
236javac.err.note.deprecations=\
237	Note: {0} files use or override a deprecated API.  Please consult the documentation for a better alternative in each case.
238javac.err.note.1deprecation=\
239	Note: {0} uses or overrides a deprecated API.  Please consult the documentation for a better alternative.
240javac.err.note.deprecations.silent=\
241	Note: {0} files use or override a deprecated API.  Recompile with "-deprecation" for details.
242javac.err.note.1deprecation.silent=\
243	Note: {0} uses or overrides a deprecated API.  Recompile with "-deprecation" for details.
244javac.err.invalid.array.dim=\
245	Invalid array dimension.
246javac.err.ambig.constr=\
247	Constructor is ambiguous: {0}, {1}
248javac.err.explicit.cast.needed=\
249	Incompatible type for {0}. Explicit cast needed to convert {1} to {2}.
250javac.err.incompatible.type=\
251	Incompatible type for {0}. Can''t convert {1} to {2}.
252javac.err.invalid.term=\
253	Invalid term.
254javac.err.abstract.class=\
255	{0} must be declared abstract. It does not define {1} from {2}.
256javac.err.abstract.class.cannot.override=\
257	{0} must be declared abstract.  The package-private abstract method {1} in superclass {2} is inaccessible and cannot be overridden.
258javac.err.new.intf=\
259	{0} is an interface. It can''t be instantiated.
260javac.err.invoke.abstract=\
261	Can''t directly invoke abstract method {0} in {1}.
262javac.err.unmatched.meth=\
263	No method matching {0} found in {1}.
264javac.err.unmatched.constr=\
265	No constructor matching {0} found in {1}.
266javac.err.wrong.number.args=\
267	Wrong number of arguments in {0}.
268javac.err.wrong.number.args=\
269	Wrong number of arguments in {0}.
270javac.err.forward.ref=\
271	Can''t make forward reference to {0} in {1}.
272javac.err.array.dim.missing=\
273	Array dimension missing.
274javac.err.new.abstract=\
275	{0} is an abstract class. It can''t be instantiated.
276javac.err.label.not.found=\
277	No label definition found for {0}.
278javac.err.invalid.break=\
279	''break'' must be in loop or switch.
280javac.err.invalid.continue=\
281	''continue'' must be in loop.
282javac.err.branch.to.uplevel=\
283	a ''break'' or ''continue'' must transfer control within the same method.
284javac.err.invalid.decl=\
285	Invalid declaration.
286javac.err.return.with.value=\
287	''return'' with value from {0}.
288javac.err.return.without.value=\
289	''return'' without value from {0}.
290javac.err.return.inside.static.initializer=\
291	''return'' inside static initializer.
292javac.err.invalid.label=\
293	Invalid label.
294javac.err.return.required.at.end=\
295	Return required at end of {0}.
296javac.err.duplicate.label=\
297	Duplicate case label: {0}
298javac.err.switch.overflow=\
299	Case label {0} too large for ''switch'' on {1}
300javac.err.nested.duplicate.label=\
301	A statement cannot be labeled with the same identifier as one of its enclosing statements: {0}
302javac.err.declaration.with.label=\
303	A declaration cannot be labeled: {0}
304javac.err.const.expr.required=\
305	Constant expression required.
306javac.err.duplicate.default=\
307	Duplicate ''default'' label.
308javac.err.not.supported=\
309	''{0}'' not supported.
310javac.err.return.with.value.constr=\
311	''return'' with value from constructor: {0}
312javac.err.package.repeated=\
313	Only one package declaration allowed.
314javac.err.class.multidef=\
315	Class {0} already defined in {1}.
316javac.err.class.multidef.import=\
317	Class name {0} clashes with imported class {1}.
318javac.err.intf.constructor=\
319	Interfaces can''t have constructors.
320javac.err.constr.modifier=\
321	Constructors can''t be native, abstract, static, synchronized, or final: {0}
322javac.err.intf.initializer=\
323	Interfaces can''t have static initializers.
324javac.err.intf.modifier.method=\
325	Interface methods can''t be native, static, synchronized, final, private, or protected : {0}
326javac.err.intf.modifier.field=\
327	Interface fields can''t be private or protected: {0}
328javac.err.transient.meth=\
329	Method {0} can''t be transient. Only variables can be transient.
330javac.err.volatile.meth=\
331	Method {0} can''t be volatile. Only variables can be volatile.
332javac.err.abstract.private.modifier=\
333	Abstract methods can''t be private: {0}
334javac.err.abstract.static.modifier=\
335	Abstract methods can''t be static: {0}
336javac.err.abstract.final.modifier=\
337	Abstract methods can''t be final: {0}
338javac.err.abstract.native.modifier=\
339	Abstract methods can''t be native: {0}
340javac.err.abstract.synchronized.modifier=\
341	Abstract methods can''t be synchronized: {0}
342javac.err.invalid.meth.body=\
343	Abstract and native methods can''t have a body: {0}
344javac.err.var.modifier=\
345	Variables can''t be synchronized, abstract or native: {0}
346javac.err.var.floatmodifier=\
347	Variables can''t be declared strict: {0}
348javac.err.inner.modifier=\
349	Inner classes can''t be volatile, transient, native, or synchronized: {0}
350javac.err.transient.modifier=\
351	Transient variables can''t be members of interfaces: {0}
352javac.err.volatile.modifier=\
353	Volatile variables can''t be final or members of interfaces: {0}
354javac.err.initializer.needed=\
355	This final variable must be initialized: {0}
356javac.err.meth.multidef=\
357	Duplicate method declaration: {0}
358javac.err.meth.redef.rettype=\
359	Methods can''t be redefined with a different return type: {0} was {1}
360javac.err.var.multidef=\
361	Duplicate variable declaration: {0} was {1}
362javac.err.inner.class.multidef=\
363	Duplicate inner class declaration: {0} is already defined in this scope.
364javac.err.intf.super.class=\
365	Superclass of {0} can''t be an interface: {1}
366javac.err.cant.access.class=\
367	Can''t access {0}. Class or interface must be public, in same package, or an accessible member class.
368javac.err.unqualified.name.required=\
369	The type name in a qualified 'new' expression must be an unqualified identifier.
370javac.err.repeated.modifier=\
371	Repeated modifier.
372javac.err.inconsistent.modifier=\
373	Inconsistent member declaration. At most one of public, private, or protected may be specified.
374javac.err.super.is.final=\
375	Can''t subclass final classes: {0}
376javac.err.super.is.intf=\
377	Can''t subclass interfaces: {0}
378javac.err.cyclic.super=\
379	Cyclic class inheritance.
380javac.err.super.is.inner=\
381	Cyclic class inheritance:  A subclass cannot enclose a superclass.
382javac.err.cyclic.intf=\
383	Cyclic interface inheritance.
384javac.err.cyclic.scoping=\
385	Cyclic class inheritance or scoping.
386javac.err.not.intf=\
387	{0} must be an interface.
388javac.err.final.intf=\
389	Interfaces can''t be final: {0}
390javac.err.intf.impl.intf=\
391	An interface can''t implement anything; it can only extend other interfaces.
392javac.err.multiple.inherit=\
393	Multiple inheritance is not supported.
394javac.err.intf.repeated=\
395	Interface {0} repeated.
396javac.err.class.format=\
397	Invalid class file format in {0}.  {1}
398javac.err.truncated.class=\
399	Unexpected end of file encountered while reading the class file {0}.
400javac.err.no.meth.body=\
401	Method {0} requires a method body. Otherwise declare it as abstract.
402javac.err.no.constructor.body=\
403	Constructor {0} requires a method body.
404javac.err.bad.constructor.modifier=\
405	Constructors may not be modified by strictfp.
406javac.err.void.inst.var=\
407	Instance variables can''t be void: {0}
408javac.err.invalid.method.decl=\
409	Invalid method declaration; return type required.
410javac.err.invalid.method.decl.name=\
411	Invalid method declaration; method name required.
412javac.err.invalid.method.decl.qual=\
413	Invalid qualified constructor name.
414javac.err.super.not.found=\
415	Superclass {0} of {1} not found.
416javac.err.intf.not.found=\
417	Interface {0} of {1} not found.
418javac.err.final.abstract=\
419        Class {0} can''t be declared both abstract and final.
420javac.err.void.array=\
421	Array of void is not a valid type.
422javac.err.void.argument=\
423	Argument can''t have type void: {0}
424javac.err.invalid.expr=\
425	Invalid expression statement.
426javac.err.catch.not.reached=\
427	catch not reached.
428javac.err.stat.not.reached=\
429	Statement not reached.
430javac.err.init.no.normal.completion=\
431	Initializer must be able to complete normally.
432javac.err.arithmetic.exception=\
433	Arithmetic exception.
434javac.err.generic=\
435	{0}
436javac.err.public.class.file=\
437	Public {0} must be defined in a file called "{1}".
438javac.err.package.class.file=\
439	{0} is defined in {1}. Because it is used outside of its source file, it should be defined in a file called "{2}".
440javac.err.lose.precision=\
441	Possible loss of precision. Use an explicit cast to convert {0} to {1}.
442javac.err.duplicate.argument=\
443	Variable ''{0}'' is used twice in the argument list of this method.
444javac.err.local.redefined=\
445	Variable ''{0}'' is already defined in this method.
446javac.err.local.class.redefined=\
447	Local class ''{0}'' is already defined in this method.
448javac.err.inner.redefined=\
449	The class name ''{0}'' is already defined in this scope.  An inner class may not have the same simple name as any of its enclosing classes.
450javac.err.inherited.hides.field=\
451	Variable ''{0}'' is inherited in {1}, and hides a variable of the same name in {2}. An explicit ''this'' qualifier must be used to select the desired instance.
452javac.err.inherited.hides.local=\
453	Variable ''{0}'' is inherited in {1}, and hides a local variable of the same name. An explicit ''this'' qualifier must be used to select the variable, or the local must be renamed.
454javac.err.inherited.hides.method=\
455	Method ''{0}'' is inherited in {1}, and hides a method of the same name in {2}. An explicit ''this'' qualifier must be used to select the desired instance.
456javac.err.inherited.hides.type=\
457	Type ''{0}'' is inherited in {1}, and hides a type of the same name in an enclosing scope. An explicit qualifier prefix must be used to name this type.
458javac.err.private.class=\
459	The type {0} can''t be private. Package members are always accessible within the current package.
460javac.err.static.class=\
461	The type {0} can''t be declared static. It is already top-level, since it is a member of a package.
462javac.err.protected.class=\
463	The type {0} can''t be made protected. Package members can either be public or local to the current package.
464javac.err.recursive.constr=\
465	Recursive constructor invocation: {0}.
466javac.err.wrong.class=\
467	File {0} does not contain {1} as expected, but {2}. Please remove the file, or make sure it appears in the correct subdirectory of the class path.
468javac.err.wrong.source=\
469	File {0} does not contain {1} as expected. Please adjust the class path so that the file does not appear in the {2}.
470javac.err.class.not.found=\
471	Class {0} not found in {1}.
472javac.err.class.not.found.no.context=\
473	Class {0} not found.
474javac.err.package.not.found=\
475	Package {0} not found in {1}.
476javac.err.package.not.found.strong=\
477	Package {0} not found.  Please adjust the classpath so that package {0} is accessible.
478javac.err.class.package.conflict=\
479	A type and a package cannot have the same name.  The name {0} cannot be used to name a class while the package {0} is accessible.
480javac.err.package.class.conflict=\
481	A type and a package cannot have the same name.  The name {0} cannot be used to name a package while the class {1} is accessible.
482javac.err.package.class.conflict.strong=\
483	The name {0} must refer to a package.  It is illegal for there to be an accessible class named {1} because types and packages cannot have the same name.  The class {1} should be renamed or taken off the classpath.
484javac.err.illegal.mangled.name=\
485	Invalid name {0} for {1}.
486javac.err.class.and.package=\
487	Ambiguous name: {0} is both a class and a package.
488javac.err.throws.not.throwable=\
489	{0} in throws clause must be a subclass of class java.lang.Throwable.
490javac.err.throw.not.throwable=\
491	Can''t throw {0}; it must be a subclass of class java.lang.Throwable.
492javac.err.catch.not.throwable=\
493	Can''t catch {0}; it must be a subclass of class java.lang.Throwable.
494javac.err.initializer.exception=\
495	Exception {0} can''t be thrown in initializer.
496javac.err.cant.read=\
497	Can''t read: {0}
498javac.err.cant.write=\
499	Can''t write: {0}
500javac.err.fatal.error=\
501	An error has occurred in the compiler; please file a bug report (http://bugreport.sun.com/bugreport/).
502javac.err.fatal.exception=\
503	An exception has occurred in the compiler; please file a bug report (http://bugreport.sun.com/bugreport/).
504javac.err.no.inner.classes=\
505	Support for inner classes has been disabled.
506javac.err.uncaught.exception=\
507	Exception {0} must be caught, or it must be declared in the throws clause of this method.
508javac.err.constructor.exception=\
509	Exception {0} must be caught, or it must be declared in the throws clause of this constructor.
510javac.err.def.constructor.exception=\
511	A default constructor cannot be created for this class because the constructor of its superclass throws the exception {0}.  Define the constructor for this class explicitly.
512javac.err.catch.not.thrown=\
513	Exception {0} is never thrown in the body of the corresponding try statement.
514#warning:
515javac.err.array.clone.supported=\
516	Note: The cloning of an array does not throw any checked exceptions, and therefore does not require any catch clauses.  Please remove unused catch clauses, or if you wish to retain compatibility with older compilers, you may insert an artificial throw as follows:  if (false) throw new CloneNotSupportedException();
517javac.err.no.outer.arg=\
518	No enclosing instance of {0} is in scope; \
519	an explicit one must be provided when creating {1}, \
520	as in "outer. new Inner()" or "outer. super()".
521javac.err.no.default.outer.arg=\
522	No enclosing instance of {0} is in scope; \
523	cannot create a default constructor for {1}.
524javac.err.no.outer.base=\
525	No enclosing instance of {0} is in scope; \
526	an explicit one must be provided when accessing {1}, \
527	as in "outer.member".
528javac.err.inner.interface=\
529	Member interfaces can only occur in interfaces and top-level classes.
530javac.err.static.inner.class=\
531	The type {0} can''t be static.  Static members can only occur in interfaces and top-level classes.
532javac.err.static.inner.field=\
533	Variable {0} can''t be static in {1}.  Only members of interfaces and top-level classes can be static.
534javac.err.static.inner.method=\
535	Method {0} can''t be static in {1}.  Only members of interfaces and top-level classes can be static.
536javac.err.too.many.errors=\
537	Too many errors.  (The limit on reported errors is {0}.)
538javac.err.override.static.with.instance=\
539	The instance method {0} declared in {1} cannot override the static \
540	method of the same signature declared in {2}.  It is illegal to \
541	override a static method.
542javac.err.hide.instance.with.static=\
543	The static method {0} declared in {1} cannot hide the instance \
544	method of the same signature declared in {2}.  It is illegal to \
545	hide an instance method.
546javac.err.override.final.method=\
547	The method {0} declared in {1} cannot override the final method of \
548	the same signature declared in {2}.  Final methods cannot be \
549	overridden.
550javac.err.override.is.deprecated=\
551	The method {0} declared in {1} is not deprecated, but \
552	overrides a deprecated method of the \
553	same signature declared in {2}.
554javac.err.override.more.restrictive=\
555	The method {0} declared in {1} cannot override the method of the \
556	same signature declared in {2}.  The access modifier is made more \
557	restrictive.
558javac.err.override.different.return=\
559	The method {0} declared in {1} cannot override the method of the \
560	same signature declared in {2}.  They must have the same return \
561	type.	
562javac.err.override.incompatible.exceptions=\
563	The method {0} declared in {1} cannot override the method of the \
564	same signature declared in {2}.  Their throws clauses are \
565	incompatible.
566javac.err.meet.different.return=\
567	The method {0} inherited from {1} is incompatible with the method of \
568	the same signature inherited from {2}.  They must have the same \
569	return type.
570javac.err.nontrivial.meet=\
571	The definitions of method {0} inherited from {1} and {2} are \
572	compatible, but the combination of them is nontrivial and has not \
573	been implemented.  As a workaround, declare {0} explicitly in this \
574	class.
575javac.err.method.too.long=\
576	This code requires generating a method with more than \
577	64K bytes.  Virtual machines may refuse the resulting class file.
578#
579javac.err.version.too.old=\
580	The major version ''{0}'' is too old for this tool to understand.
581javac.err.version.too.recent=\
582	The major.minor version ''{0}'' is too recent for this tool \
583	to understand.
584#
585benv.parsed_in=[parsed {0} in {1} ms]
586benv.loaded_in=[loaded {0} in {1} ms]
587benv.failed_to_close_class_path=failed to close class path: {0}
588#
589main.usage=\
590Usage: {0} <options> <source files>\n\
591\n\
592where <options> includes:\n\
593\ \ -g                     Generate all debugging info\n\
594\ \ -g:none                Generate no debugging info\n\
595\ \ -g:'{'lines,vars,source'}' Generate only some debugging info\n\
596\ \ -O                     Optimize; may hinder debugging or enlarge class files\n\
597\ \ -nowarn                Generate no warnings\n\
598\ \ -verbose               Output messages about what the compiler is doing\n\
599\ \ -deprecation           Output source locations where deprecated APIs are used\n\
600\ \ -classpath <path>      Specify where to find user class files\n\
601\ \ -sourcepath <path>     Specify where to find input source files\n\
602\ \ -bootclasspath <path>  Override location of bootstrap class files\n\
603\ \ -extdirs <dirs>        Override location of installed extensions\n\
604\ \ -d <directory>         Specify where to place generated class files\n\
605\ \ -encoding <encoding>   Specify character encoding used by source files\n\
606\ \ -target <release>      Generate class files for specific VM version
607#
608main.unsupported.usage=\
609\ \ -Xdepend         Recursively search for more recent source files to recompile\n\
610\ \ -Xstdout         Send messages to System.out\n\
611\ \ -Xverbosepath    Describe how paths and standard extensions were searched\n\
612\ \ -J<runtime flag> Pass argument to the java interpreter\n\
613\n\
614The -X and -J options are non-standard and subject to change without notice.
615#
616main.conflicting.options=The options {0} and {1} may not be used at the same time.
617main.option.already.seen=The {0} option may be specified no more than once.
618main.option.requires.argument=The {0} option requires an argument.
619main.bad.debug.option=The {0} option is not well formed.  Only specify "lines", "vars", and "source" separated by commas.
620main.no.such.directory=The {0} directory does not exist.
621main.no.such.option={0} is an invalid option or argument.
622main.unknown.release=The release ''{0}'' is unknown to this compiler.
623main.wrote=[wrote {0}]
624main.errors={0} errors
625main.1error=1 error
626main.warnings={0} warnings
627main.1warning=1 warning
628main.done_in=[done in {0} ms]
629main.no.memory=\
630	The compiler has run out of memory.  Consider using the "-J-mx<number>" command line option to increase the maximum heap size.
631main.stack.overflow=\
632	The compiler has run out of stack space.  Consider using the "-J-oss<number>" command line option to increase the memory allocated for the Java stack.
633main.path.msg=\
634	[The source classpath is "{0}"]\n\
635	[The library classpath is "{1}"]
636javac.err.invalid.encoding.char=\
637	The source file encoding may be different with this platform encoding. Please use -encoding option to adjust file encoding, or make sure source file converted to ASCII encoding.
638