author | jlahoda |
Wed, 11 Mar 2015 22:24:05 +0100 | |
changeset 29427 | 44f4e6905b67 |
parent 27387 | 54142fc27e8a |
child 30017 | e36081ad2470 |
permissions | -rw-r--r-- |
10 | 1 |
# |
23114 | 2 |
# Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
10 | 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 |
|
5520 | 7 |
# published by the Free Software Foundation. Oracle designates this |
10 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5520 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
10 | 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 |
# |
|
5520 | 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. |
|
10 | 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.sourcepath=\ |
|
43 |
Specify where to find input source files |
|
44 |
javac.opt.bootclasspath=\ |
|
45 |
Override location of bootstrap class files |
|
46 |
javac.opt.Xbootclasspath.p=\ |
|
47 |
Prepend to the bootstrap class path |
|
48 |
javac.opt.Xbootclasspath.a=\ |
|
49 |
Append to the bootstrap class path |
|
50 |
javac.opt.endorseddirs=\ |
|
51 |
Override location of endorsed standards path |
|
52 |
javac.opt.extdirs=\ |
|
53 |
Override location of installed extensions |
|
54 |
javac.opt.processorpath=\ |
|
55 |
Specify where to find annotation processors |
|
56 |
javac.opt.processor=\ |
|
57 |
Names of the annotation processors to run; bypasses default discovery process |
|
15031
c4fad55a5681
8004727: Add compiler support for parameter reflection
jjg
parents:
14960
diff
changeset
|
58 |
javac.opt.parameters=\ |
c4fad55a5681
8004727: Add compiler support for parameter reflection
jjg
parents:
14960
diff
changeset
|
59 |
Generate metadata for reflection on method parameters |
10 | 60 |
javac.opt.proc.none.only=\ |
61 |
Control whether annotation processing and/or compilation is done. |
|
62 |
javac.opt.d=\ |
|
63 |
Specify where to place generated class files |
|
64 |
javac.opt.sourceDest=\ |
|
65 |
Specify where to place generated source files |
|
12213
516b112d6c68
7150368: javac should include basic ability to generate native headers
jjg
parents:
8637
diff
changeset
|
66 |
javac.opt.headerDest=\ |
516b112d6c68
7150368: javac should include basic ability to generate native headers
jjg
parents:
8637
diff
changeset
|
67 |
Specify where to place generated native header files |
10 | 68 |
javac.opt.J=\ |
69 |
Pass <flag> directly to the runtime system |
|
70 |
javac.opt.encoding=\ |
|
71 |
Specify character encoding used by source files |
|
15724 | 72 |
javac.opt.profile=\ |
73 |
Check that API used is available in the specified profile |
|
10 | 74 |
javac.opt.target=\ |
75 |
Generate class files for specific VM version |
|
76 |
javac.opt.source=\ |
|
77 |
Provide source compatibility with specified release |
|
1996 | 78 |
javac.opt.Werror=\ |
79 |
Terminate compilation if warnings occur |
|
10 | 80 |
javac.opt.A=\ |
81 |
Options to pass to annotation processors |
|
82 |
javac.opt.implicit=\ |
|
6575
ae1798028008
6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents:
5520
diff
changeset
|
83 |
Specify whether or not to generate class files for implicitly referenced files |
ae1798028008
6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents:
5520
diff
changeset
|
84 |
javac.opt.pkginfo=\ |
ae1798028008
6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents:
5520
diff
changeset
|
85 |
Specify handling of package-info files |
10 | 86 |
javac.opt.arg.class=\ |
87 |
<class> |
|
88 |
javac.opt.arg.class.list=\ |
|
89 |
<class1>[,<class2>,<class3>...] |
|
90 |
javac.opt.arg.flag=\ |
|
91 |
<flag> |
|
92 |
javac.opt.arg.key.equals.value=\ |
|
93 |
key[=value] |
|
94 |
javac.opt.arg.path=\ |
|
95 |
<path> |
|
96 |
javac.opt.arg.dirs=\ |
|
97 |
<dirs> |
|
98 |
javac.opt.arg.directory=\ |
|
99 |
<directory> |
|
100 |
javac.opt.arg.encoding=\ |
|
101 |
<encoding> |
|
15724 | 102 |
javac.opt.arg.profile=\ |
103 |
<profile> |
|
10 | 104 |
javac.opt.arg.release=\ |
105 |
<release> |
|
106 |
javac.opt.arg.number=\ |
|
107 |
<number> |
|
14548
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
108 |
javac.opt.plugin=\ |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
109 |
Name and optional arguments for a plug-in to be run |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
110 |
javac.opt.arg.plugin=\ |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
111 |
"name args" |
10 | 112 |
|
113 |
## extended options |
|
114 |
||
115 |
javac.opt.maxerrs=\ |
|
116 |
Set the maximum number of errors to print |
|
117 |
javac.opt.maxwarns=\ |
|
118 |
Set the maximum number of warnings to print |
|
119 |
javac.opt.nogj=\ |
|
120 |
Don't accept generics in the language |
|
121 |
javac.opt.moreinfo=\ |
|
122 |
Print extended information for type variables |
|
123 |
javac.opt.printflat=\ |
|
124 |
Print abstract syntax tree after inner class conversion |
|
125 |
javac.opt.printsearch=\ |
|
126 |
Print information where classfiles are searched |
|
127 |
javac.opt.prompt=\ |
|
128 |
Stop after each error |
|
129 |
javac.opt.retrofit=\ |
|
130 |
Retrofit existing classfiles with generic types |
|
131 |
javac.opt.s=\ |
|
132 |
Emit java sources instead of classfiles |
|
133 |
javac.opt.scramble=\ |
|
134 |
Scramble private identifiers in bytecode |
|
135 |
javac.opt.scrambleall=\ |
|
136 |
Scramble package visible identifiers in bytecode |
|
137 |
javac.opt.version=\ |
|
138 |
Version information |
|
139 |
javac.opt.arg.pathname=\ |
|
140 |
<pathname> |
|
141 |
javac.opt.arg.file=\ |
|
142 |
<filename> |
|
143 |
javac.opt.Xlint=\ |
|
144 |
Enable recommended warnings |
|
23114 | 145 |
javac.opt.Xlint.all=\ |
146 |
Enable all warnings |
|
147 |
javac.opt.Xlint.none=\ |
|
148 |
Disable all warnings |
|
149 |
#L10N: do not localize: -Xlint |
|
150 |
javac.opt.Xlint.subopts=\ |
|
151 |
-Xlint:key,... |
|
152 |
javac.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: |
|
156 |
javac.opt.Xlint.desc.auxiliaryclass=\ |
|
157 |
Warn about an auxiliary class that is hidden in a source file, and is used from other files. |
|
158 |
||
159 |
javac.opt.Xlint.desc.cast=\ |
|
160 |
Warn about use of unnecessary casts. |
|
161 |
||
162 |
javac.opt.Xlint.desc.classfile=\ |
|
163 |
Warn about issues related to classfile contents. |
|
164 |
||
165 |
javac.opt.Xlint.desc.deprecation=\ |
|
166 |
Warn about use of deprecated items. |
|
167 |
||
168 |
javac.opt.Xlint.desc.dep-ann=\ |
|
169 |
Warn about items marked as deprecated in JavaDoc but not using the @Deprecated annotation. |
|
170 |
||
171 |
javac.opt.Xlint.desc.divzero=\ |
|
172 |
Warn about division by constant integer 0. |
|
173 |
||
174 |
javac.opt.Xlint.desc.empty=\ |
|
175 |
Warn about empty statement after if. |
|
176 |
||
177 |
javac.opt.Xlint.desc.fallthrough=\ |
|
178 |
Warn about falling through from one case of a switch statement to the next. |
|
179 |
||
180 |
javac.opt.Xlint.desc.finally=\ |
|
181 |
Warn about finally clauses that do not terminate normally. |
|
182 |
||
183 |
javac.opt.Xlint.desc.options=\ |
|
184 |
Warn about issues relating to use of command line options. |
|
185 |
||
186 |
javac.opt.Xlint.desc.overloads=\ |
|
187 |
Warn about issues regarding method overloads. |
|
188 |
||
189 |
javac.opt.Xlint.desc.overrides=\ |
|
190 |
Warn about issues regarding method overrides. |
|
191 |
||
192 |
javac.opt.Xlint.desc.path=\ |
|
193 |
Warn about invalid path elements on the command line. |
|
194 |
||
195 |
javac.opt.Xlint.desc.processing=\ |
|
196 |
Warn about issues regarding annotation processing. |
|
197 |
||
198 |
javac.opt.Xlint.desc.rawtypes=\ |
|
199 |
Warn about use of raw types. |
|
200 |
||
201 |
javac.opt.Xlint.desc.serial=\ |
|
202 |
Warn about Serializable classes that do not provide a serial version ID. |
|
203 |
||
204 |
javac.opt.Xlint.desc.static=\ |
|
205 |
Warn about accessing a static member using an instance. |
|
206 |
||
207 |
javac.opt.Xlint.desc.sunapi=\ |
|
208 |
Warn about proprietary API that may be removed in a future release. |
|
209 |
||
210 |
javac.opt.Xlint.desc.try=\ |
|
211 |
Warn about issues relating to use of try blocks (i.e. try-with-resources). |
|
212 |
||
213 |
javac.opt.Xlint.desc.unchecked=\ |
|
214 |
Warn about unchecked operations. |
|
215 |
||
216 |
javac.opt.Xlint.desc.varargs=\ |
|
217 |
Warn about potentially unsafe vararg methods |
|
218 |
||
14960 | 219 |
javac.opt.Xdoclint=\ |
220 |
Enable recommended checks for problems in javadoc comments |
|
18005 | 221 |
# L10N: do not localize: all none |
14960 | 222 |
javac.opt.Xdoclint.subopts = \ |
18005 | 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 |
|
14960 | 227 |
javac.opt.Xdoclint.custom=\n\ |
228 |
\ Enable or disable specific checks for problems in javadoc comments,\n\ |
|
18005 | 229 |
\ where <group> is one of accessibility, html, missing, reference, or syntax,\n\ |
14960 | 230 |
\ and <access> is one of public, protected, package, or private. |
29427
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
231 |
|
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
232 |
javac.opt.Xdoclint.package.args = \ |
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
233 |
([-]<packages>) |
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
234 |
|
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
235 |
javac.opt.Xdoclint.package.desc=\n\ |
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
236 |
\ Enable or disable checks in specific packages. <packages> is a comma separated\n\ |
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
237 |
\ list of package specifiers. Package specifier is either a qualified name of a package\n\ |
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
238 |
\ or a package name prefix followed by '.*', which expands to all sub-packages of\n\ |
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
239 |
\ the given package. Prefix the package specifier with '-' to disable checks for\n\ |
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
240 |
\ the specified packages. |
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
241 |
|
10 | 242 |
javac.opt.Xstdout=\ |
243 |
Redirect standard output |
|
244 |
javac.opt.X=\ |
|
245 |
Print a synopsis of nonstandard options |
|
246 |
javac.opt.help=\ |
|
247 |
Print a synopsis of standard options |
|
248 |
javac.opt.print=\ |
|
249 |
Print out a textual representation of specified types |
|
250 |
javac.opt.printRounds=\ |
|
251 |
Print information about rounds of annotation processing |
|
252 |
javac.opt.printProcessorInfo=\ |
|
253 |
Print information about which annotations a processor is asked to process |
|
24298
cc4f0f71a505
8028196: Javac allows timestamps inside rt.jar to affect compilation when using -sourcepath.
alundblad
parents:
23114
diff
changeset
|
254 |
javac.opt.userpathsfirst=\ |
cc4f0f71a505
8028196: Javac allows timestamps inside rt.jar to affect compilation when using -sourcepath.
alundblad
parents:
23114
diff
changeset
|
255 |
Search classpath and sourcepath for classes before the bootclasspath instead of after |
10 | 256 |
javac.opt.prefer=\ |
257 |
Specify which file to read when both a source file and class file are found for an implicitly compiled class |
|
8637
be1b564b50aa
6980021: javac should document @file command line option
jjg
parents:
8623
diff
changeset
|
258 |
javac.opt.AT=\ |
be1b564b50aa
6980021: javac should document @file command line option
jjg
parents:
8623
diff
changeset
|
259 |
Read options and filenames from file |
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
15724
diff
changeset
|
260 |
javac.opt.diags=\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
15724
diff
changeset
|
261 |
Select a diagnostic mode |
10 | 262 |
|
263 |
## errors |
|
264 |
||
265 |
javac.err.empty.A.argument=\ |
|
266 |
-A requires an argument; use ''-Akey'' or ''-Akey=value'' |
|
267 |
javac.err.invalid.arg=\ |
|
268 |
invalid argument: {0} |
|
269 |
javac.err.invalid.A.key=\ |
|
270 |
key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers |
|
271 |
javac.err.invalid.flag=\ |
|
272 |
invalid flag: {0} |
|
19489
387a4dd51adf
8009640: -profile <compact> does not work when -bootclasspath specified
vromero
parents:
18005
diff
changeset
|
273 |
javac.err.profile.bootclasspath.conflict=\ |
387a4dd51adf
8009640: -profile <compact> does not work when -bootclasspath specified
vromero
parents:
18005
diff
changeset
|
274 |
profile and bootclasspath options cannot be used together |
15724 | 275 |
javac.err.invalid.profile=\ |
276 |
invalid profile: {0} |
|
10 | 277 |
javac.err.invalid.target=\ |
278 |
invalid target release: {0} |
|
279 |
javac.err.no.source.files=\ |
|
280 |
no source files |
|
8623
cc57bd7697a2
6986895: compiler gives misleading message for no input files
jjg
parents:
7681
diff
changeset
|
281 |
javac.err.no.source.files.classes=\ |
cc57bd7697a2
6986895: compiler gives misleading message for no input files
jjg
parents:
7681
diff
changeset
|
282 |
no source files or class names |
10 | 283 |
javac.err.req.arg=\ |
284 |
{0} requires an argument |
|
285 |
javac.err.invalid.source=\ |
|
286 |
invalid source release: {0} |
|
287 |
javac.err.error.writing.file=\ |
|
288 |
error writing {0}; {1} |
|
289 |
javac.warn.source.target.conflict=\ |
|
290 |
source release {0} requires target release {1} |
|
291 |
javac.warn.target.default.source.conflict=\ |
|
292 |
target release {0} conflicts with default source release {1} |
|
15724 | 293 |
javac.warn.profile.target.conflict=\ |
294 |
profile {0} is not valid for target release {1} |
|
10 | 295 |
javac.err.dir.not.found=\ |
296 |
directory not found: {0} |
|
297 |
javac.err.file.not.found=\ |
|
298 |
file not found: {0} |
|
299 |
javac.err.file.not.directory=\ |
|
300 |
not a directory: {0} |
|
301 |
javac.err.file.not.file=\ |
|
302 |
not a file: {0} |
|
27387
54142fc27e8a
8063039: incorrect message reference or broken message file
jjg
parents:
25874
diff
changeset
|
303 |
|
10 | 304 |
## messages |
305 |
||
306 |
javac.msg.usage.header=\ |
|
307 |
Usage: {0} <options> <source files>\n\ |
|
308 |
where possible options include: |
|
309 |
||
310 |
javac.msg.usage=\ |
|
311 |
Usage: {0} <options> <source files>\n\ |
|
312 |
use -help for a list of possible options |
|
313 |
||
314 |
javac.msg.usage.nonstandard.footer=\ |
|
315 |
These options are non-standard and subject to change without notice. |
|
6575
ae1798028008
6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents:
5520
diff
changeset
|
316 |
|
10 | 317 |
javac.msg.bug=\ |
318 |
An exception has occurred in the compiler ({0}). \ |
|
319 |
Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) \ |
|
320 |
after checking the Bug Parade for duplicates. \ |
|
321 |
Include your program and the following diagnostic in your report. Thank you. |
|
322 |
||
323 |
javac.msg.io=\ |
|
324 |
\n\nAn input/output error occurred.\n\ |
|
325 |
Consult the following stack trace for details.\n |
|
326 |
||
327 |
javac.msg.proc.annotation.uncaught.exception=\ |
|
328 |
\n\nAn annotation processor threw an uncaught exception.\n\ |
|
329 |
Consult the following stack trace for details.\n |
|
330 |
||
14548
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
331 |
javac.msg.plugin.uncaught.exception=\ |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
332 |
\n\nA plugin threw an uncaught exception.\n\ |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
333 |
Consult the following stack trace for details.\n |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
334 |
|
10 | 335 |
javac.msg.resource=\ |
336 |
\n\nThe system is out of resources.\n\ |
|
337 |
Consult the following stack trace for details.\n |
|
338 |
||
339 |
javac.version={0} {1} |
|
340 |
javac.fullVersion={0} full version "{1}" |