author | attila |
Wed, 26 Feb 2014 13:17:57 +0100 | |
changeset 24719 | f726e9d67629 |
parent 19632 | c9d704ad422e |
child 24751 | ccbd9cd3f720 |
permissions | -rw-r--r-- |
16147 | 1 |
# |
16151 | 2 |
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
16147 | 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 |
option.error.invalid.option="{0}" is not a recognized option. Use "{1}" or "{2}" to see a list of all supported options. |
|
26 |
||
27 |
nashorn.options = Usage: jjs [option=value]* [filename.js]+ [-- options...]\n\ |
|
28 |
\n\ |
|
29 |
Valid options are: |
|
30 |
||
31 |
# |
|
32 |
# Localized meta descriptions |
|
33 |
# |
|
34 |
nashorn.options.param = param |
|
35 |
nashorn.options.default = default |
|
36 |
||
37 |
# |
|
38 |
# Which option is "help". |
|
39 |
# |
|
40 |
nashorn.options.help.key = nashorn.option.help |
|
41 |
||
42 |
# |
|
43 |
# Which option is "xhelp". |
|
44 |
# |
|
45 |
nashorn.options.xhelp.key = nashorn.option.xhelp |
|
46 |
||
47 |
# |
|
48 |
# Which option is "D". |
|
49 |
# |
|
50 |
nashorn.options.D.key = nashorn.option.D |
|
51 |
||
52 |
## |
|
53 |
## Grammar: at least short or long form. Arguments are optional, in that case they are given as |
|
54 |
## |
|
55 |
## params - a description of the parameters for command line usage |
|
56 |
## name - the name of the option, e.g. "--long-name" |
|
57 |
## short_name - the short name of the option, e.g. "-l" |
|
58 |
## type - the type of the option, currently allowed: boolean, integer, string, log, timezone. defaults to boolean if left out |
|
59 |
## is_undocumented - should this option never appear in the online help. defaults to no. |
|
60 |
## desc - description of what the option does |
|
61 |
## default - default value of the option. e.g. debug.lines is true by default. Not set means option not available by default |
|
18335
1b5fdae617cf
8016550: nashorn.option.no.syntax.extensions has the wrong default
sundar
parents:
17776
diff
changeset
|
62 |
## dependency - does this arg imply another arg. |
16147 | 63 |
## confict - does this arg conflict with another arg e.g trace && instrument |
64 |
## value_next_arg - is the opton's value passed as next argument in command line? |
|
65 |
## |
|
66 |
## At least short_name or name needs to be in place for an argument descriptor to be valid. |
|
67 |
||
68 |
nashorn.option.help = { \ |
|
69 |
name="-help", \ |
|
70 |
short_name="-h", \ |
|
71 |
desc="Print help for command line flags." \ |
|
72 |
} |
|
73 |
||
74 |
nashorn.option.xhelp = { \ |
|
75 |
name="-xhelp", \ |
|
76 |
is_undocumented=true, \ |
|
77 |
desc="Print extended help for command line flags." \ |
|
78 |
} |
|
79 |
||
80 |
nashorn.option.class.cache.size ={ \ |
|
81 |
name="--class-cache-size", \ |
|
18335
1b5fdae617cf
8016550: nashorn.option.no.syntax.extensions has the wrong default
sundar
parents:
17776
diff
changeset
|
82 |
short_name="-ccs", \ |
16147 | 83 |
desc="Size of the Class cache size per global scope.", \ |
84 |
is_undocumented=true, \ |
|
16770 | 85 |
type=Integer, \ |
86 |
default=50 \ |
|
16147 | 87 |
} |
88 |
||
89 |
nashorn.option.classpath ={ \ |
|
90 |
name="-classpath", \ |
|
91 |
short_name="-cp", \ |
|
92 |
desc="-cp path. Specify where to find user class files.", \ |
|
93 |
value_next_arg=true, \ |
|
94 |
type=String \ |
|
95 |
} |
|
96 |
||
97 |
nashorn.option.compile.only = { \ |
|
16770 | 98 |
name="--compile-only", \ |
16147 | 99 |
short_name="-co", \ |
100 |
is_undocumented=true, \ |
|
101 |
desc="Compile without running.", \ |
|
102 |
type=Boolean \ |
|
103 |
} |
|
104 |
||
105 |
nashorn.option.d = { \ |
|
106 |
name="--dump-debug-dir", \ |
|
107 |
short_name="-d", \ |
|
108 |
is_undocumented=true, \ |
|
109 |
params="<path>", \ |
|
110 |
desc="specify a destination directory to dump class files.", \ |
|
111 |
type=String \ |
|
112 |
} |
|
113 |
||
16770 | 114 |
nashorn.option.doe = { \ |
115 |
name="-dump-on-error", \ |
|
116 |
short_name="-doe", \ |
|
117 |
desc="Dump a stack trace on errors." \ |
|
16147 | 118 |
} |
119 |
||
120 |
nashorn.option.empty.statements = { \ |
|
121 |
name="--empty-statements", \ |
|
122 |
is_undocumented=true, \ |
|
123 |
desc="Preserve empty statements in AST." \ |
|
124 |
} |
|
125 |
||
126 |
nashorn.option.early.lvalue.error = { \ |
|
127 |
name="--early-lvalue-error", \ |
|
128 |
is_undocumented=true, \ |
|
129 |
desc="invalid lvalue expressions should be reported as early errors.", \ |
|
130 |
type=Boolean, \ |
|
131 |
default=true \ |
|
132 |
} |
|
133 |
||
134 |
nashorn.option.fullversion = { \ |
|
135 |
name="-fullversion", \ |
|
136 |
short_name="-fv", \ |
|
137 |
desc="Print full version info of Nashorn." \ |
|
138 |
} |
|
139 |
||
17257
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
140 |
nashorn.option.function.statement.error= { \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
141 |
name="--function-statement-error", \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
142 |
desc="Report an error when function declaration is used as a statement.", \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
143 |
is_undocumented=true, \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
144 |
default=false \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
145 |
} |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
146 |
|
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
147 |
nashorn.option.function.statement.warning = { \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
148 |
name="--function-statement-warning", \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
149 |
desc="Warn when function declaration is used as a statement.", \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
150 |
is_undocumented=true, \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
151 |
default=false \ |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
152 |
} |
a2232050cd8f
8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila
parents:
17244
diff
changeset
|
153 |
|
17244 | 154 |
nashorn.option.fx = { \ |
155 |
name="-fx", \ |
|
156 |
desc="Launch script as an fx application.", \ |
|
157 |
default=false \ |
|
158 |
} |
|
159 |
||
19623
53207b2e3a7d
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
sundar
parents:
19619
diff
changeset
|
160 |
nashorn.option.global.per.engine = { \ |
53207b2e3a7d
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
sundar
parents:
19619
diff
changeset
|
161 |
name="--global-per-engine", \ |
53207b2e3a7d
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
sundar
parents:
19619
diff
changeset
|
162 |
desc="Use single Global instance per script engine instance.", \ |
53207b2e3a7d
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
sundar
parents:
19619
diff
changeset
|
163 |
is_undocumented=true, \ |
53207b2e3a7d
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
sundar
parents:
19619
diff
changeset
|
164 |
type=Boolean, \ |
53207b2e3a7d
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
sundar
parents:
19619
diff
changeset
|
165 |
default=false \ |
53207b2e3a7d
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
sundar
parents:
19619
diff
changeset
|
166 |
} |
53207b2e3a7d
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
sundar
parents:
19619
diff
changeset
|
167 |
|
16147 | 168 |
nashorn.option.log = { \ |
169 |
name="--log", \ |
|
170 |
is_undocumented=true, \ |
|
171 |
params="<module:level>,*", \ |
|
172 |
desc="Enable logging of a given level for a given number of sub systems. \ |
|
173 |
[for example: --log=fields:finest,codegen:info]", \ |
|
174 |
type=Log \ |
|
175 |
} |
|
176 |
||
177 |
nashorn.option.debug.lines = { \ |
|
178 |
name="--debug-lines", \ |
|
179 |
is_undocumented=true, \ |
|
180 |
desc="Generate line number table in .class files.", \ |
|
181 |
default=true \ |
|
182 |
} |
|
183 |
||
184 |
nashorn.option.debug.locals = { \ |
|
185 |
name="--debug-locals", \ |
|
186 |
is_undocumented=true, \ |
|
187 |
desc="Generate local variable table in .class files." \ |
|
188 |
} |
|
189 |
||
190 |
nashorn.option.loader.per.compile = { \ |
|
191 |
name="--loader-per-compile", \ |
|
192 |
is_undocumented=true, \ |
|
193 |
desc="Create a new class loader per compile.", \ |
|
194 |
default=true \ |
|
195 |
} |
|
196 |
||
18855
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
197 |
nashorn.option.no.java = { \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
198 |
name="--no-java", \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
199 |
short_name="-nj", \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
200 |
is_undocumented=true, \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
201 |
desc="No Java support", \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
202 |
default=false \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
203 |
} |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
204 |
|
16196
58f6f046bb5e
8006983: Introduce a command line option to switch off syntactic extensions of nashorn
sundar
parents:
16151
diff
changeset
|
205 |
nashorn.option.no.syntax.extensions = { \ |
58f6f046bb5e
8006983: Introduce a command line option to switch off syntactic extensions of nashorn
sundar
parents:
16151
diff
changeset
|
206 |
name="--no-syntax-extensions", \ |
18335
1b5fdae617cf
8016550: nashorn.option.no.syntax.extensions has the wrong default
sundar
parents:
17776
diff
changeset
|
207 |
short_name="-nse", \ |
16196
58f6f046bb5e
8006983: Introduce a command line option to switch off syntactic extensions of nashorn
sundar
parents:
16151
diff
changeset
|
208 |
is_undocumented=true, \ |
58f6f046bb5e
8006983: Introduce a command line option to switch off syntactic extensions of nashorn
sundar
parents:
16151
diff
changeset
|
209 |
desc="No non-standard syntax extensions", \ |
18335
1b5fdae617cf
8016550: nashorn.option.no.syntax.extensions has the wrong default
sundar
parents:
17776
diff
changeset
|
210 |
default=false \ |
16196
58f6f046bb5e
8006983: Introduce a command line option to switch off syntactic extensions of nashorn
sundar
parents:
16151
diff
changeset
|
211 |
} |
58f6f046bb5e
8006983: Introduce a command line option to switch off syntactic extensions of nashorn
sundar
parents:
16151
diff
changeset
|
212 |
|
18855
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
213 |
nashorn.option.no.typed.arrays = { \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
214 |
name="--no-typed-arrays", \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
215 |
short_name="-nta", \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
216 |
is_undocumented=true, \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
217 |
desc="No Typed arrays support", \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
218 |
default=false \ |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
219 |
} |
408663ef8f66
8020015: shared PropertyMaps should not be used without duplication
sundar
parents:
18335
diff
changeset
|
220 |
|
16147 | 221 |
nashorn.option.parse.only = { \ |
16770 | 222 |
name="--parse-only", \ |
16147 | 223 |
is_undocumented=true, \ |
224 |
desc="Parse without compiling." \ |
|
225 |
} |
|
226 |
||
227 |
nashorn.option.profile.callsites = { \ |
|
228 |
name="--profile-callsites", \ |
|
229 |
short_name="-pcs", \ |
|
230 |
is_undocumented=true, \ |
|
231 |
desc="Dump callsite profile data." \ |
|
232 |
} |
|
233 |
||
234 |
nashorn.option.print.ast = { \ |
|
235 |
name="--print-ast", \ |
|
236 |
is_undocumented=true, \ |
|
237 |
desc="Print abstract syntax tree." \ |
|
238 |
} |
|
239 |
||
240 |
nashorn.option.print.lower.ast = { \ |
|
241 |
name="--print-lower-ast", \ |
|
242 |
is_undocumented=true, \ |
|
243 |
desc="Print lowered abstract syntax tree." \ |
|
244 |
} |
|
245 |
||
246 |
nashorn.option.print.code = { \ |
|
247 |
name="--print-code", \ |
|
24719 | 248 |
short_name="-pc", \ |
16147 | 249 |
is_undocumented=true, \ |
24719 | 250 |
params="[dir:<output-dir>,function:<name>]", \ |
251 |
type=keyvalues, \ |
|
252 |
desc="Print generated bytecode. If a directory is specified, nothing will be dumped to stderr. Also, in that case, .dot files will be generated for all functions or for the function with the specified name only." \ |
|
16147 | 253 |
} |
254 |
||
17519
19c9d2553e35
8013871: mem usage histograms enabled with compiler logging level set to more specific than or equals to info when --print-mem-usage flag is used
lagergren
parents:
17518
diff
changeset
|
255 |
nashorn.option.print.mem.usage = { \ |
19c9d2553e35
8013871: mem usage histograms enabled with compiler logging level set to more specific than or equals to info when --print-mem-usage flag is used
lagergren
parents:
17518
diff
changeset
|
256 |
name="--print-mem-usage", \ |
19c9d2553e35
8013871: mem usage histograms enabled with compiler logging level set to more specific than or equals to info when --print-mem-usage flag is used
lagergren
parents:
17518
diff
changeset
|
257 |
is_undocumented=true, \ |
19c9d2553e35
8013871: mem usage histograms enabled with compiler logging level set to more specific than or equals to info when --print-mem-usage flag is used
lagergren
parents:
17518
diff
changeset
|
258 |
desc="Print memory usage of IR after each compile stage." \ |
19c9d2553e35
8013871: mem usage histograms enabled with compiler logging level set to more specific than or equals to info when --print-mem-usage flag is used
lagergren
parents:
17518
diff
changeset
|
259 |
} |
19c9d2553e35
8013871: mem usage histograms enabled with compiler logging level set to more specific than or equals to info when --print-mem-usage flag is used
lagergren
parents:
17518
diff
changeset
|
260 |
|
16147 | 261 |
nashorn.option.print.no.newline = { \ |
262 |
name="--print-no-newline", \ |
|
263 |
is_undocumented=true, \ |
|
264 |
desc="Print function will not print new line char." \ |
|
265 |
} |
|
266 |
||
267 |
nashorn.option.print.parse = { \ |
|
268 |
name="--print-parse", \ |
|
24719 | 269 |
short_name="-pp", \ |
16147 | 270 |
is_undocumented=true, \ |
271 |
desc="Print the parse tree." \ |
|
272 |
} |
|
273 |
||
274 |
nashorn.option.print.lower.parse = { \ |
|
275 |
name="--print-lower-parse", \ |
|
24719 | 276 |
short_name="-plp", \ |
16147 | 277 |
is_undocumented=true, \ |
278 |
desc="Print the parse tree after lowering." \ |
|
279 |
} |
|
280 |
||
281 |
nashorn.option.print.symbols = { \ |
|
282 |
name="--print-symbols", \ |
|
283 |
is_undocumented=true, \ |
|
284 |
desc="Print the symbol table." \ |
|
285 |
} |
|
286 |
||
17756
daaa1e643f71
8006069: Range analysis first iteration, runtime specializations
lagergren
parents:
17519
diff
changeset
|
287 |
nashorn.option.range.analysis = { \ |
daaa1e643f71
8006069: Range analysis first iteration, runtime specializations
lagergren
parents:
17519
diff
changeset
|
288 |
name="--range-analysis", \ |
daaa1e643f71
8006069: Range analysis first iteration, runtime specializations
lagergren
parents:
17519
diff
changeset
|
289 |
is_undocumented=true, \ |
19632
c9d704ad422e
8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag.
lagergren
parents:
19623
diff
changeset
|
290 |
desc="EXPERIMENTAL: Do range analysis using known compile time types, and try to narrow number types" \ |
17756
daaa1e643f71
8006069: Range analysis first iteration, runtime specializations
lagergren
parents:
17519
diff
changeset
|
291 |
} |
daaa1e643f71
8006069: Range analysis first iteration, runtime specializations
lagergren
parents:
17519
diff
changeset
|
292 |
|
16147 | 293 |
nashorn.option.D = { \ |
294 |
name="-D", \ |
|
295 |
desc="-Dname=value. Set a system property. This option can be repeated.", \ |
|
296 |
type=String \ |
|
297 |
} |
|
298 |
||
299 |
nashorn.option.strict = { \ |
|
300 |
name="-strict", \ |
|
301 |
desc="Run scripts in strict mode." \ |
|
302 |
} |
|
303 |
||
304 |
nashorn.option.scripting = { \ |
|
305 |
name="-scripting", \ |
|
18335
1b5fdae617cf
8016550: nashorn.option.no.syntax.extensions has the wrong default
sundar
parents:
17776
diff
changeset
|
306 |
desc="Enable scripting features." \ |
16147 | 307 |
} |
308 |
||
19632
c9d704ad422e
8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag.
lagergren
parents:
19623
diff
changeset
|
309 |
nashorn.option.specialize.calls = { \ |
c9d704ad422e
8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag.
lagergren
parents:
19623
diff
changeset
|
310 |
name="--specialize-calls", \ |
c9d704ad422e
8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag.
lagergren
parents:
19623
diff
changeset
|
311 |
is_undocumented=true, \ |
c9d704ad422e
8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag.
lagergren
parents:
19623
diff
changeset
|
312 |
type=String, \ |
c9d704ad422e
8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag.
lagergren
parents:
19623
diff
changeset
|
313 |
params="[=function_1,...,function_n]", \ |
c9d704ad422e
8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag.
lagergren
parents:
19623
diff
changeset
|
314 |
desc="EXPERIMENTAL: Specialize all or a set of method according to callsite parameter types" \ |
16147 | 315 |
} |
316 |
||
317 |
nashorn.option.stdout = { \ |
|
318 |
name="--stdout", \ |
|
319 |
is_undocumented=true, \ |
|
320 |
type=String, \ |
|
321 |
params="<output console>", \ |
|
322 |
desc="Redirect stdout to a filename or to another tty, e.g. stderr" \ |
|
323 |
} |
|
324 |
||
325 |
nashorn.option.stderr = { \ |
|
326 |
name="--stderr", \ |
|
327 |
is_undocumented=true, \ |
|
328 |
type=String, \ |
|
329 |
params="<output console>", \ |
|
330 |
desc="Redirect stderr to a filename or to another tty, e.g. stdout" \ |
|
331 |
} |
|
332 |
||
17518
2225a4f929c0
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
lagergren
parents:
17257
diff
changeset
|
333 |
nashorn.option.timezone = { \ |
2225a4f929c0
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
lagergren
parents:
17257
diff
changeset
|
334 |
name="-timezone", \ |
2225a4f929c0
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
lagergren
parents:
17257
diff
changeset
|
335 |
short_name="-t", \ |
2225a4f929c0
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
lagergren
parents:
17257
diff
changeset
|
336 |
params="<timezone>", \ |
2225a4f929c0
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
lagergren
parents:
17257
diff
changeset
|
337 |
desc="Set timezone for script execution.", \ |
2225a4f929c0
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
lagergren
parents:
17257
diff
changeset
|
338 |
type=TimeZone \ |
2225a4f929c0
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
lagergren
parents:
17257
diff
changeset
|
339 |
} |
2225a4f929c0
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
lagergren
parents:
17257
diff
changeset
|
340 |
|
17776
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
341 |
nashorn.option.locale = { \ |
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
342 |
name="--locale", \ |
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
343 |
short_name="-l", \ |
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
344 |
is_undocumented=true, \ |
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
345 |
params="<locale>", \ |
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
346 |
desc="Set Locale for script execution.", \ |
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
347 |
type=Locale \ |
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
348 |
} |
59fb7b69846d
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
sundar
parents:
17756
diff
changeset
|
349 |
|
16147 | 350 |
nashorn.option.trace.callsites = { \ |
351 |
name="--trace-callsites", \ |
|
352 |
short_name="-tcs", \ |
|
353 |
is_undocumented=true, \ |
|
354 |
type=keyvalues, \ |
|
355 |
params="[=[option,]*]", \ |
|
356 |
desc="Enable callsite trace mode. Options are: miss [trace callsite misses] \ |
|
357 |
enterexit [trace callsite enter/exit], objects [print object properties]" \ |
|
358 |
} |
|
359 |
||
360 |
nashorn.option.verify.code = { \ |
|
361 |
name="--verify-code", \ |
|
362 |
is_undocumented=true, \ |
|
363 |
desc="Verify byte code before running." \ |
|
364 |
} |
|
365 |
||
366 |
nashorn.option.version = { \ |
|
367 |
name="-version", \ |
|
368 |
short_name="-v", \ |
|
369 |
desc="Print version info of Nashorn." \ |
|
370 |
} |
|
371 |