author | lana |
Sat, 25 Mar 2017 01:44:48 +0000 | |
changeset 44503 | 0f64385d419d |
parent 44291 | e1b620ac6c98 |
parent 44229 | 6ebcb2cb9507 |
child 44619 | 741531c07ddd |
permissions | -rw-r--r-- |
10 | 1 |
# |
43145
35ee451a5fd3
8172474: javac should enable doclint checking for HTML 5
jjg
parents:
42823
diff
changeset
|
2 |
# Copyright (c) 1999, 2017, 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 |
|
36526 | 42 |
javac.opt.modulepath=\ |
43 |
Specify where to find application modules |
|
10 | 44 |
javac.opt.sourcepath=\ |
45 |
Specify where to find input source files |
|
36526 | 46 |
javac.opt.m=\ |
47 |
Compile only the specified module, check timestamps |
|
48 |
javac.opt.modulesourcepath=\ |
|
49 |
Specify where to find input source files for multiple modules |
|
10 | 50 |
javac.opt.bootclasspath=\ |
51 |
Override location of bootstrap class files |
|
36526 | 52 |
javac.opt.system=\ |
53 |
Override location of system modules |
|
54 |
javac.opt.upgrademodulepath=\ |
|
55 |
Override location of upgradeable modules |
|
10 | 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 |
|
36526 | 62 |
javac.opt.processormodulepath=\ |
63 |
Specify a module path where to find annotation processors |
|
10 | 64 |
javac.opt.processor=\ |
65 |
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
|
66 |
javac.opt.parameters=\ |
c4fad55a5681
8004727: Add compiler support for parameter reflection
jjg
parents:
14960
diff
changeset
|
67 |
Generate metadata for reflection on method parameters |
10 | 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 |
|
12213
516b112d6c68
7150368: javac should include basic ability to generate native headers
jjg
parents:
8637
diff
changeset
|
74 |
javac.opt.headerDest=\ |
516b112d6c68
7150368: javac should include basic ability to generate native headers
jjg
parents:
8637
diff
changeset
|
75 |
Specify where to place generated native header files |
10 | 76 |
javac.opt.J=\ |
77 |
Pass <flag> directly to the runtime system |
|
78 |
javac.opt.encoding=\ |
|
79 |
Specify character encoding used by source files |
|
15724 | 80 |
javac.opt.profile=\ |
81 |
Check that API used is available in the specified profile |
|
10 | 82 |
javac.opt.target=\ |
83 |
Generate class files for specific VM version |
|
31506
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
84 |
javac.opt.release=\ |
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
85 |
Compile for a specific VM version. Supported targets: {0} |
10 | 86 |
javac.opt.source=\ |
87 |
Provide source compatibility with specified release |
|
1996 | 88 |
javac.opt.Werror=\ |
89 |
Terminate compilation if warnings occur |
|
10 | 90 |
javac.opt.A=\ |
91 |
Options to pass to annotation processors |
|
92 |
javac.opt.implicit=\ |
|
6575
ae1798028008
6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents:
5520
diff
changeset
|
93 |
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
|
94 |
javac.opt.pkginfo=\ |
ae1798028008
6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents:
5520
diff
changeset
|
95 |
Specify handling of package-info files |
37394
c36230ee15d9
8149757: Implement Multi-Release JAR aware JavacFileManager for javac
jjg
parents:
36526
diff
changeset
|
96 |
javac.opt.multi-release=\ |
c36230ee15d9
8149757: Implement Multi-Release JAR aware JavacFileManager for javac
jjg
parents:
36526
diff
changeset
|
97 |
Specify which release to use in multi-release jars |
10 | 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> |
|
36526 | 108 |
javac.opt.arg.mspath=\ |
109 |
<module-source-path> |
|
110 |
javac.opt.arg.m=\ |
|
111 |
<module-name> |
|
112 |
javac.opt.arg.jdk=\ |
|
113 |
<jdk>|none |
|
10 | 114 |
javac.opt.arg.dirs=\ |
115 |
<dirs> |
|
116 |
javac.opt.arg.directory=\ |
|
117 |
<directory> |
|
118 |
javac.opt.arg.encoding=\ |
|
119 |
<encoding> |
|
15724 | 120 |
javac.opt.arg.profile=\ |
121 |
<profile> |
|
10 | 122 |
javac.opt.arg.release=\ |
123 |
<release> |
|
31506
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
124 |
javac.opt.arg.release=\ |
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
125 |
<release> |
10 | 126 |
javac.opt.arg.number=\ |
127 |
<number> |
|
14548
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
128 |
javac.opt.plugin=\ |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
129 |
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
|
130 |
javac.opt.arg.plugin=\ |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
131 |
"name args" |
37394
c36230ee15d9
8149757: Implement Multi-Release JAR aware JavacFileManager for javac
jjg
parents:
36526
diff
changeset
|
132 |
javac.opt.arg.multi-release=\ |
c36230ee15d9
8149757: Implement Multi-Release JAR aware JavacFileManager for javac
jjg
parents:
36526
diff
changeset
|
133 |
<release> |
44291
e1b620ac6c98
8175119: Need to specify module of types created by Filer.createSourceFile/Filer.createClassFile?
jlahoda
parents:
43874
diff
changeset
|
134 |
javac.opt.arg.default.module.for.created.files=\ |
e1b620ac6c98
8175119: Need to specify module of types created by Filer.createSourceFile/Filer.createClassFile?
jlahoda
parents:
43874
diff
changeset
|
135 |
<module-name> |
10 | 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> |
|
37848
3c8ff4204d2d
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37394
diff
changeset
|
159 |
javac.opt.Xbootclasspath.p=\ |
3c8ff4204d2d
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37394
diff
changeset
|
160 |
Prepend to the bootstrap class path |
3c8ff4204d2d
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37394
diff
changeset
|
161 |
javac.opt.Xbootclasspath.a=\ |
3c8ff4204d2d
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37394
diff
changeset
|
162 |
Append to the bootstrap class path |
10 | 163 |
javac.opt.Xlint=\ |
164 |
Enable recommended warnings |
|
23114 | 165 |
javac.opt.Xlint.all=\ |
166 |
Enable all warnings |
|
167 |
javac.opt.Xlint.none=\ |
|
168 |
Disable all warnings |
|
169 |
#L10N: do not localize: -Xlint |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
170 |
javac.opt.arg.Xlint=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
171 |
<key>(,<key>)* |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
172 |
javac.opt.Xlint.custom=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
173 |
Warnings to enable or disable, separated by comma.\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
174 |
Precede a key by '-' to disable the specified warning.\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
175 |
Supported keys are: |
23114 | 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.deprecation=\ |
|
186 |
Warn about use of deprecated items. |
|
187 |
||
188 |
javac.opt.Xlint.desc.dep-ann=\ |
|
189 |
Warn about items marked as deprecated in JavaDoc but not using the @Deprecated annotation. |
|
190 |
||
191 |
javac.opt.Xlint.desc.divzero=\ |
|
192 |
Warn about division by constant integer 0. |
|
193 |
||
194 |
javac.opt.Xlint.desc.empty=\ |
|
195 |
Warn about empty statement after if. |
|
196 |
||
40775 | 197 |
javac.opt.Xlint.desc.exports=\ |
198 |
Warn about issues regarding module exports. |
|
199 |
||
23114 | 200 |
javac.opt.Xlint.desc.fallthrough=\ |
201 |
Warn about falling through from one case of a switch statement to the next. |
|
202 |
||
203 |
javac.opt.Xlint.desc.finally=\ |
|
204 |
Warn about finally clauses that do not terminate normally. |
|
205 |
||
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
41992
diff
changeset
|
206 |
javac.opt.Xlint.desc.module=\ |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
41992
diff
changeset
|
207 |
Warn about module system related issues. |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
41992
diff
changeset
|
208 |
|
43588
6a0e0ea0e93b
8172901: javac: 'opens' statement cannot specify non observable package
jjg
parents:
43145
diff
changeset
|
209 |
javac.opt.Xlint.desc.opens=\ |
6a0e0ea0e93b
8172901: javac: 'opens' statement cannot specify non observable package
jjg
parents:
43145
diff
changeset
|
210 |
Warn about issues regarding module opens. |
6a0e0ea0e93b
8172901: javac: 'opens' statement cannot specify non observable package
jjg
parents:
43145
diff
changeset
|
211 |
|
23114 | 212 |
javac.opt.Xlint.desc.options=\ |
213 |
Warn about issues relating to use of command line options. |
|
214 |
||
215 |
javac.opt.Xlint.desc.overloads=\ |
|
216 |
Warn about issues regarding method overloads. |
|
217 |
||
218 |
javac.opt.Xlint.desc.overrides=\ |
|
219 |
Warn about issues regarding method overrides. |
|
220 |
||
221 |
javac.opt.Xlint.desc.path=\ |
|
222 |
Warn about invalid path elements on the command line. |
|
223 |
||
224 |
javac.opt.Xlint.desc.processing=\ |
|
225 |
Warn about issues regarding annotation processing. |
|
226 |
||
227 |
javac.opt.Xlint.desc.rawtypes=\ |
|
228 |
Warn about use of raw types. |
|
229 |
||
41637 | 230 |
javac.opt.Xlint.desc.removal=\ |
231 |
Warn about use of API that has been marked for removal. |
|
232 |
||
23114 | 233 |
javac.opt.Xlint.desc.serial=\ |
41629 | 234 |
Warn about Serializable classes that do not provide a serial version ID. \n\ |
235 |
\ Also warn about access to non-public members from a serializable element. |
|
23114 | 236 |
|
237 |
javac.opt.Xlint.desc.static=\ |
|
238 |
Warn about accessing a static member using an instance. |
|
239 |
||
240 |
javac.opt.Xlint.desc.try=\ |
|
241 |
Warn about issues relating to use of try blocks (i.e. try-with-resources). |
|
242 |
||
243 |
javac.opt.Xlint.desc.unchecked=\ |
|
244 |
Warn about unchecked operations. |
|
245 |
||
246 |
javac.opt.Xlint.desc.varargs=\ |
|
247 |
Warn about potentially unsafe vararg methods |
|
248 |
||
14960 | 249 |
javac.opt.Xdoclint=\ |
250 |
Enable recommended checks for problems in javadoc comments |
|
18005 | 251 |
# L10N: do not localize: all none |
14960 | 252 |
javac.opt.Xdoclint.subopts = \ |
18005 | 253 |
(all|none|[-]<group>)[/<access>] |
254 |
||
255 |
# L10N: do not localize: accessibility html missing reference syntax |
|
256 |
# L10N: do not localize: public protected package private |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
257 |
javac.opt.Xdoclint.custom=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
258 |
Enable or disable specific checks for problems in javadoc comments,\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
259 |
where <group> is one of accessibility, html, missing, reference, or syntax,\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
260 |
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
|
261 |
|
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
262 |
javac.opt.Xdoclint.package.args = \ |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
263 |
[-]<packages>(,[-]<package>)* |
29427
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
264 |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
265 |
javac.opt.Xdoclint.package.desc=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
266 |
Enable or disable checks in specific packages. Each <package> is either the\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
267 |
qualified name of a package or a package name prefix followed by '.*', which\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
268 |
expands to all sub-packages of the given package. Each <package> can be prefixed\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
269 |
with '-' to disable checks for the specified package or packages. |
29427
44f4e6905b67
8071851: Provide filtering of doclint checking based on packages
jlahoda
parents:
27387
diff
changeset
|
270 |
|
43145
35ee451a5fd3
8172474: javac should enable doclint checking for HTML 5
jjg
parents:
42823
diff
changeset
|
271 |
javac.opt.doclint.format=\ |
35ee451a5fd3
8172474: javac should enable doclint checking for HTML 5
jjg
parents:
42823
diff
changeset
|
272 |
Specify the format for documentation comments |
35ee451a5fd3
8172474: javac should enable doclint checking for HTML 5
jjg
parents:
42823
diff
changeset
|
273 |
|
10 | 274 |
javac.opt.Xstdout=\ |
275 |
Redirect standard output |
|
276 |
javac.opt.X=\ |
|
42821
e5eee1c92be0
8170553: javac info options should match launcher options
jjg
parents:
41992
diff
changeset
|
277 |
Print help on extra options |
10 | 278 |
javac.opt.help=\ |
42821
e5eee1c92be0
8170553: javac info options should match launcher options
jjg
parents:
41992
diff
changeset
|
279 |
Print this help message |
10 | 280 |
javac.opt.print=\ |
281 |
Print out a textual representation of specified types |
|
282 |
javac.opt.printRounds=\ |
|
283 |
Print information about rounds of annotation processing |
|
284 |
javac.opt.printProcessorInfo=\ |
|
285 |
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
|
286 |
javac.opt.userpathsfirst=\ |
cc4f0f71a505
8028196: Javac allows timestamps inside rt.jar to affect compilation when using -sourcepath.
alundblad
parents:
23114
diff
changeset
|
287 |
Search classpath and sourcepath for classes before the bootclasspath instead of after |
10 | 288 |
javac.opt.prefer=\ |
289 |
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
|
290 |
javac.opt.AT=\ |
be1b564b50aa
6980021: javac should document @file command line option
jjg
parents:
8623
diff
changeset
|
291 |
Read options and filenames from file |
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
15724
diff
changeset
|
292 |
javac.opt.diags=\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
15724
diff
changeset
|
293 |
Select a diagnostic mode |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
294 |
javac.opt.addExports=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
295 |
Specify a package to be considered as exported from its defining module\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
296 |
to additional modules, or to all unnamed modules if <other-module> is ALL-UNNAMED. |
36526 | 297 |
javac.opt.arg.addExports=\ |
298 |
<module>/<package>=<other-module>(,<other-module>)* |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
299 |
javac.opt.addReads=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
300 |
Specify additional modules to be considered as required by a given module.\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
301 |
<other-module> may be ALL-UNNAMED to require the unnamed module. |
36526 | 302 |
javac.opt.arg.addReads=\ |
303 |
<module>=<other-module>(,<other-module>)* |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
304 |
javac.opt.patch=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
305 |
Override or augment a module with classes and resources\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
306 |
in JAR files or directories |
37848
3c8ff4204d2d
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37394
diff
changeset
|
307 |
javac.opt.arg.patch=\ |
3c8ff4204d2d
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37394
diff
changeset
|
308 |
<module>=<file>(:<file>)* |
36526 | 309 |
javac.opt.module=\ |
310 |
Specify a module to which the classes being compiled belong. |
|
311 |
javac.opt.arg.module=\ |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
312 |
<module> |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
313 |
javac.opt.addmods=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
314 |
Root modules to resolve in addition to the initial modules, or all modules\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
315 |
on the module path if <module> is ALL-MODULE-PATH. |
36526 | 316 |
javac.opt.arg.addmods=\ |
317 |
<module>(,<module>)* |
|
318 |
javac.opt.limitmods=\ |
|
319 |
Limit the universe of observable modules |
|
320 |
javac.opt.arg.limitmods=\ |
|
321 |
<module>(,<module>)* |
|
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
41992
diff
changeset
|
322 |
javac.opt.module.version=\ |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
41992
diff
changeset
|
323 |
Specify version of modules that are being compiled |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
41992
diff
changeset
|
324 |
javac.opt.arg.module.version=\ |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
41992
diff
changeset
|
325 |
<version> |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
326 |
javac.opt.inherit_runtime_environment=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
327 |
Inherit module system configuration options from the runtime environment. |
44291
e1b620ac6c98
8175119: Need to specify module of types created by Filer.createSourceFile/Filer.createClassFile?
jlahoda
parents:
43874
diff
changeset
|
328 |
javac.opt.default.module.for.created.files=\ |
e1b620ac6c98
8175119: Need to specify module of types created by Filer.createSourceFile/Filer.createClassFile?
jlahoda
parents:
43874
diff
changeset
|
329 |
Fallback target module for files created by annotation processors, if none specified or inferred. |
10 | 330 |
|
331 |
## errors |
|
332 |
||
333 |
javac.err.empty.A.argument=\ |
|
334 |
-A requires an argument; use ''-Akey'' or ''-Akey=value'' |
|
335 |
javac.err.invalid.arg=\ |
|
336 |
invalid argument: {0} |
|
337 |
javac.err.invalid.A.key=\ |
|
338 |
key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers |
|
339 |
javac.err.invalid.flag=\ |
|
340 |
invalid flag: {0} |
|
19489
387a4dd51adf
8009640: -profile <compact> does not work when -bootclasspath specified
vromero
parents:
18005
diff
changeset
|
341 |
javac.err.profile.bootclasspath.conflict=\ |
387a4dd51adf
8009640: -profile <compact> does not work when -bootclasspath specified
vromero
parents:
18005
diff
changeset
|
342 |
profile and bootclasspath options cannot be used together |
15724 | 343 |
javac.err.invalid.profile=\ |
344 |
invalid profile: {0} |
|
10 | 345 |
javac.err.invalid.target=\ |
346 |
invalid target release: {0} |
|
36526 | 347 |
javac.err.option.not.allowed.with.target=\ |
348 |
option {0} not allowed with target {1} |
|
349 |
javac.err.option.too.many=\ |
|
350 |
option {0} can only be specified once |
|
10 | 351 |
javac.err.no.source.files=\ |
352 |
no source files |
|
8623
cc57bd7697a2
6986895: compiler gives misleading message for no input files
jjg
parents:
7681
diff
changeset
|
353 |
javac.err.no.source.files.classes=\ |
cc57bd7697a2
6986895: compiler gives misleading message for no input files
jjg
parents:
7681
diff
changeset
|
354 |
no source files or class names |
10 | 355 |
javac.err.req.arg=\ |
356 |
{0} requires an argument |
|
357 |
javac.err.invalid.source=\ |
|
358 |
invalid source release: {0} |
|
359 |
javac.err.error.writing.file=\ |
|
360 |
error writing {0}; {1} |
|
36526 | 361 |
javac.err.sourcepath.modulesourcepath.conflict=\ |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
362 |
cannot specify both --source-path and --module-source-path |
10 | 363 |
javac.warn.source.target.conflict=\ |
364 |
source release {0} requires target release {1} |
|
365 |
javac.warn.target.default.source.conflict=\ |
|
366 |
target release {0} conflicts with default source release {1} |
|
15724 | 367 |
javac.warn.profile.target.conflict=\ |
368 |
profile {0} is not valid for target release {1} |
|
10 | 369 |
javac.err.file.not.found=\ |
370 |
file not found: {0} |
|
371 |
javac.err.file.not.directory=\ |
|
372 |
not a directory: {0} |
|
373 |
javac.err.file.not.file=\ |
|
374 |
not a file: {0} |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
375 |
javac.err.cannot.access.runtime.env=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
376 |
cannot access runtime environment |
44229
6ebcb2cb9507
8167638: javac can improve the error message issued when IllegalAccessError is produced
vromero
parents:
43874
diff
changeset
|
377 |
javac.err.two.class.loaders.1=\ |
6ebcb2cb9507
8167638: javac can improve the error message issued when IllegalAccessError is produced
vromero
parents:
43874
diff
changeset
|
378 |
javac is split between multiple class loaders: check your configuration |
6ebcb2cb9507
8167638: javac can improve the error message issued when IllegalAccessError is produced
vromero
parents:
43874
diff
changeset
|
379 |
javac.err.two.class.loaders.2=\ |
6ebcb2cb9507
8167638: javac can improve the error message issued when IllegalAccessError is produced
vromero
parents:
43874
diff
changeset
|
380 |
javac is split between multiple class loaders:\n\ |
6ebcb2cb9507
8167638: javac can improve the error message issued when IllegalAccessError is produced
vromero
parents:
43874
diff
changeset
|
381 |
one class comes from file: {0}\n\ |
6ebcb2cb9507
8167638: javac can improve the error message issued when IllegalAccessError is produced
vromero
parents:
43874
diff
changeset
|
382 |
while javac comes from {1} |
41938
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41637
diff
changeset
|
383 |
javac.err.bad.value.for.option=\ |
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41637
diff
changeset
|
384 |
bad value for {0} option: ''{1}'' |
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41637
diff
changeset
|
385 |
javac.err.no.value.for.option=\ |
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41637
diff
changeset
|
386 |
no value for {0} option |
41992
720257f5307d
8169447: javac should detect/reject repeated use of --patch-module on command line
jjg
parents:
41938
diff
changeset
|
387 |
javac.err.repeated.value.for.patch.module=\ |
720257f5307d
8169447: javac should detect/reject repeated use of --patch-module on command line
jjg
parents:
41938
diff
changeset
|
388 |
--patch-module specified more than once for {0} |
27387
54142fc27e8a
8063039: incorrect message reference or broken message file
jjg
parents:
25874
diff
changeset
|
389 |
|
43874
d49715456f51
8173308: JAVAC_OPTIONS should be updated to align with JAVA_OPTIONS
ksrini
parents:
43588
diff
changeset
|
390 |
javac.err.unmatched.quote=\ |
d49715456f51
8173308: JAVAC_OPTIONS should be updated to align with JAVA_OPTIONS
ksrini
parents:
43588
diff
changeset
|
391 |
unmatched quote in environment variable %s |
d49715456f51
8173308: JAVAC_OPTIONS should be updated to align with JAVA_OPTIONS
ksrini
parents:
43588
diff
changeset
|
392 |
|
10 | 393 |
## messages |
394 |
||
395 |
javac.msg.usage.header=\ |
|
396 |
Usage: {0} <options> <source files>\n\ |
|
397 |
where possible options include: |
|
398 |
||
399 |
javac.msg.usage=\ |
|
400 |
Usage: {0} <options> <source files>\n\ |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
37848
diff
changeset
|
401 |
use --help for a list of possible options |
10 | 402 |
|
403 |
javac.msg.usage.nonstandard.footer=\ |
|
42821
e5eee1c92be0
8170553: javac info options should match launcher options
jjg
parents:
41992
diff
changeset
|
404 |
These extra options are 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
|
405 |
|
10 | 406 |
javac.msg.bug=\ |
407 |
An exception has occurred in the compiler ({0}). \ |
|
32909 | 408 |
Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) \ |
409 |
after checking the Bug Database (http://bugs.java.com) for duplicates. \ |
|
410 |
Include your program and the following diagnostic in your report. Thank you. |
|
10 | 411 |
|
412 |
javac.msg.io=\ |
|
413 |
\n\nAn input/output error occurred.\n\ |
|
414 |
Consult the following stack trace for details.\n |
|
415 |
||
416 |
javac.msg.proc.annotation.uncaught.exception=\ |
|
417 |
\n\nAn annotation processor threw an uncaught exception.\n\ |
|
418 |
Consult the following stack trace for details.\n |
|
419 |
||
14548
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
420 |
javac.msg.plugin.uncaught.exception=\ |
aa687b312c97
8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents:
12213
diff
changeset
|
421 |
\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
|
422 |
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
|
423 |
|
10 | 424 |
javac.msg.resource=\ |
425 |
\n\nThe system is out of resources.\n\ |
|
426 |
Consult the following stack trace for details.\n |
|
427 |
||
428 |
javac.version={0} {1} |
|
429 |
javac.fullVersion={0} full version "{1}" |
|
31506
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
430 |
|
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
431 |
javac.err.release.bootclasspath.conflict=\ |
40762
f8883aa0053c
8160851: Remove old launcher module-related options
mchung
parents:
40308
diff
changeset
|
432 |
option {0} cannot be used together with --release |
31506
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
433 |
|
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
434 |
javac.err.unsupported.release.version=\ |
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
435 |
release version {0} not supported |
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
436 |
|
4e07f827a794
8072480: javac should support compilation for a specific platform version
jlahoda
parents:
30017
diff
changeset
|
437 |
javac.err.release.not.standard.file.manager=\ |
40762
f8883aa0053c
8160851: Remove old launcher module-related options
mchung
parents:
40308
diff
changeset
|
438 |
--release option specified, but the provided JavaFileManager is not a StandardJavaFileManager. |