< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java

Print this page

        

*** 59,68 **** --- 59,71 ---- private final Options options; /** Size of the per-global Class cache size */ public final int _class_cache_size; + /** -classpath value. */ + public final String _classpath; + /** Only compile script, do not run it or generate other ScriptObjects */ public final boolean _compile_only; /** Accept "const" keyword and treat it as variable. Interim feature */ public final boolean _const_as_var;
*** 218,227 **** --- 221,231 ---- this.err = err; this.namespace = new Namespace(); this.options = options; _class_cache_size = options.getInteger("class.cache.size"); + _classpath = options.getString("classpath"); _compile_only = options.getBoolean("compile.only"); _const_as_var = options.getBoolean("const.as.var"); _debug_lines = options.getBoolean("debug.lines"); _dest_dir = options.getString("d"); _dump_on_error = options.getBoolean("doe");
< prev index next >