< prev index next >
src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java
Print this page
@@ -106,10 +106,12 @@
public final boolean _global_per_engine;
/** Enable experimental ECMAScript 6 features. */
public final boolean _es6;
+ /** do not show deprecation warning for nashorn engine and jjs usage. */
+ public final boolean _no_deprecation_warning;
/** Number of times a dynamic call site has to be relinked before it is
* considered unstable (and thus should be linked as if it were megamorphic).
*/
public final int _unstable_relink_threshold;
@@ -304,10 +306,11 @@
_print_symbols = options.getBoolean("print.symbols");
_scripting = options.getBoolean("scripting");
_strict = options.getBoolean("strict");
_version = options.getBoolean("version");
_verify_code = options.getBoolean("verify.code");
+ _no_deprecation_warning = options.getBoolean("no.deprecation.warning");
final int configuredUrt = options.getInteger("unstable.relink.threshold");
// The default for this property is -1, so we can easily detect when
// it is not specified on command line.
if (configuredUrt < 0) {
< prev index next >