public final class jdk.nashorn.internal.runtime.ScriptEnvironment
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.ScriptEnvironment
super_class: java.lang.Object
{
private static final boolean ALLOW_EAGER_COMPILATION_SILENT_OVERRIDE;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.io.PrintWriter out;
descriptor: Ljava/io/PrintWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.PrintWriter err;
descriptor: Ljava/io/PrintWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.codegen.Namespace namespace;
descriptor: Ljdk/nashorn/internal/codegen/Namespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.options.Options options;
descriptor: Ljdk/nashorn/internal/runtime/options/Options;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public final int _class_cache_size;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String _classpath;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _compile_only;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _const_as_var;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int _callsite_flags;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _debug_lines;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _debug_scopes;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String _dest_dir;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _dump_on_error;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _early_lvalue_error;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _empty_statements;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _fullversion;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _fx;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _global_per_engine;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _es6;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int _unstable_relink_threshold;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public static final java.lang.String COMPILE_ONLY_OPTIMISTIC_ARG;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "optimistic"
public final jdk.nashorn.internal.runtime.ScriptEnvironment$FunctionStatementBehavior _function_statement;
descriptor: Ljdk/nashorn/internal/runtime/ScriptEnvironment$FunctionStatementBehavior;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _lazy_compilation;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _optimistic_types;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _loader_per_compile;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String _module_path;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String _add_modules;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _no_java;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _no_syntax_extensions;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _no_typed_arrays;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _parse_only;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _persistent_cache;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _print_ast;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _print_lower_ast;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _print_code;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String _print_code_dir;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String _print_code_func;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _print_mem_usage;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _print_no_newline;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _print_parse;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _print_lower_parse;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _print_symbols;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _scripting;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _strict;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _version;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean _verify_code;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.TimeZone _timezone;
descriptor: Ljava/util/TimeZone;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.Locale _locale;
descriptor: Ljava/util/Locale;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.Map<java.lang.String, jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo> _loggers;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/nashorn/internal/runtime/options/LoggingOption$LoggerInfo;>;
public final jdk.nashorn.internal.runtime.Timing _timing;
descriptor: Ljdk/nashorn/internal/runtime/Timing;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final jdk.nashorn.internal.runtime.ScriptEnvironment$AnonymousClasses _anonymousClasses;
descriptor: Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _anonymous_classes_threshold;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int DEFAULT_ANON_CLASS_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 512
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "nashorn.options.allowEagerCompilationSilentOverride"
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
1: invokestatic jdk.nashorn.internal.runtime.options.Options.getBooleanProperty:(Ljava/lang/String;Ljava/lang/Boolean;)Z
putstatic jdk.nashorn.internal.runtime.ScriptEnvironment.ALLOW_EAGER_COMPILATION_SILENT_OVERRIDE:Z
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.nashorn.internal.runtime.options.Options, java.io.PrintWriter, java.io.PrintWriter);
descriptor: (Ljdk/nashorn/internal/runtime/options/Options;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield jdk.nashorn.internal.runtime.ScriptEnvironment.out:Ljava/io/PrintWriter;
2: aload 0
aload 3
putfield jdk.nashorn.internal.runtime.ScriptEnvironment.err:Ljava/io/PrintWriter;
3: aload 0
new jdk.nashorn.internal.codegen.Namespace
dup
invokespecial jdk.nashorn.internal.codegen.Namespace.<init>:()V
putfield jdk.nashorn.internal.runtime.ScriptEnvironment.namespace:Ljdk/nashorn/internal/codegen/Namespace;
4: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.ScriptEnvironment.options:Ljdk/nashorn/internal/runtime/options/Options;
5: aload 0
aload 1
ldc "class.cache.size"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getInteger:(Ljava/lang/String;)I
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._class_cache_size:I
6: aload 0
aload 1
ldc "classpath"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getString:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._classpath:Ljava/lang/String;
7: aload 0
aload 1
ldc "compile.only"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._compile_only:Z
8: aload 0
aload 1
ldc "const.as.var"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._const_as_var:Z
9: aload 0
aload 1
ldc "debug.lines"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._debug_lines:Z
10: aload 0
aload 1
ldc "debug.scopes"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._debug_scopes:Z
11: aload 0
aload 1
ldc "d"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getString:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._dest_dir:Ljava/lang/String;
12: aload 0
aload 1
ldc "doe"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._dump_on_error:Z
13: aload 0
aload 1
ldc "early.lvalue.error"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._early_lvalue_error:Z
14: aload 0
aload 1
ldc "empty.statements"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._empty_statements:Z
15: aload 0
aload 1
ldc "fullversion"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._fullversion:Z
16: aload 1
ldc "function.statement.error"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
ifeq 19
17: aload 0
getstatic jdk.nashorn.internal.runtime.ScriptEnvironment$FunctionStatementBehavior.ERROR:Ljdk/nashorn/internal/runtime/ScriptEnvironment$FunctionStatementBehavior;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._function_statement:Ljdk/nashorn/internal/runtime/ScriptEnvironment$FunctionStatementBehavior;
18: goto 23
StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter
StackMap stack:
19: aload 1
ldc "function.statement.warning"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
ifeq 22
20: aload 0
getstatic jdk.nashorn.internal.runtime.ScriptEnvironment$FunctionStatementBehavior.WARNING:Ljdk/nashorn/internal/runtime/ScriptEnvironment$FunctionStatementBehavior;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._function_statement:Ljdk/nashorn/internal/runtime/ScriptEnvironment$FunctionStatementBehavior;
21: goto 23
22: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.nashorn.internal.runtime.ScriptEnvironment$FunctionStatementBehavior.ACCEPT:Ljdk/nashorn/internal/runtime/ScriptEnvironment$FunctionStatementBehavior;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._function_statement:Ljdk/nashorn/internal/runtime/ScriptEnvironment$FunctionStatementBehavior;
23: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "fx"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._fx:Z
24: aload 0
aload 1
ldc "global.per.engine"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._global_per_engine:Z
25: aload 0
aload 1
ldc "optimistic.types"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._optimistic_types:Z
26: aload 1
ldc "lazy.compilation"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
istore 4
start local 4 27: iload 4
ifne 37
aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._optimistic_types:Z
ifeq 37
28: getstatic jdk.nashorn.internal.runtime.ScriptEnvironment.ALLOW_EAGER_COMPILATION_SILENT_OVERRIDE:Z
ifne 35
29: new java.lang.IllegalStateException
dup
30: ldc "config.error.eagerCompilationConflictsWithOptimisticTypes"
iconst_2
anewarray java.lang.String
dup
iconst_0
31: aload 1
ldc "lazy.compilation"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getOptionTemplateByKey:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/options/OptionTemplate;
invokevirtual jdk.nashorn.internal.runtime.options.OptionTemplate.getName:()Ljava/lang/String;
aastore
dup
iconst_1
32: aload 1
ldc "optimistic.types"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getOptionTemplateByKey:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/options/OptionTemplate;
invokevirtual jdk.nashorn.internal.runtime.options.OptionTemplate.getName:()Ljava/lang/String;
aastore
33: invokestatic jdk.nashorn.internal.runtime.ECMAErrors.getMessage:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
34: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
35: StackMap locals: int
StackMap stack:
aload 0
iconst_1
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._lazy_compilation:Z
36: goto 38
37: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._lazy_compilation:Z
38: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "loader.per.compile"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._loader_per_compile:Z
39: aload 0
aload 1
ldc "module.path"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getString:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._module_path:Ljava/lang/String;
40: aload 0
aload 1
ldc "add.modules"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getString:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._add_modules:Ljava/lang/String;
41: aload 0
aload 1
ldc "no.java"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._no_java:Z
42: aload 0
aload 1
ldc "no.syntax.extensions"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._no_syntax_extensions:Z
43: aload 0
aload 1
ldc "no.typed.arrays"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._no_typed_arrays:Z
44: aload 0
aload 1
ldc "parse.only"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._parse_only:Z
45: aload 0
aload 1
ldc "persistent.code.cache"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._persistent_cache:Z
46: aload 0
aload 1
ldc "print.ast"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_ast:Z
47: aload 0
aload 1
ldc "print.lower.ast"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_lower_ast:Z
48: aload 0
aload 1
ldc "print.code"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getString:(Ljava/lang/String;)Ljava/lang/String;
ifnull 49
iconst_1
goto 50
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.ScriptEnvironment
49: iconst_0
StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter int
StackMap stack: jdk.nashorn.internal.runtime.ScriptEnvironment int
50: putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_code:Z
51: aload 0
aload 1
ldc "print.mem.usage"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_mem_usage:Z
52: aload 0
aload 1
ldc "print.no.newline"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_no_newline:Z
53: aload 0
aload 1
ldc "print.parse"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_parse:Z
54: aload 0
aload 1
ldc "print.lower.parse"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_lower_parse:Z
55: aload 0
aload 1
ldc "print.symbols"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_symbols:Z
56: aload 0
aload 1
ldc "scripting"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._scripting:Z
57: aload 0
aload 1
ldc "strict"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._strict:Z
58: aload 0
aload 1
ldc "version"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._version:Z
59: aload 0
aload 1
ldc "verify.code"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._verify_code:Z
60: aload 1
ldc "unstable.relink.threshold"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getInteger:(Ljava/lang/String;)I
istore 5
start local 5 61: iload 5
ifge 68
62: aload 0
63: ldc "nashorn.unstable.relink.threshold"
64: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._optimistic_types:Z
ifeq 65
bipush 16
goto 66
StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter int int
StackMap stack: jdk.nashorn.internal.runtime.ScriptEnvironment java.lang.String
65: bipush 8
66: StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter int int
StackMap stack: jdk.nashorn.internal.runtime.ScriptEnvironment java.lang.String int
invokestatic jdk.nashorn.internal.runtime.options.Options.getIntProperty:(Ljava/lang/String;I)I
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._unstable_relink_threshold:I
67: goto 69
68: StackMap locals:
StackMap stack:
aload 0
iload 5
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._unstable_relink_threshold:I
69: StackMap locals:
StackMap stack:
aload 1
ldc "anonymous.classes"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 70: aload 6
ifnull 71
aload 6
ldc "auto"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 73
71: StackMap locals: java.lang.String
StackMap stack:
aload 0
getstatic jdk.nashorn.internal.runtime.ScriptEnvironment$AnonymousClasses.AUTO:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._anonymousClasses:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
72: goto 80
StackMap locals:
StackMap stack:
73: aload 6
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 76
74: aload 0
getstatic jdk.nashorn.internal.runtime.ScriptEnvironment$AnonymousClasses.ON:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._anonymousClasses:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
75: goto 80
StackMap locals:
StackMap stack:
76: aload 6
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 79
77: aload 0
getstatic jdk.nashorn.internal.runtime.ScriptEnvironment$AnonymousClasses.OFF:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._anonymousClasses:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
78: goto 80
79: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported value for anonymous classes: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
80: StackMap locals:
StackMap stack:
aload 0
81: ldc "nashorn.anonymous.classes.threshold"
sipush 512
82: invokestatic jdk.nashorn.internal.runtime.options.Options.getIntProperty:(Ljava/lang/String;I)I
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._anonymous_classes_threshold:I
83: aload 1
ldc "language"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 84: aload 7
ifnull 85
aload 7
ldc "es5"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 87
85: StackMap locals: java.lang.String
StackMap stack:
aload 0
iconst_0
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._es6:Z
86: goto 91
StackMap locals:
StackMap stack:
87: aload 7
ldc "es6"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 90
88: aload 0
iconst_1
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._es6:Z
89: goto 91
90: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported language: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
91: StackMap locals:
StackMap stack:
aconst_null
astore 8
start local 8 92: aconst_null
astore 9
start local 9 93: aload 1
ldc "print.code"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 94: aload 10
ifnull 107
95: new java.util.StringTokenizer
dup
aload 10
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 11
start local 11 96: goto 106
97: StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter int int java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.util.StringTokenizer
StackMap stack:
new java.util.StringTokenizer
dup
aload 11
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
ldc ":"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 12
start local 12 98: goto 105
99: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 12
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 13
start local 13 100: ldc "dir"
aload 13
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 103
101: aload 12
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 8
102: goto 105
StackMap locals: java.lang.String
StackMap stack:
103: ldc "function"
aload 13
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
104: aload 12
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 9
end local 13 105: StackMap locals:
StackMap stack:
aload 12
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 99
end local 12 106: StackMap locals:
StackMap stack:
aload 11
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 97
end local 11 107: StackMap locals:
StackMap stack:
aload 0
aload 8
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_code_dir:Ljava/lang/String;
108: aload 0
aload 9
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_code_func:Ljava/lang/String;
109: iconst_0
istore 11
start local 11 110: aload 1
ldc "profile.callsites"
invokevirtual jdk.nashorn.internal.runtime.options.Options.getBoolean:(Ljava/lang/String;)Z
ifeq 112
111: iload 11
sipush 512
ior
istore 11
112: StackMap locals: int
StackMap stack:
aload 1
ldc "trace.callsites"
invokevirtual jdk.nashorn.internal.runtime.options.Options.get:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/options/Option;
instanceof jdk.nashorn.internal.runtime.options.KeyValueOption
ifeq 121
113: iload 11
sipush 1024
ior
istore 11
114: aload 1
ldc "trace.callsites"
invokevirtual jdk.nashorn.internal.runtime.options.Options.get:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/options/Option;
checkcast jdk.nashorn.internal.runtime.options.KeyValueOption
astore 12
start local 12 115: aload 12
ldc "miss"
invokevirtual jdk.nashorn.internal.runtime.options.KeyValueOption.hasValue:(Ljava/lang/String;)Z
ifeq 117
116: iload 11
sipush 2048
ior
istore 11
117: StackMap locals: jdk.nashorn.internal.runtime.options.KeyValueOption
StackMap stack:
aload 12
ldc "enterexit"
invokevirtual jdk.nashorn.internal.runtime.options.KeyValueOption.hasValue:(Ljava/lang/String;)Z
ifne 118
iload 11
sipush 2048
iand
ifne 119
118: StackMap locals:
StackMap stack:
iload 11
sipush 4096
ior
istore 11
119: StackMap locals:
StackMap stack:
aload 12
ldc "objects"
invokevirtual jdk.nashorn.internal.runtime.options.KeyValueOption.hasValue:(Ljava/lang/String;)Z
ifeq 121
120: iload 11
sipush 8192
ior
istore 11
end local 12 121: StackMap locals:
StackMap stack:
aload 0
iload 11
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._callsite_flags:I
122: aload 1
ldc "timezone"
invokevirtual jdk.nashorn.internal.runtime.options.Options.get:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/options/Option;
astore 12
start local 12 123: aload 12
ifnull 126
124: aload 0
aload 12
invokevirtual jdk.nashorn.internal.runtime.options.Option.getValue:()Ljava/lang/Object;
checkcast java.util.TimeZone
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._timezone:Ljava/util/TimeZone;
125: goto 127
126: StackMap locals: jdk.nashorn.internal.runtime.options.Option
StackMap stack:
aload 0
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._timezone:Ljava/util/TimeZone;
127: StackMap locals:
StackMap stack:
aload 1
ldc "locale"
invokevirtual jdk.nashorn.internal.runtime.options.Options.get:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/options/Option;
astore 13
start local 13 128: aload 13
ifnull 131
129: aload 0
aload 13
invokevirtual jdk.nashorn.internal.runtime.options.Option.getValue:()Ljava/lang/Object;
checkcast java.util.Locale
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._locale:Ljava/util/Locale;
130: goto 132
131: StackMap locals: jdk.nashorn.internal.runtime.options.Option
StackMap stack:
aload 0
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._locale:Ljava/util/Locale;
132: StackMap locals:
StackMap stack:
aload 1
ldc "log"
invokevirtual jdk.nashorn.internal.runtime.options.Options.get:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/options/Option;
checkcast jdk.nashorn.internal.runtime.options.LoggingOption
astore 14
start local 14 133: aload 0
aload 14
ifnonnull 134
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
goto 135
StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter int int java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int jdk.nashorn.internal.runtime.options.Option jdk.nashorn.internal.runtime.options.Option jdk.nashorn.internal.runtime.options.LoggingOption
StackMap stack: jdk.nashorn.internal.runtime.ScriptEnvironment
134: aload 14
invokevirtual jdk.nashorn.internal.runtime.options.LoggingOption.getLoggers:()Ljava/util/Map;
StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter int int java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int jdk.nashorn.internal.runtime.options.Option jdk.nashorn.internal.runtime.options.Option jdk.nashorn.internal.runtime.options.LoggingOption
StackMap stack: jdk.nashorn.internal.runtime.ScriptEnvironment java.util.Map
135: putfield jdk.nashorn.internal.runtime.ScriptEnvironment._loggers:Ljava/util/Map;
136: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._loggers:Ljava/util/Map;
invokestatic jdk.nashorn.internal.runtime.Timing.getLoggerName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo
astore 15
start local 15 137: aload 0
138: new jdk.nashorn.internal.runtime.Timing
dup
aload 15
ifnull 139
aload 15
invokevirtual jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo.getLevel:()Ljava/util/logging/Level;
getstatic java.util.logging.Level.OFF:Ljava/util/logging/Level;
if_acmpeq 139
iconst_1
goto 140
StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter int int java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int jdk.nashorn.internal.runtime.options.Option jdk.nashorn.internal.runtime.options.Option jdk.nashorn.internal.runtime.options.LoggingOption jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo
StackMap stack: jdk.nashorn.internal.runtime.ScriptEnvironment new 138 new 138
139: iconst_0
StackMap locals: jdk.nashorn.internal.runtime.ScriptEnvironment jdk.nashorn.internal.runtime.options.Options java.io.PrintWriter java.io.PrintWriter int int java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int jdk.nashorn.internal.runtime.options.Option jdk.nashorn.internal.runtime.options.Option jdk.nashorn.internal.runtime.options.LoggingOption jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo
StackMap stack: jdk.nashorn.internal.runtime.ScriptEnvironment new 138 new 138 int
140: invokespecial jdk.nashorn.internal.runtime.Timing.<init>:(Z)V
putfield jdk.nashorn.internal.runtime.ScriptEnvironment._timing:Ljdk/nashorn/internal/runtime/Timing;
141: return
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 142 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
0 142 1 options Ljdk/nashorn/internal/runtime/options/Options;
0 142 2 out Ljava/io/PrintWriter;
0 142 3 err Ljava/io/PrintWriter;
27 142 4 lazy_compilation Z
61 142 5 configuredUrt I
70 142 6 anonClasses Ljava/lang/String;
84 142 7 language Ljava/lang/String;
92 142 8 dir Ljava/lang/String;
93 142 9 func Ljava/lang/String;
94 142 10 pc Ljava/lang/String;
96 107 11 st Ljava/util/StringTokenizer;
98 106 12 st2 Ljava/util/StringTokenizer;
100 105 13 cmd Ljava/lang/String;
110 142 11 callSiteFlags I
115 121 12 kv Ljdk/nashorn/internal/runtime/options/KeyValueOption;
123 142 12 timezoneOption Ljdk/nashorn/internal/runtime/options/Option<*>;
128 142 13 localeOption Ljdk/nashorn/internal/runtime/options/Option<*>;
133 142 14 loggingOption Ljdk/nashorn/internal/runtime/options/LoggingOption;
137 142 15 timeLoggerInfo Ljdk/nashorn/internal/runtime/options/LoggingOption$LoggerInfo;
MethodParameters:
Name Flags
options final
out final
err final
public java.io.PrintWriter getOut();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment.out:Ljava/io/PrintWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
public java.io.PrintWriter getErr();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment.err:Ljava/io/PrintWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
public jdk.nashorn.internal.codegen.Namespace getNamespace();
descriptor: ()Ljdk/nashorn/internal/codegen/Namespace;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment.namespace:Ljdk/nashorn/internal/codegen/Namespace;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
public java.util.List<java.lang.String> getFiles();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment.options:Ljdk/nashorn/internal/runtime/options/Options;
invokevirtual jdk.nashorn.internal.runtime.options.Options.getFiles:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getArguments();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment.options:Ljdk/nashorn/internal/runtime/options/Options;
invokevirtual jdk.nashorn.internal.runtime.options.Options.getArguments:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public boolean hasLogger(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._loggers:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public boolean isTimingEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._timing:Ljdk/nashorn/internal/runtime/Timing;
ifnull 1
aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._timing:Ljdk/nashorn/internal/runtime/Timing;
invokevirtual jdk.nashorn.internal.runtime.Timing.isEnabled:()Z
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
public boolean useAnonymousClasses(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._anonymousClasses:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
getstatic jdk.nashorn.internal.runtime.ScriptEnvironment$AnonymousClasses.ON:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
if_acmpeq 4
1: aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._anonymousClasses:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
getstatic jdk.nashorn.internal.runtime.ScriptEnvironment$AnonymousClasses.AUTO:Ljdk/nashorn/internal/runtime/ScriptEnvironment$AnonymousClasses;
if_acmpne 3
iload 1
aload 0
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._anonymous_classes_threshold:I
2: if_icmple 4
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/runtime/ScriptEnvironment;
0 5 1 sourceLength I
MethodParameters:
Name Flags
sourceLength final
}
SourceFile: "ScriptEnvironment.java"
NestMembers:
jdk.nashorn.internal.runtime.ScriptEnvironment$AnonymousClasses jdk.nashorn.internal.runtime.ScriptEnvironment$FunctionStatementBehavior
InnerClasses:
private final AnonymousClasses = jdk.nashorn.internal.runtime.ScriptEnvironment$AnonymousClasses of jdk.nashorn.internal.runtime.ScriptEnvironment
public final FunctionStatementBehavior = jdk.nashorn.internal.runtime.ScriptEnvironment$FunctionStatementBehavior of jdk.nashorn.internal.runtime.ScriptEnvironment
public LoggerInfo = jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo of jdk.nashorn.internal.runtime.options.LoggingOption