javac.properties revision 2571:10fc81ac75b4
1#
2# Copyright (c) 1999, 2014, 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
26## standard options
27
28javac.opt.g=\
29    Generate all debugging info
30javac.opt.g.none=\
31    Generate no debugging info
32javac.opt.g.lines.vars.source=\
33    Generate only some debugging info
34javac.opt.nowarn=\
35    Generate no warnings
36javac.opt.verbose=\
37    Output messages about what the compiler is doing
38javac.opt.deprecation=\
39    Output source locations where deprecated APIs are used
40javac.opt.classpath=\
41    Specify where to find user class files and annotation processors
42javac.opt.sourcepath=\
43    Specify where to find input source files
44javac.opt.bootclasspath=\
45    Override location of bootstrap class files
46javac.opt.Xbootclasspath.p=\
47    Prepend to the bootstrap class path
48javac.opt.Xbootclasspath.a=\
49    Append to the bootstrap class path
50javac.opt.endorseddirs=\
51    Override location of endorsed standards path
52javac.opt.extdirs=\
53    Override location of installed extensions
54javac.opt.processorpath=\
55    Specify where to find annotation processors
56javac.opt.processor=\
57    Names of the annotation processors to run; bypasses default discovery process
58javac.opt.parameters=\
59    Generate metadata for reflection on method parameters
60javac.opt.proc.none.only=\
61    Control whether annotation processing and/or compilation is done.
62javac.opt.d=\
63    Specify where to place generated class files
64javac.opt.sourceDest=\
65    Specify where to place generated source files
66javac.opt.headerDest=\
67    Specify where to place generated native header files
68javac.opt.J=\
69    Pass <flag> directly to the runtime system
70javac.opt.encoding=\
71    Specify character encoding used by source files
72javac.opt.profile=\
73    Check that API used is available in the specified profile
74javac.opt.target=\
75    Generate class files for specific VM version
76javac.opt.source=\
77    Provide source compatibility with specified release
78javac.opt.Werror=\
79    Terminate compilation if warnings occur
80javac.opt.A=\
81    Options to pass to annotation processors
82javac.opt.implicit=\
83    Specify whether or not to generate class files for implicitly referenced files
84javac.opt.pkginfo=\
85    Specify handling of package-info files
86javac.opt.arg.class=\
87    <class>
88javac.opt.arg.class.list=\
89    <class1>[,<class2>,<class3>...]
90javac.opt.arg.flag=\
91    <flag>
92javac.opt.arg.key.equals.value=\
93    key[=value]
94javac.opt.arg.path=\
95    <path>
96javac.opt.arg.dirs=\
97    <dirs>
98javac.opt.arg.directory=\
99    <directory>
100javac.opt.arg.encoding=\
101    <encoding>
102javac.opt.arg.profile=\
103    <profile>
104javac.opt.arg.release=\
105    <release>
106javac.opt.arg.number=\
107    <number>
108javac.opt.plugin=\
109    Name and optional arguments for a plug-in to be run
110javac.opt.arg.plugin=\
111    "name args"
112
113## extended options
114
115javac.opt.maxerrs=\
116    Set the maximum number of errors to print
117javac.opt.maxwarns=\
118    Set the maximum number of warnings to print
119javac.opt.nogj=\
120    Don't accept generics in the language
121javac.opt.moreinfo=\
122    Print extended information for type variables
123javac.opt.printflat=\
124    Print abstract syntax tree after inner class conversion
125javac.opt.printsearch=\
126    Print information where classfiles are searched
127javac.opt.prompt=\
128    Stop after each error
129javac.opt.retrofit=\
130    Retrofit existing classfiles with generic types
131javac.opt.s=\
132    Emit java sources instead of classfiles
133javac.opt.scramble=\
134    Scramble private identifiers in bytecode
135javac.opt.scrambleall=\
136    Scramble package visible identifiers in bytecode
137javac.opt.version=\
138    Version information
139javac.opt.arg.pathname=\
140    <pathname>
141javac.opt.arg.file=\
142    <filename>
143javac.opt.Xlint=\
144    Enable recommended warnings
145javac.opt.Xlint.all=\
146    Enable all warnings
147javac.opt.Xlint.none=\
148    Disable all warnings
149#L10N: do not localize: -Xlint
150javac.opt.Xlint.subopts=\
151    -Xlint:key,...
152javac.opt.Xlint.suboptlist=\n\
153\        Warnings to enable or disable, separated by comma.\n\
154\        Precede a key by '-' to disable the specified warning.\n\
155\        Supported keys are:
156javac.opt.Xlint.desc.auxiliaryclass=\
157    Warn about an auxiliary class that is hidden in a source file, and is used from other files.
158
159javac.opt.Xlint.desc.cast=\
160    Warn about use of unnecessary casts.
161
162javac.opt.Xlint.desc.classfile=\
163    Warn about issues related to classfile contents.
164
165javac.opt.Xlint.desc.deprecation=\
166    Warn about use of deprecated items.
167
168javac.opt.Xlint.desc.dep-ann=\
169    Warn about items marked as deprecated in JavaDoc but not using the @Deprecated annotation.
170
171javac.opt.Xlint.desc.divzero=\
172    Warn about division by constant integer 0.
173
174javac.opt.Xlint.desc.empty=\
175    Warn about empty statement after if.
176
177javac.opt.Xlint.desc.fallthrough=\
178    Warn about falling through from one case of a switch statement to the next.
179
180javac.opt.Xlint.desc.finally=\
181    Warn about finally clauses that do not terminate normally.
182
183javac.opt.Xlint.desc.options=\
184    Warn about issues relating to use of command line options.
185
186javac.opt.Xlint.desc.overloads=\
187    Warn about issues regarding method overloads.
188
189javac.opt.Xlint.desc.overrides=\
190    Warn about issues regarding method overrides.
191
192javac.opt.Xlint.desc.path=\
193    Warn about invalid path elements on the command line.
194
195javac.opt.Xlint.desc.processing=\
196    Warn about issues regarding annotation processing.
197
198javac.opt.Xlint.desc.rawtypes=\
199    Warn about use of raw types.
200
201javac.opt.Xlint.desc.serial=\
202    Warn about Serializable classes that do not provide a serial version ID.
203
204javac.opt.Xlint.desc.static=\
205    Warn about accessing a static member using an instance.
206
207javac.opt.Xlint.desc.sunapi=\
208    Warn about proprietary API that may be removed in a future release.
209
210javac.opt.Xlint.desc.try=\
211    Warn about issues relating to use of try blocks (i.e. try-with-resources).
212
213javac.opt.Xlint.desc.unchecked=\
214    Warn about unchecked operations.
215
216javac.opt.Xlint.desc.varargs=\
217    Warn about potentially unsafe vararg methods
218
219javac.opt.Xdoclint=\
220    Enable recommended checks for problems in javadoc comments
221# L10N: do not localize: all none
222javac.opt.Xdoclint.subopts = \
223    (all|none|[-]<group>)[/<access>]
224
225# L10N: do not localize: accessibility html missing reference syntax
226# L10N: do not localize: public protected package private
227javac.opt.Xdoclint.custom=\n\
228\        Enable or disable specific checks for problems in javadoc comments,\n\
229\        where <group> is one of accessibility, html, missing, reference, or syntax,\n\
230\        and <access> is one of public, protected, package, or private.
231javac.opt.Xstdout=\
232    Redirect standard output
233javac.opt.X=\
234    Print a synopsis of nonstandard options
235javac.opt.help=\
236    Print a synopsis of standard options
237javac.opt.print=\
238    Print out a textual representation of specified types
239javac.opt.printRounds=\
240    Print information about rounds of annotation processing
241javac.opt.printProcessorInfo=\
242    Print information about which annotations a processor is asked to process
243javac.opt.userpathsfirst=\
244    Search classpath and sourcepath for classes before the bootclasspath instead of after
245javac.opt.prefer=\
246    Specify which file to read when both a source file and class file are found for an implicitly compiled class
247javac.opt.AT=\
248    Read options and filenames from file
249javac.opt.diags=\
250    Select a diagnostic mode
251
252## errors
253
254javac.err.empty.A.argument=\
255    -A requires an argument; use ''-Akey'' or ''-Akey=value''
256javac.err.invalid.arg=\
257    invalid argument: {0}
258javac.err.invalid.A.key=\
259     key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers
260javac.err.invalid.flag=\
261    invalid flag: {0}
262javac.err.profile.bootclasspath.conflict=\
263    profile and bootclasspath options cannot be used together
264javac.err.invalid.profile=\
265    invalid profile: {0}
266javac.err.invalid.target=\
267    invalid target release: {0}
268javac.err.no.source.files=\
269    no source files
270javac.err.no.source.files.classes=\
271    no source files or class names
272javac.err.req.arg=\
273    {0} requires an argument
274javac.err.invalid.source=\
275    invalid source release: {0}
276javac.err.error.writing.file=\
277    error writing {0}; {1}
278javac.warn.source.target.conflict=\
279    source release {0} requires target release {1}
280javac.warn.target.default.source.conflict=\
281    target release {0} conflicts with default source release {1}
282javac.warn.profile.target.conflict=\
283    profile {0} is not valid for target release {1}
284javac.err.dir.not.found=\
285    directory not found: {0}
286javac.err.file.not.found=\
287    file not found: {0}
288javac.err.file.not.directory=\
289    not a directory: {0}
290javac.err.file.not.file=\
291    not a file: {0}
292javac.msg.plugin.not.found=\
293    plug-in not found: {0}
294## messages
295
296javac.msg.usage.header=\
297Usage: {0} <options> <source files>\n\
298where possible options include:
299
300javac.msg.usage=\
301    Usage: {0} <options> <source files>\n\
302    use -help for a list of possible options
303
304javac.msg.usage.nonstandard.footer=\
305These options are non-standard and subject to change without notice.
306
307javac.msg.bug=\
308An exception has occurred in the compiler ({0}). \
309Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  \
310after checking the Bug Parade for duplicates. \
311Include your program and the following diagnostic in your report.  Thank you.
312
313javac.msg.io=\
314\n\nAn input/output error occurred.\n\
315Consult the following stack trace for details.\n
316
317javac.msg.proc.annotation.uncaught.exception=\
318\n\nAn annotation processor threw an uncaught exception.\n\
319Consult the following stack trace for details.\n
320
321javac.msg.plugin.uncaught.exception=\
322\n\nA plugin threw an uncaught exception.\n\
323Consult the following stack trace for details.\n
324
325javac.msg.resource=\
326\n\nThe system is out of resources.\n\
327Consult the following stack trace for details.\n
328
329javac.version={0} {1}
330javac.fullVersion={0} full version "{1}"
331