javac.properties revision 2701:98bf355126f0
172878Skris#
272878Skris# Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
3100772Sjhb# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4100772Sjhb#
5100772Sjhb# This code is free software; you can redistribute it and/or modify it
672878Skris# under the terms of the GNU General Public License version 2 only, as
7101232Sru# published by the Free Software Foundation.  Oracle designates this
8100773Sjhb# particular file as subject to the "Classpath" exception as provided
9100772Sjhb# by Oracle in the LICENSE file that accompanied this code.
10113374Sobrien#
11100773Sjhb# This code is distributed in the hope that it will be useful, but WITHOUT
12100772Sjhb# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13103560Sjhb# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14115175Speter# version 2 for more details (a copy is included in the LICENSE file that
15115175Speter# accompanied this code).
16100773Sjhb#
17100772Sjhb# You should have received a copy of the GNU General Public License version
18103560Sjhb# 2 along with this work; if not, write to the Free Software Foundation,
19100773Sjhb# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20100772Sjhb#
21100773Sjhb# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22100772Sjhb# or visit www.oracle.com if you need additional information or have any
2372878Skris# questions.
2472878Skris#
2572878Skris
2672878Skris## standard options
27100773Sjhb
28100773Sjhbjavac.opt.g=\
2972878Skris    Generate all debugging info
30100773Sjhbjavac.opt.g.none=\
3172878Skris    Generate no debugging info
32103045Smuxjavac.opt.g.lines.vars.source=\
33103045Smux    Generate only some debugging info
34100773Sjhbjavac.opt.nowarn=\
3572878Skris    Generate no warnings
3672878Skrisjavac.opt.verbose=\
3796421Sobrien    Output messages about what the compiler is doing
3872878Skrisjavac.opt.deprecation=\
3996421Sobrien    Output source locations where deprecated APIs are used
4096421Sobrienjavac.opt.classpath=\
4196421Sobrien    Specify where to find user class files and annotation processors
4296421Sobrienjavac.opt.sourcepath=\
4396421Sobrien    Specify where to find input source files
4472878Skrisjavac.opt.bootclasspath=\
4572878Skris    Override location of bootstrap class files
46113481Sobrienjavac.opt.Xbootclasspath.p=\
47112768Sobrien    Prepend to the bootstrap class path
48112768Sobrienjavac.opt.Xbootclasspath.a=\
49112768Sobrien    Append to the bootstrap class path
5072878Skrisjavac.opt.endorseddirs=\
5174146Skris    Override location of endorsed standards path
5273145Skrisjavac.opt.extdirs=\
53117514Smux    Override location of installed extensions
5473145Skrisjavac.opt.processorpath=\
55103045Smux    Specify where to find annotation processors
5673145Skrisjavac.opt.processor=\
57103045Smux    Names of the annotation processors to run; bypasses default discovery process
5872878Skrisjavac.opt.parameters=\
5974146Skris    Generate metadata for reflection on method parameters
6073145Skrisjavac.opt.proc.none.only=\
6198159Ssobomax    Control whether annotation processing and/or compilation is done.
6272878Skrisjavac.opt.d=\
6374146Skris    Specify where to place generated class files
6472878Skrisjavac.opt.sourceDest=\
6594987Sru    Specify where to place generated source files
6672878Skrisjavac.opt.headerDest=\
6772878Skris    Specify where to place generated native header files
68103048Skrisjavac.opt.J=\
69103048Skris    Pass <flag> directly to the runtime system
70103048Skrisjavac.opt.encoding=\
7174146Skris    Specify character encoding used by source files
7272878Skrisjavac.opt.profile=\
7374146Skris    Check that API used is available in the specified profile
7472878Skrisjavac.opt.target=\
7574146Skris    Generate class files for specific VM version
7672878Skrisjavac.opt.source=\
7774146Skris    Provide source compatibility with specified release
7872878Skrisjavac.opt.Werror=\
79103048Skris    Terminate compilation if warnings occur
8072878Skrisjavac.opt.A=\
8174146Skris    Options to pass to annotation processors
8272878Skrisjavac.opt.implicit=\
8372878Skris    Specify whether or not to generate class files for implicitly referenced files
8472878Skrisjavac.opt.pkginfo=\
8572878Skris    Specify handling of package-info files
8672878Skrisjavac.opt.arg.class=\
8772878Skris    <class>
8872878Skrisjavac.opt.arg.class.list=\
89112768Sobrien    <class1>[,<class2>,<class3>...]
90112768Sobrienjavac.opt.arg.flag=\
91112768Sobrien    <flag>
92112768Sobrienjavac.opt.arg.key.equals.value=\
93112768Sobrien    key[=value]
94112768Sobrienjavac.opt.arg.path=\
95103045Smux    <path>
96103562Sjhbjavac.opt.arg.dirs=\
9774069Ssobomax    <dirs>
98103562Sjhbjavac.opt.arg.directory=\
9972878Skris    <directory>
100103562Sjhbjavac.opt.arg.encoding=\
101103045Smux    <encoding>
102103562Sjhbjavac.opt.arg.profile=\
10373145Skris    <profile>
104103562Sjhbjavac.opt.arg.release=\
10574553Skris    <release>
106103562Sjhbjavac.opt.arg.number=\
10772878Skris    <number>
108103562Sjhbjavac.opt.plugin=\
10973145Skris    Name and optional arguments for a plug-in to be run
110103562Sjhbjavac.opt.arg.plugin=\
11172878Skris    "name args"
112103562Sjhb
11372878Skris## extended options
114103562Sjhb
11572878Skrisjavac.opt.maxerrs=\
116103562Sjhb    Set the maximum number of errors to print
117103562Sjhbjavac.opt.maxwarns=\
118103562Sjhb    Set the maximum number of warnings to print
11972878Skrisjavac.opt.nogj=\
120103562Sjhb    Don't accept generics in the language
12172878Skrisjavac.opt.moreinfo=\
122103562Sjhb    Print extended information for type variables
12372878Skrisjavac.opt.printflat=\
124103562Sjhb    Print abstract syntax tree after inner class conversion
12572878Skrisjavac.opt.printsearch=\
126103562Sjhb    Print information where classfiles are searched
12772878Skrisjavac.opt.prompt=\
128103562Sjhb    Stop after each error
12972878Skrisjavac.opt.retrofit=\
130103562Sjhb    Retrofit existing classfiles with generic types
131115175Speterjavac.opt.s=\
132115175Speter    Emit java sources instead of classfiles
133103562Sjhbjavac.opt.scramble=\
134103562Sjhb    Scramble private identifiers in bytecode
13572878Skrisjavac.opt.scrambleall=\
136103562Sjhb    Scramble package visible identifiers in bytecode
13772878Skrisjavac.opt.version=\
13872878Skris    Version information
139103561Sjhbjavac.opt.arg.pathname=\
140112769Sobrien    <pathname>
141112769Sobrienjavac.opt.arg.file=\
142112769Sobrien    <filename>
143112769Sobrienjavac.opt.Xlint=\
144124347Sru    Enable recommended warnings
145103561Sjhbjavac.opt.Xlint.all=\
146103561Sjhb    Enable all warnings
147103561Sjhbjavac.opt.Xlint.none=\
148103561Sjhb    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}
292
293## messages
294
295javac.msg.usage.header=\
296Usage: {0} <options> <source files>\n\
297where possible options include:
298
299javac.msg.usage=\
300    Usage: {0} <options> <source files>\n\
301    use -help for a list of possible options
302
303javac.msg.usage.nonstandard.footer=\
304These options are non-standard and subject to change without notice.
305
306javac.msg.bug=\
307An exception has occurred in the compiler ({0}). \
308Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  \
309after checking the Bug Parade for duplicates. \
310Include your program and the following diagnostic in your report.  Thank you.
311
312javac.msg.io=\
313\n\nAn input/output error occurred.\n\
314Consult the following stack trace for details.\n
315
316javac.msg.proc.annotation.uncaught.exception=\
317\n\nAn annotation processor threw an uncaught exception.\n\
318Consult the following stack trace for details.\n
319
320javac.msg.plugin.uncaught.exception=\
321\n\nA plugin threw an uncaught exception.\n\
322Consult the following stack trace for details.\n
323
324javac.msg.resource=\
325\n\nThe system is out of resources.\n\
326Consult the following stack trace for details.\n
327
328javac.version={0} {1}
329javac.fullVersion={0} full version "{1}"
330