1 #
  2 # Copyright (c) 1999, 2021, 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 
 28 javac.opt.g=\
 29     Generate all debugging info
 30 javac.opt.g.none=\
 31     Generate no debugging info
 32 javac.opt.g.lines.vars.source=\
 33     Generate only some debugging info
 34 javac.opt.nowarn=\
 35     Generate no warnings
 36 javac.opt.verbose=\
 37     Output messages about what the compiler is doing
 38 javac.opt.deprecation=\
 39     Output source locations where deprecated APIs are used
 40 javac.opt.classpath=\
 41     Specify where to find user class files and annotation processors
 42 javac.opt.modulepath=\
 43     Specify where to find application modules
 44 javac.opt.sourcepath=\
 45     Specify where to find input source files
 46 javac.opt.m=\
 47     Compile only the specified module(s), check timestamps
 48 javac.opt.modulesourcepath=\
 49     Specify where to find input source files for multiple modules
 50 javac.opt.bootclasspath=\
 51     Override location of bootstrap class files
 52 javac.opt.system=\
 53     Override location of system modules
 54 javac.opt.upgrademodulepath=\
 55     Override location of upgradeable modules
 56 javac.opt.endorseddirs=\
 57     Override location of endorsed standards path
 58 javac.opt.extdirs=\
 59     Override location of installed extensions
 60 javac.opt.processorpath=\
 61     Specify where to find annotation processors
 62 javac.opt.processormodulepath=\
 63     Specify a module path where to find annotation processors
 64 javac.opt.processor=\
 65     Names of the annotation processors to run; bypasses default discovery process
 66 javac.opt.parameters=\
 67     Generate metadata for reflection on method parameters
 68 javac.opt.proc.none.only=\
 69     Control whether annotation processing and/or compilation is done.
 70 javac.opt.d=\
 71     Specify where to place generated class files
 72 javac.opt.sourceDest=\
 73     Specify where to place generated source files
 74 javac.opt.headerDest=\
 75     Specify where to place generated native header files
 76 javac.opt.J=\
 77     Pass <flag> directly to the runtime system
 78 javac.opt.encoding=\
 79     Specify character encoding used by source files
 80 javac.opt.profile=\
 81     Check that API used is available in the specified profile
 82 javac.opt.target=\
 83     Generate class files suitable for the specified Java SE release. Supported releases: {0}
 84 javac.opt.release=\
 85     Compile for the specified Java SE release. Supported releases: {0}
 86 javac.opt.source=\
 87     Provide source compatibility with the specified Java SE release. Supported releases: {0}
 88 javac.opt.Werror=\
 89     Terminate compilation if warnings occur
 90 javac.opt.A=\
 91     Options to pass to annotation processors
 92 javac.opt.implicit=\
 93     Specify whether or not to generate class files for implicitly referenced files
 94 javac.opt.pkginfo=\
 95     Specify handling of package-info files
 96 javac.opt.multi-release=\
 97     Specify which release to use in multi-release jars
 98 javac.opt.arg.class=\
 99     <class>
100 javac.opt.arg.class.list=\
101     <class1>[,<class2>,<class3>...]
102 javac.opt.arg.flag=\
103     <flag>
104 javac.opt.arg.key.equals.value=\
105     key[=value]
106 javac.opt.arg.path=\
107     <path>
108 javac.opt.arg.mspath=\
109     <module-source-path>
110 javac.opt.arg.m=\
111     <module>(,<module>)*
112 javac.opt.arg.jdk=\
113     <jdk>|none
114 javac.opt.arg.dirs=\
115     <dirs>
116 javac.opt.arg.directory=\
117     <directory>
118 javac.opt.arg.encoding=\
119     <encoding>
120 javac.opt.arg.profile=\
121     <profile>
122 javac.opt.arg.release=\
123     <release>
124 javac.opt.arg.release=\
125     <release>
126 javac.opt.arg.number=\
127     <number>
128 javac.opt.plugin=\
129     Name and optional arguments for a plug-in to be run
130 javac.opt.arg.plugin=\
131     "name args"
132 javac.opt.arg.multi-release=\
133     <release>
134 javac.opt.arg.default.module.for.created.files=\
135     <module-name>
136 
137 ## extended options
138 
139 javac.opt.maxerrs=\
140     Set the maximum number of errors to print
141 javac.opt.maxwarns=\
142     Set the maximum number of warnings to print
143 javac.opt.nogj=\
144     Don't accept generics in the language
145 javac.opt.moreinfo=\
146     Print extended information for type variables
147 javac.opt.printsearch=\
148     Print information where classfiles are searched
149 javac.opt.prompt=\
150     Stop after each error
151 javac.opt.s=\
152     Emit java sources instead of classfiles
153 javac.opt.version=\
154     Version information
155 javac.opt.arg.pathname=\
156     <pathname>
157 javac.opt.arg.file=\
158     <filename>
159 javac.opt.Xbootclasspath.p=\
160     Prepend to the bootstrap class path
161 javac.opt.Xbootclasspath.a=\
162     Append to the bootstrap class path
163 javac.opt.Xlint=\
164     Enable recommended warnings
165 javac.opt.Xlint.all=\
166     Enable all warnings
167 javac.opt.Xlint.none=\
168     Disable all warnings
169 #L10N: do not localize: -Xlint
170 javac.opt.arg.Xlint=\
171     <key>(,<key>)*
172 javac.opt.Xlint.custom=\
173     Warnings to enable or disable, separated by comma.\n\
174     Precede a key by '-' to disable the specified warning.\n\
175     Use --help-lint to see the supported keys.
176 javac.opt.Xlint.desc.auxiliaryclass=\
177     Warn about an auxiliary class that is hidden in a source file, and is used from other files.
178 
179 javac.opt.Xlint.desc.cast=\
180     Warn about use of unnecessary casts.
181 
182 javac.opt.Xlint.desc.classfile=\
183     Warn about issues related to classfile contents.
184 
185 javac.opt.Xlint.desc.missing-explicit-ctor=\
186     Warn about missing explicit constructors in public and protected classes in exported packages.
187 
188 javac.opt.Xlint.desc.deprecation=\
189     Warn about use of deprecated items.
190 
191 javac.opt.Xlint.desc.dep-ann=\
192     Warn about items marked as deprecated in JavaDoc but not using the @Deprecated annotation.
193 
194 javac.opt.Xlint.desc.divzero=\
195     Warn about division by constant integer 0.
196 
197 javac.opt.Xlint.desc.empty=\
198     Warn about empty statement after if.
199 
200 javac.opt.Xlint.desc.exports=\
201     Warn about issues regarding module exports.
202 
203 javac.opt.Xlint.desc.fallthrough=\
204     Warn about falling through from one case of a switch statement to the next.
205 
206 javac.opt.Xlint.desc.finally=\
207     Warn about finally clauses that do not terminate normally.
208 
209 javac.opt.Xlint.desc.module=\
210     Warn about module system related issues.
211 



212 javac.opt.Xlint.desc.opens=\
213     Warn about issues regarding module opens.
214 
215 javac.opt.Xlint.desc.options=\
216     Warn about issues relating to use of command line options.
217 
218 javac.opt.Xlint.desc.overloads=\
219     Warn about issues regarding method overloads.
220 
221 javac.opt.Xlint.desc.overrides=\
222     Warn about issues regarding method overrides.
223 
224 javac.opt.Xlint.desc.path=\
225     Warn about invalid path elements on the command line.
226 
227 javac.opt.Xlint.desc.processing=\
228     Warn about issues regarding annotation processing.
229 
230 javac.opt.Xlint.desc.rawtypes=\
231     Warn about use of raw types.
232 
233 javac.opt.Xlint.desc.removal=\
234     Warn about use of API that has been marked for removal.
235 
236 javac.opt.Xlint.desc.requires-automatic=\
237     Warn about use of automatic modules in the requires clauses.
238 
239 javac.opt.Xlint.desc.requires-transitive-automatic=\
240     Warn about automatic modules in requires transitive.
241 
242 javac.opt.Xlint.desc.serial=\
243     Warn about Serializable classes that do not provide a serial version ID. \n\
244 \                         Also warn about access to non-public members from a serializable element.
245 
246 javac.opt.Xlint.desc.static=\
247     Warn about accessing a static member using an instance.
248 
249 javac.opt.Xlint.desc.strictfp=\
250     Warn about unnecessary use of the strictfp modifier.
251 
252 javac.opt.Xlint.desc.text-blocks=\
253     Warn about inconsistent white space characters in text block indentation.
254 
255 javac.opt.Xlint.desc.try=\
256     Warn about issues relating to use of try blocks (i.e. try-with-resources).
257 
258 javac.opt.Xlint.desc.unchecked=\
259     Warn about unchecked operations.
260 
261 javac.opt.Xlint.desc.varargs=\
262     Warn about potentially unsafe vararg methods.
263 
264 javac.opt.Xlint.desc.preview=\
265     Warn about use of preview language features.
266 
267 javac.opt.Xlint.desc.synchronization=\
268     Warn about synchronization attempts on instances of value-based classes.
269 
270 javac.opt.Xdoclint=\
271     Enable recommended checks for problems in javadoc comments
272 # L10N: do not localize: all none
273 javac.opt.Xdoclint.subopts = \
274     (all|none|[-]<group>)[/<access>]
275 
276 # L10N: do not localize: accessibility html missing reference syntax
277 # L10N: do not localize: public protected package private
278 javac.opt.Xdoclint.custom=\
279     Enable or disable specific checks for problems in javadoc comments,\n\
280     where <group> is one of accessibility, html, missing, reference, or syntax,\n\
281     and <access> is one of public, protected, package, or private.
282 
283 javac.opt.Xdoclint.package.args = \
284     [-]<packages>(,[-]<package>)*
285 
286 javac.opt.Xdoclint.package.desc=\
287     Enable or disable checks in specific packages. Each <package> is either the\n\
288     qualified name of a package or a package name prefix followed by '.*', which\n\
289     expands to all sub-packages of the given package. Each <package> can be prefixed\n\
290     with '-' to disable checks for the specified package or packages.
291 
292 javac.opt.Xstdout=\
293     Redirect standard output
294 javac.opt.X=\
295     Print help on extra options
296 javac.opt.help=\
297     Print this help message
298 javac.opt.help.lint=\
299     Print the supported keys for -Xlint
300 javac.opt.help.lint.header=\
301     The supported keys for -Xlint are:
302 javac.opt.print=\
303     Print out a textual representation of specified types
304 javac.opt.printRounds=\
305     Print information about rounds of annotation processing
306 javac.opt.printProcessorInfo=\
307     Print information about which annotations a processor is asked to process
308 javac.opt.userpathsfirst=\
309     Search classpath and sourcepath for classes before the bootclasspath instead of after
310 javac.opt.prefer=\
311     Specify which file to read when both a source file and class file are found for an implicitly compiled class
312 javac.opt.preview=\
313     Enable preview language features. To be used in conjunction with either -source or --release.
314 javac.opt.AT=\
315     Read options and filenames from file
316 javac.opt.diags=\
317     Select a diagnostic mode
318 javac.opt.addExports=\
319     Specify a package to be considered as exported from its defining module\n\
320     to additional modules, or to all unnamed modules if <other-module> is ALL-UNNAMED.
321 javac.opt.arg.addExports=\
322     <module>/<package>=<other-module>(,<other-module>)*
323 javac.opt.addReads=\
324     Specify additional modules to be considered as required by a given module.\n\
325     <other-module> may be ALL-UNNAMED to require the unnamed module.
326 javac.opt.arg.addReads=\
327     <module>=<other-module>(,<other-module>)*
328 javac.opt.patch=\
329     Override or augment a module with classes and resources\n\
330     in JAR files or directories
331 javac.opt.arg.patch=\
332     <module>=<file>(:<file>)*
333 javac.opt.addmods=\
334     Root modules to resolve in addition to the initial modules, or all modules\n\
335     on the module path if <module> is ALL-MODULE-PATH.
336 javac.opt.arg.addmods=\
337     <module>(,<module>)*
338 javac.opt.limitmods=\
339     Limit the universe of observable modules
340 javac.opt.arg.limitmods=\
341     <module>(,<module>)*
342 javac.opt.module.version=\
343     Specify version of modules that are being compiled
344 javac.opt.arg.module.version=\
345     <version>
346 javac.opt.inherit_runtime_environment=\
347     Inherit module system configuration options from the runtime environment.
348 javac.opt.default.module.for.created.files=\
349     Fallback target module for files created by annotation processors, if none specified or inferred.
350 
351 ## messages
352 
353 javac.msg.usage.header=\
354 Usage: {0} <options> <source files>\n\
355 where possible options include:
356 
357 javac.msg.usage=\
358     Usage: {0} <options> <source files>\n\
359     use --help for a list of possible options
360 
361 javac.msg.usage.nonstandard.footer=\
362 These extra options are subject to change without notice.
363 
364 javac.msg.bug=\
365 An exception has occurred in the compiler ({0}). \
366 Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) \
367 after checking the Bug Database (http://bugs.java.com) for duplicates. \
368 Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.
369 
370 javac.msg.io=\
371 \n\nAn input/output error occurred.\n\
372 Consult the following stack trace for details.\n
373 
374 javac.msg.proc.annotation.uncaught.exception=\
375 \n\nAn annotation processor threw an uncaught exception.\n\
376 Consult the following stack trace for details.\n
377 
378 javac.msg.plugin.uncaught.exception=\
379 \n\nA plugin threw an uncaught exception.\n\
380 Consult the following stack trace for details.\n
381 
382 javac.msg.resource=\
383 \n\nThe system is out of resources.\n\
384 Consult the following stack trace for details.\n
385 
386 javac.version={0} {1}
387 javac.fullVersion={0} full version "{1}"
388 
389 javac.msg.parameters.output=\
390 printing javac parameters to: {0}
391 
392 javac.msg.parameters.output.error=\
393 error while trying to print javac parameters to: {0}, parameters will follow:
--- EOF ---