javac.properties revision 3257:3cdfbbdb6f61
1#
2# Copyright (c) 1999, 2016, 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.release=\
77    Compile for a specific VM version. Supported targets: {0}
78javac.opt.source=\
79    Provide source compatibility with specified release
80javac.opt.Werror=\
81    Terminate compilation if warnings occur
82javac.opt.A=\
83    Options to pass to annotation processors
84javac.opt.implicit=\
85    Specify whether or not to generate class files for implicitly referenced files
86javac.opt.pkginfo=\
87    Specify handling of package-info files
88javac.opt.arg.class=\
89    <class>
90javac.opt.arg.class.list=\
91    <class1>[,<class2>,<class3>...]
92javac.opt.arg.flag=\
93    <flag>
94javac.opt.arg.key.equals.value=\
95    key[=value]
96javac.opt.arg.path=\
97    <path>
98javac.opt.arg.dirs=\
99    <dirs>
100javac.opt.arg.directory=\
101    <directory>
102javac.opt.arg.encoding=\
103    <encoding>
104javac.opt.arg.profile=\
105    <profile>
106javac.opt.arg.release=\
107    <release>
108javac.opt.arg.release=\
109    <release>
110javac.opt.arg.number=\
111    <number>
112javac.opt.plugin=\
113    Name and optional arguments for a plug-in to be run
114javac.opt.arg.plugin=\
115    "name args"
116
117## extended options
118
119javac.opt.maxerrs=\
120    Set the maximum number of errors to print
121javac.opt.maxwarns=\
122    Set the maximum number of warnings to print
123javac.opt.nogj=\
124    Don't accept generics in the language
125javac.opt.moreinfo=\
126    Print extended information for type variables
127javac.opt.printsearch=\
128    Print information where classfiles are searched
129javac.opt.prompt=\
130    Stop after each error
131javac.opt.s=\
132    Emit java sources instead of classfiles
133javac.opt.version=\
134    Version information
135javac.opt.arg.pathname=\
136    <pathname>
137javac.opt.arg.file=\
138    <filename>
139javac.opt.Xlint=\
140    Enable recommended warnings
141javac.opt.Xlint.all=\
142    Enable all warnings
143javac.opt.Xlint.none=\
144    Disable all warnings
145#L10N: do not localize: -Xlint
146javac.opt.Xlint.subopts=\
147    -Xlint:key,...
148javac.opt.Xlint.suboptlist=\n\
149\        Warnings to enable or disable, separated by comma.\n\
150\        Precede a key by '-' to disable the specified warning.\n\
151\        Supported keys are:
152javac.opt.Xlint.desc.auxiliaryclass=\
153    Warn about an auxiliary class that is hidden in a source file, and is used from other files.
154
155javac.opt.Xlint.desc.cast=\
156    Warn about use of unnecessary casts.
157
158javac.opt.Xlint.desc.classfile=\
159    Warn about issues related to classfile contents.
160
161javac.opt.Xlint.desc.deprecation=\
162    Warn about use of deprecated items.
163
164javac.opt.Xlint.desc.dep-ann=\
165    Warn about items marked as deprecated in JavaDoc but not using the @Deprecated annotation.
166
167javac.opt.Xlint.desc.divzero=\
168    Warn about division by constant integer 0.
169
170javac.opt.Xlint.desc.empty=\
171    Warn about empty statement after if.
172
173javac.opt.Xlint.desc.fallthrough=\
174    Warn about falling through from one case of a switch statement to the next.
175
176javac.opt.Xlint.desc.finally=\
177    Warn about finally clauses that do not terminate normally.
178
179javac.opt.Xlint.desc.options=\
180    Warn about issues relating to use of command line options.
181
182javac.opt.Xlint.desc.overloads=\
183    Warn about issues regarding method overloads.
184
185javac.opt.Xlint.desc.overrides=\
186    Warn about issues regarding method overrides.
187
188javac.opt.Xlint.desc.path=\
189    Warn about invalid path elements on the command line.
190
191javac.opt.Xlint.desc.processing=\
192    Warn about issues regarding annotation processing.
193
194javac.opt.Xlint.desc.rawtypes=\
195    Warn about use of raw types.
196
197javac.opt.Xlint.desc.serial=\
198    Warn about Serializable classes that do not provide a serial version ID.
199
200javac.opt.Xlint.desc.static=\
201    Warn about accessing a static member using an instance.
202
203javac.opt.Xlint.desc.try=\
204    Warn about issues relating to use of try blocks (i.e. try-with-resources).
205
206javac.opt.Xlint.desc.unchecked=\
207    Warn about unchecked operations.
208
209javac.opt.Xlint.desc.varargs=\
210    Warn about potentially unsafe vararg methods
211
212javac.opt.Xdoclint=\
213    Enable recommended checks for problems in javadoc comments
214# L10N: do not localize: all none
215javac.opt.Xdoclint.subopts = \
216    (all|none|[-]<group>)[/<access>]
217
218# L10N: do not localize: accessibility html missing reference syntax
219# L10N: do not localize: public protected package private
220javac.opt.Xdoclint.custom=\n\
221\        Enable or disable specific checks for problems in javadoc comments,\n\
222\        where <group> is one of accessibility, html, missing, reference, or syntax,\n\
223\        and <access> is one of public, protected, package, or private.
224
225javac.opt.Xdoclint.package.args = \
226    ([-]<packages>)
227
228javac.opt.Xdoclint.package.desc=\n\
229\        Enable or disable checks in specific packages. <packages> is a comma separated\n\
230\        list of package specifiers. Package specifier is either a qualified name of a package\n\
231\        or a package name prefix followed by '.*', which expands to all sub-packages of\n\
232\        the given package. Prefix the package specifier with '-' to disable checks for\n\
233\        the specified packages.
234
235javac.opt.Xstdout=\
236    Redirect standard output
237javac.opt.X=\
238    Print a synopsis of nonstandard options
239javac.opt.help=\
240    Print a synopsis of standard options
241javac.opt.print=\
242    Print out a textual representation of specified types
243javac.opt.printRounds=\
244    Print information about rounds of annotation processing
245javac.opt.printProcessorInfo=\
246    Print information about which annotations a processor is asked to process
247javac.opt.userpathsfirst=\
248    Search classpath and sourcepath for classes before the bootclasspath instead of after
249javac.opt.prefer=\
250    Specify which file to read when both a source file and class file are found for an implicitly compiled class
251javac.opt.AT=\
252    Read options and filenames from file
253javac.opt.diags=\
254    Select a diagnostic mode
255
256## errors
257
258javac.err.empty.A.argument=\
259    -A requires an argument; use ''-Akey'' or ''-Akey=value''
260javac.err.invalid.arg=\
261    invalid argument: {0}
262javac.err.invalid.A.key=\
263     key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers
264javac.err.invalid.flag=\
265    invalid flag: {0}
266javac.err.profile.bootclasspath.conflict=\
267    profile and bootclasspath options cannot be used together
268javac.err.invalid.profile=\
269    invalid profile: {0}
270javac.err.invalid.target=\
271    invalid target release: {0}
272javac.err.no.source.files=\
273    no source files
274javac.err.no.source.files.classes=\
275    no source files or class names
276javac.err.req.arg=\
277    {0} requires an argument
278javac.err.invalid.source=\
279    invalid source release: {0}
280javac.err.error.writing.file=\
281    error writing {0}; {1}
282javac.warn.source.target.conflict=\
283    source release {0} requires target release {1}
284javac.warn.target.default.source.conflict=\
285    target release {0} conflicts with default source release {1}
286javac.warn.profile.target.conflict=\
287    profile {0} is not valid for target release {1}
288javac.err.file.not.found=\
289    file not found: {0}
290javac.err.file.not.directory=\
291    not a directory: {0}
292javac.err.file.not.file=\
293    not a file: {0}
294
295## messages
296
297javac.msg.usage.header=\
298Usage: {0} <options> <source files>\n\
299where possible options include:
300
301javac.msg.usage=\
302    Usage: {0} <options> <source files>\n\
303    use -help for a list of possible options
304
305javac.msg.usage.nonstandard.footer=\
306These options are non-standard and subject to change without notice.
307
308javac.msg.bug=\
309An exception has occurred in the compiler ({0}). \
310Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) \
311after checking the Bug Database (http://bugs.java.com) for duplicates. \
312Include your program and the following diagnostic in your report. Thank you.
313
314javac.msg.io=\
315\n\nAn input/output error occurred.\n\
316Consult the following stack trace for details.\n
317
318javac.msg.proc.annotation.uncaught.exception=\
319\n\nAn annotation processor threw an uncaught exception.\n\
320Consult the following stack trace for details.\n
321
322javac.msg.plugin.uncaught.exception=\
323\n\nA plugin threw an uncaught exception.\n\
324Consult the following stack trace for details.\n
325
326javac.msg.resource=\
327\n\nThe system is out of resources.\n\
328Consult the following stack trace for details.\n
329
330javac.version={0} {1}
331javac.fullVersion={0} full version "{1}"
332
333javac.err.release.bootclasspath.conflict=\
334    option {0} cannot be used together with -release
335
336javac.err.unsupported.release.version=\
337    release version {0} not supported
338
339javac.err.release.not.standard.file.manager=\
340    -release option specified, but the provided JavaFileManager is not a StandardJavaFileManager.
341