public final class jdk.nashorn.internal.runtime.Context
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.Context
super_class: java.lang.Object
{
public static final java.lang.String NASHORN_SET_CONFIG;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "nashorn.setConfig"
public static final java.lang.String NASHORN_CREATE_CONTEXT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "nashorn.createContext"
public static final java.lang.String NASHORN_CREATE_GLOBAL;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "nashorn.createGlobal"
public static final java.lang.String NASHORN_GET_CONTEXT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "nashorn.getContext"
public static final java.lang.String NASHORN_JAVA_REFLECTION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "nashorn.JavaReflection"
public static final java.lang.String NASHORN_DEBUG_MODE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "nashorn.debugMode"
private static final java.lang.String LOAD_CLASSPATH;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "classpath:"
private static final java.lang.String LOAD_FX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "fx:"
private static final java.lang.String LOAD_NASHORN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "nashorn:"
private static final java.lang.invoke.MethodHandles$Lookup LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodType CREATE_PROGRAM_FUNCTION_TYPE;
descriptor: Ljava/lang/invoke/MethodType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.atomic.LongAdder NAMED_INSTALLED_SCRIPT_COUNT;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.atomic.LongAdder ANONYMOUS_INSTALLED_SCRIPT_COUNT;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final jdk.nashorn.internal.runtime.Context$FieldMode fieldMode;
descriptor: Ljdk/nashorn/internal/runtime/Context$FieldMode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.invoke.SwitchPoint> builtinSwitchPoints;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/invoke/SwitchPoint;>;
private final jdk.nashorn.internal.WeakValueCache<java.security.CodeSource, java.lang.Class<?>> anonymousHostClasses;
descriptor: Ljdk/nashorn/internal/WeakValueCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/nashorn/internal/WeakValueCache<Ljava/security/CodeSource;Ljava/lang/Class<*>;>;
public static final boolean DEBUG;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.ThreadLocal<jdk.nashorn.internal.objects.Global> currentGlobal;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljdk/nashorn/internal/objects/Global;>;
private jdk.nashorn.internal.runtime.Context$ClassCache classCache;
descriptor: Ljdk/nashorn/internal/runtime/Context$ClassCache;
flags: (0x0002) ACC_PRIVATE
private jdk.nashorn.internal.runtime.CodeStore codeStore;
descriptor: Ljdk/nashorn/internal/runtime/CodeStore;
flags: (0x0002) ACC_PRIVATE
private final java.util.concurrent.atomic.AtomicReference<jdk.nashorn.internal.runtime.GlobalConstants> globalConstantsRef;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljdk/nashorn/internal/runtime/GlobalConstants;>;
static final boolean javaSqlFound;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean javaSqlRowsetFound;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final jdk.nashorn.internal.runtime.ScriptEnvironment env;
descriptor: Ljdk/nashorn/internal/runtime/ScriptEnvironment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final boolean _strict;
descriptor: Z
flags: (0x0010) ACC_FINAL
private final java.lang.ClassLoader appLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.ScriptLoader scriptLoader;
descriptor: Ljdk/nashorn/internal/runtime/ScriptLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.dynalink.DynamicLinker dynamicLinker;
descriptor: Ljdk/dynalink/DynamicLinker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.ErrorManager errors;
descriptor: Ljdk/nashorn/internal/runtime/ErrorManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong uniqueScriptId;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.api.scripting.ClassFilter classFilter;
descriptor: Ljdk/nashorn/api/scripting/ClassFilter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final jdk.nashorn.internal.runtime.StructureLoader theStructLoader;
descriptor: Ljdk/nashorn/internal/runtime/StructureLoader;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.ConcurrentMap<java.lang.String, java.lang.Class<?>> structureClasses;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Ljava/lang/Class<*>;>;
private static final java.security.AccessControlContext NO_PERMISSIONS_ACC_CTXT;
descriptor: Ljava/security/AccessControlContext;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.security.AccessControlContext CREATE_LOADER_ACC_CTXT;
descriptor: Ljava/security/AccessControlContext;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.security.AccessControlContext CREATE_GLOBAL_ACC_CTXT;
descriptor: Ljava/security/AccessControlContext;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.security.AccessControlContext GET_LOADER_ACC_CTXT;
descriptor: Ljava/security/AccessControlContext;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Map<java.lang.String, jdk.nashorn.internal.runtime.logging.DebugLogger> loggers;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/nashorn/internal/runtime/logging/DebugLogger;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/Context;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.runtime.Context.$assertionsDisabled:Z
3: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
putstatic jdk.nashorn.internal.runtime.Context.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
4: ldc Ljdk/nashorn/internal/runtime/ScriptFunction;
ldc Ljdk/nashorn/internal/runtime/ScriptObject;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
putstatic jdk.nashorn.internal.runtime.Context.CREATE_PROGRAM_FUNCTION_TYPE:Ljava/lang/invoke/MethodType;
5: new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putstatic jdk.nashorn.internal.runtime.Context.NAMED_INSTALLED_SCRIPT_COUNT:Ljava/util/concurrent/atomic/LongAdder;
6: new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putstatic jdk.nashorn.internal.runtime.Context.ANONYMOUS_INSTALLED_SCRIPT_COUNT:Ljava/util/concurrent/atomic/LongAdder;
7: iconst_1
putstatic jdk.nashorn.internal.runtime.DebuggerSupport.FORCELOAD:Z
8: ldc "nashorn.debug"
invokestatic jdk.nashorn.internal.runtime.options.Options.getBooleanProperty:(Ljava/lang/String;)Z
putstatic jdk.nashorn.internal.runtime.Context.DEBUG:Z
9: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic jdk.nashorn.internal.runtime.Context.currentGlobal:Ljava/lang/ThreadLocal;
10: invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
astore 0
start local 0 11: aload 0
ldc "java.sql"
invokevirtual java.lang.ModuleLayer.findModule:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
putstatic jdk.nashorn.internal.runtime.Context.javaSqlFound:Z
12: aload 0
ldc "java.sql.rowset"
invokevirtual java.lang.ModuleLayer.findModule:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
putstatic jdk.nashorn.internal.runtime.Context.javaSqlRowsetFound:Z
end local 0 13: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic jdk.nashorn.internal.runtime.Context.structureClasses:Ljava/util/concurrent/ConcurrentMap;
14: invokestatic jdk.nashorn.internal.runtime.Context.createNoPermAccCtxt:()Ljava/security/AccessControlContext;
putstatic jdk.nashorn.internal.runtime.Context.NO_PERMISSIONS_ACC_CTXT:Ljava/security/AccessControlContext;
15: ldc "createClassLoader"
invokestatic jdk.nashorn.internal.runtime.Context.createPermAccCtxt:(Ljava/lang/String;)Ljava/security/AccessControlContext;
putstatic jdk.nashorn.internal.runtime.Context.CREATE_LOADER_ACC_CTXT:Ljava/security/AccessControlContext;
16: ldc "nashorn.createGlobal"
invokestatic jdk.nashorn.internal.runtime.Context.createPermAccCtxt:(Ljava/lang/String;)Ljava/security/AccessControlContext;
putstatic jdk.nashorn.internal.runtime.Context.CREATE_GLOBAL_ACC_CTXT:Ljava/security/AccessControlContext;
17: ldc "getClassLoader"
invokestatic jdk.nashorn.internal.runtime.Context.createPermAccCtxt:(Ljava/lang/String;)Ljava/security/AccessControlContext;
putstatic jdk.nashorn.internal.runtime.Context.GET_LOADER_ACC_CTXT:Ljava/security/AccessControlContext;
18: ldc Ljdk/nashorn/internal/runtime/Context;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 19: new jdk.nashorn.internal.runtime.Context$1
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.Context$1.<init>:(Ljava/lang/ClassLoader;)V
20: getstatic jdk.nashorn.internal.runtime.Context.CREATE_LOADER_ACC_CTXT:Ljava/security/AccessControlContext;
21: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.StructureLoader
putstatic jdk.nashorn.internal.runtime.Context.theStructLoader:Ljdk/nashorn/internal/runtime/StructureLoader;
end local 0 22: return
LocalVariableTable:
Start End Slot Name Signature
11 13 0 boot Ljava/lang/ModuleLayer;
19 22 0 myLoader Ljava/lang/ClassLoader;
static long getNamedInstalledScriptCount();
descriptor: ()J
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.runtime.Context.NAMED_INSTALLED_SCRIPT_COUNT:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.sum:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
static long getAnonymousInstalledScriptCount();
descriptor: ()J
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.runtime.Context.ANONYMOUS_INSTALLED_SCRIPT_COUNT:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.sum:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static jdk.nashorn.internal.objects.Global getGlobal();
descriptor: ()Ljdk/nashorn/internal/objects/Global;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.runtime.Context.currentGlobal:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.objects.Global
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setGlobal(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
aload 0
instanceof jdk.nashorn.internal.objects.Global
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "not a global!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
checkcast jdk.nashorn.internal.objects.Global
invokestatic jdk.nashorn.internal.runtime.Context.setGlobal:(Ljdk/nashorn/internal/objects/Global;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 global Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
global final
public static void setGlobal(jdk.nashorn.internal.objects.Global);
descriptor: (Ljdk/nashorn/internal/objects/Global;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.Context.$assertionsDisabled:Z
ifne 1
invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
if_acmpne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
ifnull 5
2: aload 0
invokestatic jdk.nashorn.internal.runtime.Context.getContext:(Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/runtime/Context;
invokevirtual jdk.nashorn.internal.runtime.Context.getGlobalConstants:()Ljdk/nashorn/internal/runtime/GlobalConstants;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants.invalidateAll:()V
end local 1 5: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.Context.currentGlobal:Ljava/lang/ThreadLocal;
aload 0
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 global Ljdk/nashorn/internal/objects/Global;
3 5 1 globalConstants Ljdk/nashorn/internal/runtime/GlobalConstants;
MethodParameters:
Name Flags
global final
public static jdk.nashorn.internal.runtime.Context getContext();
descriptor: ()Ljdk/nashorn/internal/runtime/Context;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
new java.lang.RuntimePermission
dup
ldc "nashorn.getContext"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
invokestatic jdk.nashorn.internal.runtime.Context.getContextTrusted:()Ljdk/nashorn/internal/runtime/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
public static java.io.PrintWriter getCurrentErr();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 0
start local 0 1: aload 0
ifnull 2
aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getContext:()Ljdk/nashorn/internal/runtime/Context;
invokevirtual jdk.nashorn.internal.runtime.Context.getErr:()Ljava/io/PrintWriter;
goto 3
StackMap locals: jdk.nashorn.internal.runtime.ScriptObject
StackMap stack:
2: new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
StackMap locals:
StackMap stack: java.io.PrintWriter
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 global Ljdk/nashorn/internal/runtime/ScriptObject;
public static void err(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic jdk.nashorn.internal.runtime.Context.err:(Ljava/lang/String;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str final
public static void err(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic jdk.nashorn.internal.runtime.Context.getCurrentErr:()Ljava/io/PrintWriter;
astore 2
start local 2 1: aload 2
ifnull 6
2: iload 1
ifeq 5
3: aload 2
aload 0
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
4: goto 6
5: StackMap locals: java.io.PrintWriter
StackMap stack:
aload 2
aload 0
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 str Ljava/lang/String;
0 7 1 crlf Z
1 7 2 err Ljava/io/PrintWriter;
MethodParameters:
Name Flags
str final
crlf final
java.lang.ClassLoader getAppLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.appLoader:Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
jdk.nashorn.internal.runtime.StructureLoader getStructLoader();
descriptor: ()Ljdk/nashorn/internal/runtime/StructureLoader;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.Context.theStructLoader:Ljdk/nashorn/internal/runtime/StructureLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
private static java.security.AccessControlContext createNoPermAccCtxt();
descriptor: ()Ljava/security/AccessControlContext;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=0, args_size=0
0: new java.security.AccessControlContext
dup
iconst_1
anewarray java.security.ProtectionDomain
dup
iconst_0
new java.security.ProtectionDomain
dup
aconst_null
new java.security.Permissions
dup
invokespecial java.security.Permissions.<init>:()V
invokespecial java.security.ProtectionDomain.<init>:(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V
aastore
invokespecial java.security.AccessControlContext.<init>:([Ljava/security/ProtectionDomain;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.security.AccessControlContext createPermAccCtxt(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/security/AccessControlContext;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=2, args_size=1
start local 0 0: new java.security.Permissions
dup
invokespecial java.security.Permissions.<init>:()V
astore 1
start local 1 1: aload 1
new java.lang.RuntimePermission
dup
aload 0
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
2: new java.security.AccessControlContext
dup
iconst_1
anewarray java.security.ProtectionDomain
dup
iconst_0
new java.security.ProtectionDomain
dup
aconst_null
aload 1
invokespecial java.security.ProtectionDomain.<init>:(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V
aastore
invokespecial java.security.AccessControlContext.<init>:([Ljava/security/ProtectionDomain;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 permName Ljava/lang/String;
1 3 1 perms Ljava/security/Permissions;
MethodParameters:
Name Flags
permName final
public void <init>(jdk.nashorn.internal.runtime.options.Options, jdk.nashorn.internal.runtime.ErrorManager, java.lang.ClassLoader);
descriptor: (Ljdk/nashorn/internal/runtime/options/Options;Ljdk/nashorn/internal/runtime/ErrorManager;Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokespecial jdk.nashorn.internal.runtime.Context.<init>:(Ljdk/nashorn/internal/runtime/options/Options;Ljdk/nashorn/internal/runtime/ErrorManager;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/Context;
0 2 1 options Ljdk/nashorn/internal/runtime/options/Options;
0 2 2 errors Ljdk/nashorn/internal/runtime/ErrorManager;
0 2 3 appLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
options final
errors final
appLoader final
public void <init>(jdk.nashorn.internal.runtime.options.Options, jdk.nashorn.internal.runtime.ErrorManager, java.lang.ClassLoader, jdk.nashorn.api.scripting.ClassFilter);
descriptor: (Ljdk/nashorn/internal/runtime/options/Options;Ljdk/nashorn/internal/runtime/ErrorManager;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
new java.io.PrintWriter
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
aload 3
aload 4
invokespecial jdk.nashorn.internal.runtime.Context.<init>:(Ljdk/nashorn/internal/runtime/options/Options;Ljdk/nashorn/internal/runtime/ErrorManager;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/Context;
0 2 1 options Ljdk/nashorn/internal/runtime/options/Options;
0 2 2 errors Ljdk/nashorn/internal/runtime/ErrorManager;
0 2 3 appLoader Ljava/lang/ClassLoader;
0 2 4 classFilter Ljdk/nashorn/api/scripting/ClassFilter;
MethodParameters:
Name Flags
options final
errors final
appLoader final
classFilter final
public void <init>(jdk.nashorn.internal.runtime.options.Options, jdk.nashorn.internal.runtime.ErrorManager, java.io.PrintWriter, java.io.PrintWriter, java.lang.ClassLoader);
descriptor: (Ljdk/nashorn/internal/runtime/options/Options;Ljdk/nashorn/internal/runtime/ErrorManager;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aconst_null
invokespecial jdk.nashorn.internal.runtime.Context.<init>:(Ljdk/nashorn/internal/runtime/options/Options;Ljdk/nashorn/internal/runtime/ErrorManager;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)V
1: return
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 2 0 this Ljdk/nashorn/internal/runtime/Context;
0 2 1 options Ljdk/nashorn/internal/runtime/options/Options;
0 2 2 errors Ljdk/nashorn/internal/runtime/ErrorManager;
0 2 3 out Ljava/io/PrintWriter;
0 2 4 err Ljava/io/PrintWriter;
0 2 5 appLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
options final
errors final
out final
err final
appLoader final
public void <init>(jdk.nashorn.internal.runtime.options.Options, jdk.nashorn.internal.runtime.ErrorManager, java.io.PrintWriter, java.io.PrintWriter, java.lang.ClassLoader, jdk.nashorn.api.scripting.ClassFilter);
descriptor: (Ljdk/nashorn/internal/runtime/options/Options;Ljdk/nashorn/internal/runtime/ErrorManager;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.runtime.Context.builtinSwitchPoints:Ljava/util/Map;
2: aload 0
new jdk.nashorn.internal.WeakValueCache
dup
invokespecial jdk.nashorn.internal.WeakValueCache.<init>:()V
putfield jdk.nashorn.internal.runtime.Context.anonymousHostClasses:Ljdk/nashorn/internal/WeakValueCache;
3: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield jdk.nashorn.internal.runtime.Context.globalConstantsRef:Ljava/util/concurrent/atomic/AtomicReference;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.runtime.Context.loggers:Ljava/util/Map;
5: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 7
start local 7 6: aload 7
ifnull 8
7: aload 7
new java.lang.RuntimePermission
dup
ldc "nashorn.createContext"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
8: StackMap locals: jdk.nashorn.internal.runtime.Context jdk.nashorn.internal.runtime.options.Options jdk.nashorn.internal.runtime.ErrorManager java.io.PrintWriter java.io.PrintWriter java.lang.ClassLoader jdk.nashorn.api.scripting.ClassFilter java.lang.SecurityManager
StackMap stack:
aload 0
aload 6
putfield jdk.nashorn.internal.runtime.Context.classFilter:Ljdk/nashorn/api/scripting/ClassFilter;
9: aload 0
new jdk.nashorn.internal.runtime.ScriptEnvironment
dup
aload 1
aload 3
aload 4
invokespecial jdk.nashorn.internal.runtime.ScriptEnvironment.<init>:(Ljdk/nashorn/internal/runtime/options/Options;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
putfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
10: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._strict:Z
putfield jdk.nashorn.internal.runtime.Context._strict:Z
11: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._loader_per_compile:Z
ifeq 15
12: aload 0
aconst_null
putfield jdk.nashorn.internal.runtime.Context.scriptLoader:Ljdk/nashorn/internal/runtime/ScriptLoader;
13: aload 0
aconst_null
putfield jdk.nashorn.internal.runtime.Context.uniqueScriptId:Ljava/util/concurrent/atomic/AtomicLong;
14: goto 17
15: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.createNewLoader:()Ljdk/nashorn/internal/runtime/ScriptLoader;
putfield jdk.nashorn.internal.runtime.Context.scriptLoader:Ljdk/nashorn/internal/runtime/ScriptLoader;
16: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield jdk.nashorn.internal.runtime.Context.uniqueScriptId:Ljava/util/concurrent/atomic/AtomicLong;
17: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield jdk.nashorn.internal.runtime.Context.errors:Ljdk/nashorn/internal/runtime/ErrorManager;
18: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._module_path:Ljava/lang/String;
astore 8
start local 8 19: aconst_null
astore 9
start local 9 20: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._compile_only:Z
ifne 25
aload 8
ifnull 25
aload 8
invokevirtual java.lang.String.isEmpty:()Z
ifne 25
21: aload 7
ifnull 23
22: aload 7
invokevirtual java.lang.SecurityManager.checkCreateClassLoader:()V
23: StackMap locals: java.lang.String java.lang.ClassLoader
StackMap stack:
new jdk.nashorn.internal.runtime.Context$2
dup
aload 0
aload 5
aload 8
invokespecial jdk.nashorn.internal.runtime.Context$2.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljava/lang/ClassLoader;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 9
24: goto 26
25: StackMap locals:
StackMap stack:
aload 5
astore 9
26: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._classpath:Ljava/lang/String;
astore 10
start local 10 27: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._compile_only:Z
ifne 31
aload 10
ifnull 31
aload 10
invokevirtual java.lang.String.isEmpty:()Z
ifne 31
28: aload 7
ifnull 30
29: aload 7
invokevirtual java.lang.SecurityManager.checkCreateClassLoader:()V
30: StackMap locals: java.lang.String
StackMap stack:
aload 10
aload 9
invokestatic jdk.nashorn.internal.runtime.NashornLoader.createClassLoader:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
astore 9
31: StackMap locals:
StackMap stack:
aload 0
aload 9
putfield jdk.nashorn.internal.runtime.Context.appLoader:Ljava/lang/ClassLoader;
32: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.Context.appLoader:Ljava/lang/ClassLoader;
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._unstable_relink_threshold:I
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.createDynamicLinker:(Ljava/lang/ClassLoader;I)Ljdk/dynalink/DynamicLinker;
putfield jdk.nashorn.internal.runtime.Context.dynamicLinker:Ljdk/dynalink/DynamicLinker;
33: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._class_cache_size:I
istore 11
start local 11 34: iload 11
ifle 36
35: aload 0
new jdk.nashorn.internal.runtime.Context$ClassCache
dup
aload 0
iload 11
invokespecial jdk.nashorn.internal.runtime.Context$ClassCache.<init>:(Ljdk/nashorn/internal/runtime/Context;I)V
putfield jdk.nashorn.internal.runtime.Context.classCache:Ljdk/nashorn/internal/runtime/Context$ClassCache;
36: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._persistent_cache:Z
ifeq 38
37: aload 0
aload 0
invokestatic jdk.nashorn.internal.runtime.CodeStore.newCodeStore:(Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/runtime/CodeStore;
putfield jdk.nashorn.internal.runtime.Context.codeStore:Ljdk/nashorn/internal/runtime/CodeStore;
38: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._version:Z
ifeq 40
39: aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.getErr:()Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "nashorn "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.nashorn.internal.runtime.Version.version:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
40: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._fullversion:Z
ifeq 42
41: aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.getErr:()Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "nashorn full version "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.nashorn.internal.runtime.Version.fullVersion:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
42: StackMap locals:
StackMap stack:
ldc "nashorn.fields.dual"
invokestatic jdk.nashorn.internal.runtime.options.Options.getBooleanProperty:(Ljava/lang/String;)Z
ifeq 45
43: aload 0
getstatic jdk.nashorn.internal.runtime.Context$FieldMode.DUAL:Ljdk/nashorn/internal/runtime/Context$FieldMode;
putfield jdk.nashorn.internal.runtime.Context.fieldMode:Ljdk/nashorn/internal/runtime/Context$FieldMode;
44: goto 49
StackMap locals:
StackMap stack:
45: ldc "nashorn.fields.objects"
invokestatic jdk.nashorn.internal.runtime.options.Options.getBooleanProperty:(Ljava/lang/String;)Z
ifeq 48
46: aload 0
getstatic jdk.nashorn.internal.runtime.Context$FieldMode.OBJECTS:Ljdk/nashorn/internal/runtime/Context$FieldMode;
putfield jdk.nashorn.internal.runtime.Context.fieldMode:Ljdk/nashorn/internal/runtime/Context$FieldMode;
47: goto 49
48: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.nashorn.internal.runtime.Context$FieldMode.AUTO:Ljdk/nashorn/internal/runtime/Context$FieldMode;
putfield jdk.nashorn.internal.runtime.Context.fieldMode:Ljdk/nashorn/internal/runtime/Context$FieldMode;
49: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.initLoggers:()V
50: return
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 51 0 this Ljdk/nashorn/internal/runtime/Context;
0 51 1 options Ljdk/nashorn/internal/runtime/options/Options;
0 51 2 errors Ljdk/nashorn/internal/runtime/ErrorManager;
0 51 3 out Ljava/io/PrintWriter;
0 51 4 err Ljava/io/PrintWriter;
0 51 5 appLoader Ljava/lang/ClassLoader;
0 51 6 classFilter Ljdk/nashorn/api/scripting/ClassFilter;
6 51 7 sm Ljava/lang/SecurityManager;
19 51 8 modulePath Ljava/lang/String;
20 51 9 appCl Ljava/lang/ClassLoader;
27 51 10 classPath Ljava/lang/String;
34 51 11 cacheSize I
MethodParameters:
Name Flags
options final
errors final
out final
err final
appLoader final
classFilter final
public jdk.nashorn.api.scripting.ClassFilter getClassFilter();
descriptor: ()Ljdk/nashorn/api/scripting/ClassFilter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.classFilter:Ljdk/nashorn/api/scripting/ClassFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
jdk.nashorn.internal.runtime.GlobalConstants getGlobalConstants();
descriptor: ()Ljdk/nashorn/internal/runtime/GlobalConstants;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.globalConstantsRef:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.GlobalConstants
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
public jdk.nashorn.internal.runtime.ErrorManager getErrorManager();
descriptor: ()Ljdk/nashorn/internal/runtime/ErrorManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.errors:Ljdk/nashorn/internal/runtime/ErrorManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
public jdk.nashorn.internal.runtime.ScriptEnvironment getEnv();
descriptor: ()Ljdk/nashorn/internal/runtime/ScriptEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
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.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
invokevirtual jdk.nashorn.internal.runtime.ScriptEnvironment.getOut:()Ljava/io/PrintWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
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.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
invokevirtual jdk.nashorn.internal.runtime.ScriptEnvironment.getErr:()Ljava/io/PrintWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
public boolean useDualFields();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.fieldMode:Ljdk/nashorn/internal/runtime/Context$FieldMode;
getstatic jdk.nashorn.internal.runtime.Context$FieldMode.DUAL:Ljdk/nashorn/internal/runtime/Context$FieldMode;
if_acmpeq 2
aload 0
getfield jdk.nashorn.internal.runtime.Context.fieldMode:Ljdk/nashorn/internal/runtime/Context$FieldMode;
getstatic jdk.nashorn.internal.runtime.Context$FieldMode.AUTO:Ljdk/nashorn/internal/runtime/Context$FieldMode;
if_acmpne 1
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._optimistic_types:Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/Context;
public static jdk.nashorn.internal.runtime.PropertyMap getGlobalMap();
descriptor: ()Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.nashorn.internal.runtime.ScriptFunction compileScript(jdk.nashorn.internal.runtime.Source, jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
getfield jdk.nashorn.internal.runtime.Context.errors:Ljdk/nashorn/internal/runtime/ErrorManager;
invokevirtual jdk.nashorn.internal.runtime.Context.compileScript:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/ErrorManager;)Ljdk/nashorn/internal/runtime/ScriptFunction;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
0 1 1 source Ljdk/nashorn/internal/runtime/Source;
0 1 2 scope Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
source final
scope final
public jdk.nashorn.internal.runtime.Context$MultiGlobalCompiledScript compileScript(jdk.nashorn.internal.runtime.Source);
descriptor: (Ljdk/nashorn/internal/runtime/Source;)Ljdk/nashorn/internal/runtime/Context$MultiGlobalCompiledScript;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield jdk.nashorn.internal.runtime.Context.errors:Ljdk/nashorn/internal/runtime/ErrorManager;
aload 0
getfield jdk.nashorn.internal.runtime.Context._strict:Z
iconst_0
invokevirtual jdk.nashorn.internal.runtime.Context.compile:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZ)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
invokestatic jdk.nashorn.internal.runtime.Context.getCreateProgramFunctionHandle:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 3
start local 3 2: new jdk.nashorn.internal.runtime.Context$3
dup
aload 0
aload 3
invokespecial jdk.nashorn.internal.runtime.Context$3.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljava/lang/invoke/MethodHandle;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/Context;
0 3 1 source Ljdk/nashorn/internal/runtime/Source;
1 3 2 clazz Ljava/lang/Class<*>;
2 3 3 createProgramFunctionHandle Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
source final
public java.lang.Object eval(jdk.nashorn.internal.runtime.ScriptObject, java.lang.String, java.lang.Object, java.lang.Object);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
iconst_0
iconst_0
invokevirtual jdk.nashorn.internal.runtime.Context.eval:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
0 1 1 initialScope Ljdk/nashorn/internal/runtime/ScriptObject;
0 1 2 string Ljava/lang/String;
0 1 3 callThis Ljava/lang/Object;
0 1 4 location Ljava/lang/Object;
MethodParameters:
Name Flags
initialScope final
string final
callThis final
location final
public java.lang.Object eval(jdk.nashorn.internal.runtime.ScriptObject, java.lang.String, java.lang.Object, java.lang.Object, boolean, boolean);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=16, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 4
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 1
aload 4
ifnonnull 2
StackMap locals:
StackMap stack:
1: ldc "<eval>"
goto 3
StackMap locals:
StackMap stack:
2: aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: astore 7
start local 7 4: aload 7
aload 2
iload 6
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/lang/String;Z)Ljdk/nashorn/internal/runtime/Source;
astore 8
start local 8 5: iload 6
ifeq 6
aload 4
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 6
iconst_1
goto 7
StackMap locals: java.lang.String jdk.nashorn.internal.runtime.Source
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 9
start local 9 8: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 10
start local 10 9: aload 1
astore 11
start local 11 10: iload 5
ifne 11
aload 0
getfield jdk.nashorn.internal.runtime.Context._strict:Z
ifne 11
iconst_0
goto 12
StackMap locals: int jdk.nashorn.internal.objects.Global jdk.nashorn.internal.runtime.ScriptObject
StackMap stack:
11: iconst_1
StackMap locals:
StackMap stack: int
12: istore 12
start local 12 13: aload 0
aload 8
new jdk.nashorn.internal.runtime.Context$ThrowErrorManager
dup
invokespecial jdk.nashorn.internal.runtime.Context$ThrowErrorManager.<init>:()V
iload 12
iconst_1
invokevirtual jdk.nashorn.internal.runtime.Context.compile:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZ)Ljava/lang/Class;
astore 13
start local 13 14: goto 18
end local 13 StackMap locals: jdk.nashorn.internal.runtime.Context jdk.nashorn.internal.runtime.ScriptObject java.lang.String java.lang.Object java.lang.Object int int java.lang.String jdk.nashorn.internal.runtime.Source int jdk.nashorn.internal.objects.Global jdk.nashorn.internal.runtime.ScriptObject int
StackMap stack: jdk.nashorn.internal.runtime.ParserException
15: astore 14
start local 14 16: aload 14
aload 10
invokevirtual jdk.nashorn.internal.runtime.ParserException.throwAsEcmaException:(Ljdk/nashorn/internal/objects/Global;)V
17: aconst_null
areturn
end local 14 start local 13 18: StackMap locals: java.lang.Class
StackMap stack:
iload 12
ifne 23
19: aload 13
getstatic jdk.nashorn.internal.codegen.CompilerConstants.STRICT_MODE:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aconst_null
invokevirtual java.lang.reflect.Field.getBoolean:(Ljava/lang/Object;)Z
istore 12
20: goto 23
StackMap locals:
StackMap stack: java.lang.Exception
21: pop
22: iconst_0
istore 12
23: StackMap locals:
StackMap stack:
iload 12
ifeq 25
24: aload 11
invokestatic jdk.nashorn.internal.runtime.Context.newScope:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptObject;
astore 11
25: StackMap locals:
StackMap stack:
aload 13
aload 11
invokestatic jdk.nashorn.internal.runtime.Context.getProgramFunction:(Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction;
astore 14
start local 14 26: iload 9
ifeq 33
27: aload 3
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 28
aload 3
ifnonnull 29
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunction
StackMap stack:
28: iload 12
ifeq 30
StackMap locals:
StackMap stack:
29: aload 3
goto 31
StackMap locals:
StackMap stack:
30: aload 10
StackMap locals:
StackMap stack: java.lang.Object
31: astore 15
start local 15 32: goto 34
end local 15 33: StackMap locals:
StackMap stack:
aload 3
astore 15
start local 15 34: StackMap locals: java.lang.Object
StackMap stack:
aload 14
aload 15
iconst_0
anewarray java.lang.Object
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.apply:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
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 35 0 this Ljdk/nashorn/internal/runtime/Context;
0 35 1 initialScope Ljdk/nashorn/internal/runtime/ScriptObject;
0 35 2 string Ljava/lang/String;
0 35 3 callThis Ljava/lang/Object;
0 35 4 location Ljava/lang/Object;
0 35 5 strict Z
0 35 6 evalCall Z
4 35 7 file Ljava/lang/String;
5 35 8 source Ljdk/nashorn/internal/runtime/Source;
8 35 9 directEval Z
9 35 10 global Ljdk/nashorn/internal/objects/Global;
10 35 11 scope Ljdk/nashorn/internal/runtime/ScriptObject;
13 35 12 strictFlag Z
14 15 13 clazz Ljava/lang/Class<*>;
18 35 13 clazz Ljava/lang/Class<*>;
16 18 14 e Ljdk/nashorn/internal/runtime/ParserException;
26 35 14 func Ljdk/nashorn/internal/runtime/ScriptFunction;
32 33 15 evalThis Ljava/lang/Object;
34 35 15 evalThis Ljava/lang/Object;
Exception table:
from to target type
13 14 15 Class jdk.nashorn.internal.runtime.ParserException
19 20 21 Class java.lang.NoSuchFieldException
19 20 21 Class java.lang.SecurityException
19 20 21 Class java.lang.IllegalArgumentException
19 20 21 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
initialScope final
string final
callThis final
location final
strict final
evalCall final
private static jdk.nashorn.internal.runtime.ScriptObject newScope(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.runtime.Scope
dup
aload 0
ldc Ljdk/nashorn/internal/runtime/Scope;
invokestatic jdk.nashorn.internal.runtime.PropertyMap.newMap:(Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/PropertyMap;
invokespecial jdk.nashorn.internal.runtime.Scope.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 callerScope Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
callerScope final
private static jdk.nashorn.internal.runtime.Source loadInternal(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/Source;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
1: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 2: new jdk.nashorn.internal.runtime.Context$4
dup
aload 3
aload 0
invokespecial jdk.nashorn.internal.runtime.Context$4.<init>:(Ljava/lang/String;Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.Source
areturn
end local 3 4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 srcStr Ljava/lang/String;
0 5 1 prefix Ljava/lang/String;
0 5 2 resourcePath Ljava/lang/String;
2 4 3 resource Ljava/lang/String;
MethodParameters:
Name Flags
srcStr final
prefix final
resourcePath final
public java.lang.Object load(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof jdk.nashorn.internal.runtime.ConsString
ifeq 1
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: java.lang.Object
2: astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aload 3
instanceof java.lang.String
ifeq 25
5: aload 3
checkcast java.lang.String
astore 5
start local 5 6: aload 5
ldc "classpath:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
7: aload 0
aload 5
ldc "classpath:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.Context.getResourceURL:(Ljava/lang/String;)Ljava/net/URL;
astore 6
start local 6 8: aload 6
ifnull 9
aload 6
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aload 6
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/net/URL;)Ljdk/nashorn/internal/runtime/Source;
goto 10
StackMap locals: jdk.nashorn.internal.runtime.Context java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.runtime.Source java.lang.String java.net.URL
StackMap stack:
9: aconst_null
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.Source
10: astore 4
end local 6 11: goto 46
12: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 5
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 13: aload 5
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 22
14: aload 5
ldc "nashorn:"
ldc "resources/"
invokestatic jdk.nashorn.internal.runtime.Context.loadInternal:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/Source;
dup
astore 4
ifnonnull 46
15: aload 5
ldc "fx:"
ldc "resources/fx/"
invokestatic jdk.nashorn.internal.runtime.Context.loadInternal:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/Source;
dup
astore 4
ifnonnull 46
16: new java.net.URL
dup
aload 5
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 7
start local 7 17: goto 20
end local 7 StackMap locals: jdk.nashorn.internal.runtime.Context java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.runtime.Source java.lang.String java.io.File
StackMap stack: java.net.MalformedURLException
18: pop
19: aload 6
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 7
start local 7 20: StackMap locals: java.net.URL
StackMap stack:
aload 7
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aload 7
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/net/URL;)Ljdk/nashorn/internal/runtime/Source;
astore 4
end local 7 21: goto 46
StackMap locals:
StackMap stack:
22: aload 6
invokevirtual java.io.File.isFile:()Z
ifeq 46
23: aload 5
aload 6
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/io/File;)Ljdk/nashorn/internal/runtime/Source;
astore 4
end local 6 end local 5 24: goto 46
StackMap locals:
StackMap stack:
25: aload 3
instanceof java.io.File
ifeq 29
aload 3
checkcast java.io.File
invokevirtual java.io.File.isFile:()Z
ifeq 29
26: aload 3
checkcast java.io.File
astore 5
start local 5 27: aload 5
invokevirtual java.io.File.getName:()Ljava/lang/String;
aload 5
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/io/File;)Ljdk/nashorn/internal/runtime/Source;
astore 4
end local 5 28: goto 46
StackMap locals:
StackMap stack:
29: aload 3
instanceof java.net.URL
ifeq 33
30: aload 3
checkcast java.net.URL
astore 5
start local 5 31: aload 5
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aload 5
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/net/URL;)Ljdk/nashorn/internal/runtime/Source;
astore 4
end local 5 32: goto 46
StackMap locals:
StackMap stack:
33: aload 3
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 40
34: aload 3
checkcast jdk.nashorn.internal.runtime.ScriptObject
astore 5
start local 5 35: aload 5
ldc "script"
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.has:(Ljava/lang/Object;)Z
ifeq 46
aload 5
ldc "name"
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.has:(Ljava/lang/Object;)Z
ifeq 46
36: aload 5
ldc "script"
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 37: aload 5
ldc "name"
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
astore 7
start local 7 38: aload 7
aload 6
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/Source;
astore 4
end local 7 end local 6 end local 5 39: goto 46
StackMap locals:
StackMap stack:
40: aload 3
instanceof java.util.Map
ifeq 46
41: aload 3
checkcast java.util.Map
astore 5
start local 5 42: aload 5
ldc "script"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 46
aload 5
ldc "name"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 46
43: aload 5
ldc "script"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 44: aload 5
ldc "name"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
astore 7
start local 7 45: aload 7
aload 6
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/Source;
astore 4
end local 7 end local 6 end local 5 46: StackMap locals:
StackMap stack:
aload 4
ifnull 58
47: aload 1
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 51
aload 1
checkcast jdk.nashorn.internal.runtime.ScriptObject
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.isScope:()Z
ifeq 51
48: aload 1
checkcast jdk.nashorn.internal.runtime.ScriptObject
astore 5
start local 5 49: getstatic jdk.nashorn.internal.runtime.Context.$assertionsDisabled:Z
ifne 50
aload 5
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.isGlobal:()Z
ifne 50
new java.lang.AssertionError
dup
ldc "non-Global scope object!!"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
50: StackMap locals: jdk.nashorn.internal.runtime.ScriptObject
StackMap stack:
aload 0
aload 4
aload 5
aload 5
invokevirtual jdk.nashorn.internal.runtime.Context.evaluateSource:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/Object;
areturn
end local 5 51: StackMap locals:
StackMap stack:
aload 1
ifnull 52
aload 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpne 54
52: StackMap locals:
StackMap stack:
invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 5
start local 5 53: aload 0
aload 4
aload 5
aload 5
invokevirtual jdk.nashorn.internal.runtime.Context.evaluateSource:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/Object;
areturn
end local 5 54: StackMap locals:
StackMap stack:
invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 5
start local 5 55: aload 5
invokestatic jdk.nashorn.internal.runtime.Context.newScope:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptObject;
astore 6
start local 6 56: aload 6
aload 1
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.openWith:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ScriptObject;
astore 7
start local 7 57: aload 0
aload 4
aload 7
aload 5
invokevirtual jdk.nashorn.internal.runtime.Context.evaluateSource:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/Object;
areturn
end local 7 end local 6 end local 5 58: StackMap locals:
StackMap stack:
ldc "cant.load.script"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Ljdk/nashorn/internal/runtime/Context;
0 59 1 scope Ljava/lang/Object;
0 59 2 from Ljava/lang/Object;
3 59 3 src Ljava/lang/Object;
4 59 4 source Ljdk/nashorn/internal/runtime/Source;
6 24 5 srcStr Ljava/lang/String;
8 11 6 url Ljava/net/URL;
13 24 6 file Ljava/io/File;
17 18 7 url Ljava/net/URL;
20 21 7 url Ljava/net/URL;
27 28 5 file Ljava/io/File;
31 32 5 url Ljava/net/URL;
35 39 5 sobj Ljdk/nashorn/internal/runtime/ScriptObject;
37 39 6 script Ljava/lang/String;
38 39 7 name Ljava/lang/String;
42 46 5 map Ljava/util/Map<**>;
44 46 6 script Ljava/lang/String;
45 46 7 name Ljava/lang/String;
49 51 5 sobj Ljdk/nashorn/internal/runtime/ScriptObject;
53 54 5 global Ljdk/nashorn/internal/objects/Global;
55 58 5 global Ljdk/nashorn/internal/objects/Global;
56 58 6 evalScope Ljdk/nashorn/internal/runtime/ScriptObject;
57 58 7 withObj Ljdk/nashorn/internal/runtime/ScriptObject;
Exception table:
from to target type
16 17 18 Class java.net.MalformedURLException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
scope final
from final
public java.lang.Object loadWithNewGlobal(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 3
start local 3 1: new jdk.nashorn.internal.runtime.Context$5
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.Context$5.<init>:(Ljdk/nashorn/internal/runtime/Context;)V
2: getstatic jdk.nashorn.internal.runtime.Context.CREATE_GLOBAL_ACC_CTXT:Ljava/security/AccessControlContext;
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.objects.Global
astore 4
start local 4 4: aload 0
aload 4
invokevirtual jdk.nashorn.internal.runtime.Context.initGlobal:(Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/objects/Global;
pop
5: aload 4
invokestatic jdk.nashorn.internal.runtime.Context.setGlobal:(Ljdk/nashorn/internal/objects/Global;)V
6: aload 2
ifnonnull 7
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.EMPTY_ARRAY:[Ljava/lang/Object;
goto 8
StackMap locals: jdk.nashorn.internal.objects.Global jdk.nashorn.internal.objects.Global
StackMap stack:
7: aload 2
aload 3
invokestatic jdk.nashorn.api.scripting.ScriptObjectMirror.wrapArray:([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object[]
8: astore 5
start local 5 9: aload 4
ldc "arguments"
aload 4
aload 5
invokevirtual jdk.nashorn.internal.objects.Global.wrapAsObject:(Ljava/lang/Object;)Ljava/lang/Object;
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._strict:Z
invokevirtual jdk.nashorn.internal.objects.Global.put:(Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object;
pop
10: aload 0
aload 4
aload 1
invokevirtual jdk.nashorn.internal.runtime.Context.load:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
aload 4
invokestatic jdk.nashorn.api.scripting.ScriptObjectMirror.wrap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
aload 3
invokestatic jdk.nashorn.api.scripting.ScriptObjectMirror.unwrap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 7
11: aload 3
invokestatic jdk.nashorn.internal.runtime.Context.setGlobal:(Ljdk/nashorn/internal/objects/Global;)V
12: aload 7
areturn
13: StackMap locals: jdk.nashorn.internal.runtime.Context java.lang.Object java.lang.Object[] jdk.nashorn.internal.objects.Global jdk.nashorn.internal.objects.Global java.lang.Object[]
StackMap stack: java.lang.Throwable
astore 6
14: aload 3
invokestatic jdk.nashorn.internal.runtime.Context.setGlobal:(Ljdk/nashorn/internal/objects/Global;)V
15: aload 6
athrow
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 16 0 this Ljdk/nashorn/internal/runtime/Context;
0 16 1 from Ljava/lang/Object;
0 16 2 args [Ljava/lang/Object;
1 16 3 oldGlobal Ljdk/nashorn/internal/objects/Global;
4 16 4 newGlobal Ljdk/nashorn/internal/objects/Global;
9 16 5 wrapped [Ljava/lang/Object;
Exception table:
from to target type
10 11 13 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from final
args final
public static java.lang.Class<? extends jdk.nashorn.internal.runtime.ScriptObject> forStructureClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
aload 0
invokestatic jdk.nashorn.internal.runtime.StructureLoader.isStructureClass:(Ljava/lang/String;)Z
ifne 2
1: new java.lang.ClassNotFoundException
dup
aload 0
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.Context.structureClasses:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/nashorn/internal/runtime/Context.lambda$0(Ljava/lang/String;)Ljava/lang/Class; (6)
(Ljava/lang/String;)Ljava/lang/Class;
invokeinterface java.util.concurrent.ConcurrentMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.lang.Class
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fullName Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/ScriptObject;>;
MethodParameters:
Name Flags
fullName final
public static boolean isStructureClass(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.StructureLoader.isStructureClass:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 className Ljava/lang/String;
MethodParameters:
Name Flags
className final
public static void checkPackageAccess(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 7
2: aload 0
astore 2
start local 2 3: goto 5
4: StackMap locals: java.lang.SecurityManager java.lang.Class
StackMap stack:
aload 2
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.isArray:()Z
ifne 4
6: aload 1
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.Context.checkPackageAccess:(Ljava/lang/SecurityManager;Ljava/lang/String;)V
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 clazz Ljava/lang/Class<*>;
1 8 1 sm Ljava/lang/SecurityManager;
3 7 2 bottomClazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
clazz final
public static void checkPackageAccess(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
aload 0
ldc "."
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 3
aload 0
goto 4
StackMap locals: java.lang.String java.lang.SecurityManager
StackMap stack: java.lang.SecurityManager
3: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: java.lang.String java.lang.SecurityManager
StackMap stack: java.lang.SecurityManager java.lang.String
4: invokestatic jdk.nashorn.internal.runtime.Context.checkPackageAccess:(Ljava/lang/SecurityManager;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 pkgName Ljava/lang/String;
1 6 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
pkgName final
private static void checkPackageAccess(java.lang.SecurityManager, java.lang.String);
descriptor: (Ljava/lang/SecurityManager;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 7
3: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 4: new jdk.nashorn.internal.runtime.Context$6
dup
aload 0
aload 3
invokespecial jdk.nashorn.internal.runtime.Context$6.<init>:(Ljava/lang/SecurityManager;Ljava/lang/String;)V
5: getstatic jdk.nashorn.internal.runtime.Context.NO_PERMISSIONS_ACC_CTXT:Ljava/security/AccessControlContext;
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
end local 3 7: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 sm Ljava/lang/SecurityManager;
0 8 1 fullName Ljava/lang/String;
2 8 2 index I
4 7 3 pkgName Ljava/lang/String;
MethodParameters:
Name Flags
sm final
fullName final
private static boolean isAccessiblePackage(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.Context.checkPackageAccess:(Ljava/lang/Class;)V
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 clazz Ljava/lang/Class<*>;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz final
public static boolean isAccessibleClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 1
aload 0
invokestatic jdk.nashorn.internal.runtime.Context.isAccessiblePackage:(Ljava/lang/Class;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz final
public java.lang.Class<?> findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
bipush 91
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 1
aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 2
1: StackMap locals:
StackMap stack:
new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.classFilter:Ljdk/nashorn/api/scripting/ClassFilter;
ifnull 4
aload 0
getfield jdk.nashorn.internal.runtime.Context.classFilter:Ljdk/nashorn/api/scripting/ClassFilter;
aload 1
invokeinterface jdk.nashorn.api.scripting.ClassFilter.exposeToScripts:(Ljava/lang/String;)Z
ifne 4
3: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
aload 1
invokestatic jdk.nashorn.internal.runtime.Context.checkPackageAccess:(Ljava/lang/SecurityManager;Ljava/lang/String;)V
7: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.appLoader:Ljava/lang/ClassLoader;
ifnull 9
8: aload 1
iconst_1
aload 0
getfield jdk.nashorn.internal.runtime.Context.appLoader:Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
areturn
9: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 10: aload 3
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnonnull 12
11: aload 3
areturn
12: StackMap locals: java.lang.Class
StackMap stack:
new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/nashorn/internal/runtime/Context;
0 13 1 fullName Ljava/lang/String;
5 13 2 sm Ljava/lang/SecurityManager;
10 13 3 cl Ljava/lang/Class<*>;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
fullName final
public static void printStackTrace(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.Context.DEBUG:Z
ifeq 2
1: aload 0
invokestatic jdk.nashorn.internal.runtime.Context.getCurrentErr:()Ljava/io/PrintWriter;
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintWriter;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t final
public void verify(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._verify_code:Z
ifeq 3
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 3
2: new jdk.internal.org.objectweb.asm.ClassReader
dup
aload 1
invokespecial jdk.internal.org.objectweb.asm.ClassReader.<init>:([B)V
getstatic jdk.nashorn.internal.runtime.Context.theStructLoader:Ljdk/nashorn/internal/runtime/StructureLoader;
iconst_0
new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
invokestatic jdk.internal.org.objectweb.asm.util.CheckClassAdapter.verify:(Ljdk/internal/org/objectweb/asm/ClassReader;Ljava/lang/ClassLoader;ZLjava/io/PrintWriter;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/Context;
0 4 1 bytecode [B
MethodParameters:
Name Flags
bytecode final
public jdk.nashorn.internal.objects.Global createGlobal();
descriptor: ()Ljdk/nashorn/internal/objects/Global;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.newGlobal:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.runtime.Context.initGlobal:(Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/objects/Global;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
public jdk.nashorn.internal.objects.Global newGlobal();
descriptor: ()Ljdk/nashorn/internal/objects/Global;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.createOrInvalidateGlobalConstants:()V
1: new jdk.nashorn.internal.objects.Global
dup
aload 0
invokespecial jdk.nashorn.internal.objects.Global.<init>:(Ljdk/nashorn/internal/runtime/Context;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/Context;
private void createOrInvalidateGlobalConstants();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.getGlobalConstants:()Ljdk/nashorn/internal/runtime/GlobalConstants;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants.invalidateForever:()V
3: return
4: StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants
StackMap stack:
new jdk.nashorn.internal.runtime.GlobalConstants
dup
aload 0
ldc Ljdk/nashorn/internal/runtime/GlobalConstants;
invokevirtual jdk.nashorn.internal.runtime.Context.getLogger:(Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokespecial jdk.nashorn.internal.runtime.GlobalConstants.<init>:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;)V
astore 2
start local 2 5: aload 0
getfield jdk.nashorn.internal.runtime.Context.globalConstantsRef:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/Context;
1 7 1 currentGlobalConstants Ljdk/nashorn/internal/runtime/GlobalConstants;
5 7 2 newGlobalConstants Ljdk/nashorn/internal/runtime/GlobalConstants;
public jdk.nashorn.internal.objects.Global initGlobal(jdk.nashorn.internal.objects.Global, javax.script.ScriptEngine);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljavax/script/ScriptEngine;)Ljdk/nashorn/internal/objects/Global;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._compile_only:Z
ifne 9
1: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 3
start local 3 2: aload 1
invokestatic jdk.nashorn.internal.runtime.Context.setGlobal:(Ljdk/nashorn/internal/objects/Global;)V
3: aload 1
aload 2
invokevirtual jdk.nashorn.internal.objects.Global.initBuiltinObjects:(Ljavax/script/ScriptEngine;)V
4: goto 8
StackMap locals: jdk.nashorn.internal.runtime.Context jdk.nashorn.internal.objects.Global javax.script.ScriptEngine jdk.nashorn.internal.objects.Global
StackMap stack: java.lang.Throwable
5: astore 4
6: aload 3
invokestatic jdk.nashorn.internal.runtime.Context.setGlobal:(Ljdk/nashorn/internal/objects/Global;)V
7: aload 4
athrow
8: StackMap locals:
StackMap stack:
aload 3
invokestatic jdk.nashorn.internal.runtime.Context.setGlobal:(Ljdk/nashorn/internal/objects/Global;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/runtime/Context;
0 10 1 global Ljdk/nashorn/internal/objects/Global;
0 10 2 engine Ljavax/script/ScriptEngine;
2 9 3 oldGlobal Ljdk/nashorn/internal/objects/Global;
Exception table:
from to target type
2 5 5 any
MethodParameters:
Name Flags
global final
engine final
public jdk.nashorn.internal.objects.Global initGlobal(jdk.nashorn.internal.objects.Global);
descriptor: (Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/objects/Global;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual jdk.nashorn.internal.runtime.Context.initGlobal:(Ljdk/nashorn/internal/objects/Global;Ljavax/script/ScriptEngine;)Ljdk/nashorn/internal/objects/Global;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
0 1 1 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
global final
static jdk.nashorn.internal.runtime.Context getContextTrusted();
descriptor: ()Ljdk/nashorn/internal/runtime/Context;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
invokestatic jdk.nashorn.internal.runtime.Context.getContext:(Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/runtime/Context;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static jdk.dynalink.DynamicLinker getDynamicLinker(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljdk/dynalink/DynamicLinker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.Context.fromClass:(Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/Context;
getfield jdk.nashorn.internal.runtime.Context.dynamicLinker:Ljdk/dynalink/DynamicLinker;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljdk/dynalink/DynamicLinker;
MethodParameters:
Name Flags
clazz final
public static jdk.dynalink.DynamicLinker getDynamicLinker();
descriptor: ()Ljdk/dynalink/DynamicLinker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.nashorn.internal.runtime.Context.getContextTrusted:()Ljdk/nashorn/internal/runtime/Context;
getfield jdk.nashorn.internal.runtime.Context.dynamicLinker:Ljdk/dynalink/DynamicLinker;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.Module createModuleTrusted(java.lang.module.ModuleDescriptor, java.lang.ClassLoader);
descriptor: (Ljava/lang/module/ModuleDescriptor;Ljava/lang/ClassLoader;)Ljava/lang/Module;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.Context.createModuleTrusted:(Ljava/lang/ModuleLayer;Ljava/lang/module/ModuleDescriptor;Ljava/lang/ClassLoader;)Ljava/lang/Module;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 descriptor Ljava/lang/module/ModuleDescriptor;
0 1 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
descriptor final
loader final
static java.lang.Module createModuleTrusted(java.lang.ModuleLayer, java.lang.module.ModuleDescriptor, java.lang.ClassLoader);
descriptor: (Ljava/lang/ModuleLayer;Ljava/lang/module/ModuleDescriptor;Ljava/lang/ClassLoader;)Ljava/lang/Module;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 3
start local 3 1: new jdk.nashorn.internal.runtime.Context$7
dup
aload 1
aconst_null
invokespecial jdk.nashorn.internal.runtime.Context$7.<init>:(Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V
astore 4
start local 4 2: new jdk.nashorn.internal.runtime.Context$8
dup
aload 3
aload 4
invokespecial jdk.nashorn.internal.runtime.Context$8.<init>:(Ljava/lang/String;Ljava/lang/module/ModuleReference;)V
astore 5
start local 5 3: aload 0
invokevirtual java.lang.ModuleLayer.configuration:()Ljava/lang/module/Configuration;
4: aload 5
iconst_0
anewarray java.nio.file.Path
invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
aload 3
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
invokevirtual java.lang.module.Configuration.resolve:(Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Collection;)Ljava/lang/module/Configuration;
5: astore 6
start local 6 6: aload 0
aload 6
aload 2
invokedynamic run(Ljava/lang/ModuleLayer;Ljava/lang/module/Configuration;Ljava/lang/ClassLoader;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/nashorn/internal/runtime/Context.lambda$1(Ljava/lang/ModuleLayer;Ljava/lang/module/Configuration;Ljava/lang/ClassLoader;)Ljava/lang/ModuleLayer; (6)
()Ljava/lang/ModuleLayer;
astore 7
start local 7 7: aload 7
getstatic jdk.nashorn.internal.runtime.Context.GET_LOADER_ACC_CTXT:Ljava/security/AccessControlContext;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast java.lang.ModuleLayer
astore 8
start local 8 8: aload 8
aload 3
invokevirtual java.lang.ModuleLayer.findModule:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.Module
astore 9
start local 9 9: getstatic jdk.nashorn.internal.runtime.Context.$assertionsDisabled:Z
ifne 10
aload 9
invokevirtual java.lang.Module.getLayer:()Ljava/lang/ModuleLayer;
aload 8
if_acmpeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: java.lang.ModuleLayer java.lang.module.ModuleDescriptor java.lang.ClassLoader java.lang.String java.lang.module.ModuleReference java.lang.module.ModuleFinder java.lang.module.Configuration java.security.PrivilegedAction java.lang.ModuleLayer java.lang.Module
StackMap stack:
aload 9
areturn
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 11 0 parent Ljava/lang/ModuleLayer;
0 11 1 descriptor Ljava/lang/module/ModuleDescriptor;
0 11 2 loader Ljava/lang/ClassLoader;
1 11 3 mn Ljava/lang/String;
2 11 4 mref Ljava/lang/module/ModuleReference;
3 11 5 finder Ljava/lang/module/ModuleFinder;
6 11 6 cf Ljava/lang/module/Configuration;
7 11 7 pa Ljava/security/PrivilegedAction<Ljava/lang/ModuleLayer;>;
8 11 8 layer Ljava/lang/ModuleLayer;
9 11 9 m Ljava/lang/Module;
MethodParameters:
Name Flags
parent final
descriptor final
loader final
static jdk.nashorn.internal.runtime.Context getContextTrustedOrNull();
descriptor: ()Ljdk/nashorn/internal/runtime/Context;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 0
start local 0 1: aload 0
ifnonnull 2
aconst_null
goto 3
StackMap locals: jdk.nashorn.internal.objects.Global
StackMap stack:
2: aload 0
invokestatic jdk.nashorn.internal.runtime.Context.getContext:(Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/runtime/Context;
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.Context
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 global Ljdk/nashorn/internal/objects/Global;
private static jdk.nashorn.internal.runtime.Context getContext(jdk.nashorn.internal.objects.Global);
descriptor: (Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/runtime/Context;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getContext:()Ljdk/nashorn/internal/runtime/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
global final
static jdk.nashorn.internal.runtime.Context fromClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/Context;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
2: goto 4
StackMap locals: java.lang.Class java.lang.ClassLoader
StackMap stack: java.lang.SecurityException
3: pop
4: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.nashorn.internal.runtime.ScriptLoader
ifeq 6
5: aload 1
checkcast jdk.nashorn.internal.runtime.ScriptLoader
invokevirtual jdk.nashorn.internal.runtime.ScriptLoader.getContext:()Ljdk/nashorn/internal/runtime/Context;
areturn
6: StackMap locals:
StackMap stack:
invokestatic jdk.nashorn.internal.runtime.Context.getContextTrusted:()Ljdk/nashorn/internal/runtime/Context;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 clazz Ljava/lang/Class<*>;
1 7 1 loader Ljava/lang/ClassLoader;
Exception table:
from to target type
1 2 3 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<*>;)Ljdk/nashorn/internal/runtime/Context;
MethodParameters:
Name Flags
clazz final
private java.net.URL getResourceURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.appLoader:Ljava/lang/ClassLoader;
ifnull 2
1: aload 0
getfield jdk.nashorn.internal.runtime.Context.appLoader:Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.ClassLoader.getSystemResource:(Ljava/lang/String;)Ljava/net/URL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/Context;
0 3 1 resName Ljava/lang/String;
MethodParameters:
Name Flags
resName final
private java.lang.Object evaluateSource(jdk.nashorn.internal.runtime.Source, jdk.nashorn.internal.runtime.ScriptObject, jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
aload 1
aload 2
new jdk.nashorn.internal.runtime.Context$ThrowErrorManager
dup
invokespecial jdk.nashorn.internal.runtime.Context$ThrowErrorManager.<init>:()V
invokevirtual jdk.nashorn.internal.runtime.Context.compileScript:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/ErrorManager;)Ljdk/nashorn/internal/runtime/ScriptFunction;
astore 4
2: goto 5
StackMap locals: jdk.nashorn.internal.runtime.Context jdk.nashorn.internal.runtime.Source jdk.nashorn.internal.runtime.ScriptObject jdk.nashorn.internal.runtime.ScriptObject jdk.nashorn.internal.runtime.ScriptFunction
StackMap stack: jdk.nashorn.internal.runtime.ParserException
3: astore 5
start local 5 4: aload 5
invokevirtual jdk.nashorn.internal.runtime.ParserException.throwAsEcmaException:()V
end local 5 5: StackMap locals:
StackMap stack:
aload 4
aload 3
iconst_0
anewarray java.lang.Object
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.apply:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/runtime/Context;
0 6 1 source Ljdk/nashorn/internal/runtime/Source;
0 6 2 scope Ljdk/nashorn/internal/runtime/ScriptObject;
0 6 3 thiz Ljdk/nashorn/internal/runtime/ScriptObject;
1 6 4 script Ljdk/nashorn/internal/runtime/ScriptFunction;
4 5 5 e Ljdk/nashorn/internal/runtime/ParserException;
Exception table:
from to target type
1 2 3 Class jdk.nashorn.internal.runtime.ParserException
MethodParameters:
Name Flags
source final
scope final
thiz final
private static jdk.nashorn.internal.runtime.ScriptFunction getProgramFunction(java.lang.Class<?>, jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.Context.getCreateProgramFunctionHandle:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
aload 1
invokestatic jdk.nashorn.internal.runtime.Context.invokeCreateProgramFunctionHandle:(Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 script Ljava/lang/Class<*>;
0 3 1 scope Ljdk/nashorn/internal/runtime/ScriptObject;
Signature: (Ljava/lang/Class<*>;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction;
MethodParameters:
Name Flags
script final
scope final
private static java.lang.invoke.MethodHandle getCreateProgramFunctionHandle(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.Context.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
aload 0
getstatic jdk.nashorn.internal.codegen.CompilerConstants.CREATE_PROGRAM_FUNCTION:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
getstatic jdk.nashorn.internal.runtime.Context.CREATE_PROGRAM_FUNCTION_TYPE:Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findStatic:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 1
start local 1 3: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Failed to retrieve a handle for the program function for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 script Ljava/lang/Class<*>;
3 4 1 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
0 1 2 Class java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
script final
private static jdk.nashorn.internal.runtime.ScriptFunction invokeCreateProgramFunctionHandle(java.lang.invoke.MethodHandle, jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 2
athrow
end local 2 4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 5: new java.lang.AssertionError
dup
ldc "Failed to create a program function"
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 createProgramFunctionHandle Ljava/lang/invoke/MethodHandle;
0 6 1 scope Ljdk/nashorn/internal/runtime/ScriptObject;
3 4 2 e Ljava/lang/Throwable;
5 6 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
0 1 2 Class java.lang.Error
0 1 4 Class java.lang.Throwable
MethodParameters:
Name Flags
createProgramFunctionHandle final
scope final
private jdk.nashorn.internal.runtime.ScriptFunction compileScript(jdk.nashorn.internal.runtime.Source, jdk.nashorn.internal.runtime.ScriptObject, jdk.nashorn.internal.runtime.ErrorManager);
descriptor: (Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/ErrorManager;)Ljdk/nashorn/internal/runtime/ScriptFunction;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
aload 0
getfield jdk.nashorn.internal.runtime.Context._strict:Z
iconst_0
invokevirtual jdk.nashorn.internal.runtime.Context.compile:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZ)Ljava/lang/Class;
aload 2
invokestatic jdk.nashorn.internal.runtime.Context.getProgramFunction:(Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
0 1 1 source Ljdk/nashorn/internal/runtime/Source;
0 1 2 scope Ljdk/nashorn/internal/runtime/ScriptObject;
0 1 3 errMan Ljdk/nashorn/internal/runtime/ErrorManager;
MethodParameters:
Name Flags
source final
scope final
errMan final
private synchronized java.lang.Class<?> compile(jdk.nashorn.internal.runtime.Source, jdk.nashorn.internal.runtime.ErrorManager, boolean, boolean);
descriptor: (Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZ)Ljava/lang/Class;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=8, locals=16, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual jdk.nashorn.internal.runtime.ErrorManager.reset:()V
1: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.Context.findCachedClass:(Ljdk/nashorn/internal/runtime/Source;)Ljava/lang/Class;
astore 5
start local 5 2: aload 5
ifnull 7
3: aload 0
ldc Ljdk/nashorn/internal/codegen/Compiler;
invokevirtual jdk.nashorn.internal.runtime.Context.getLogger:(Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
astore 6
start local 6 4: aload 6
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 6
5: aload 6
new jdk.nashorn.internal.runtime.events.RuntimeEvent
dup
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
aload 1
invokespecial jdk.nashorn.internal.runtime.events.RuntimeEvent.<init>:(Ljava/util/logging/Level;Ljava/lang/Object;)V
iconst_3
anewarray java.lang.Object
dup
iconst_0
ldc "Code cache hit for "
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
ldc " avoiding recompile."
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:(Ljdk/nashorn/internal/runtime/events/RuntimeEvent;[Ljava/lang/Object;)V
6: StackMap locals: java.lang.Class jdk.nashorn.internal.runtime.logging.DebugLogger
StackMap stack:
aload 5
areturn
end local 6 7: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 8: aconst_null
astore 7
start local 7 9: aload 0
getfield jdk.nashorn.internal.runtime.Context.codeStore:Ljdk/nashorn/internal/runtime/CodeStore;
ifnull 11
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._parse_only:Z
ifne 11
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._optimistic_types:Z
ifeq 10
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._lazy_compilation:Z
ifeq 11
StackMap locals: jdk.nashorn.internal.runtime.StoredScript jdk.nashorn.internal.ir.FunctionNode
StackMap stack:
10: iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 8
start local 8 13: iload 8
ifeq 14
ldc "script"
aconst_null
invokestatic jdk.nashorn.internal.runtime.CodeStore.getCacheKey:(Ljava/lang/Object;[Ljdk/nashorn/internal/codegen/types/Type;)Ljava/lang/String;
goto 15
StackMap locals: int
StackMap stack:
14: aconst_null
StackMap locals:
StackMap stack: java.lang.String
15: astore 9
start local 9 16: iload 8
ifeq 18
17: aload 0
getfield jdk.nashorn.internal.runtime.Context.codeStore:Ljdk/nashorn/internal/runtime/CodeStore;
aload 1
aload 9
invokevirtual jdk.nashorn.internal.runtime.CodeStore.load:(Ljdk/nashorn/internal/runtime/Source;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/StoredScript;
astore 6
18: StackMap locals: java.lang.String
StackMap stack:
aload 6
ifnonnull 28
19: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._dest_dir:Ljava/lang/String;
ifnull 21
20: aload 1
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._dest_dir:Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.Source.dump:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.parser.Parser
dup
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
aload 1
aload 2
iload 3
aload 0
ldc Ljdk/nashorn/internal/parser/Parser;
invokevirtual jdk.nashorn.internal.runtime.Context.getLogger:(Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokespecial jdk.nashorn.internal.parser.Parser.<init>:(Ljdk/nashorn/internal/runtime/ScriptEnvironment;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZLjdk/nashorn/internal/runtime/logging/DebugLogger;)V
invokevirtual jdk.nashorn.internal.parser.Parser.parse:()Ljdk/nashorn/internal/ir/FunctionNode;
astore 7
22: aload 2
invokevirtual jdk.nashorn.internal.runtime.ErrorManager.hasErrors:()Z
ifeq 24
23: aconst_null
areturn
24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_ast:Z
ifne 25
aload 7
iconst_4
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getDebugFlag:(I)Z
ifeq 26
25: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.getErr:()Ljava/io/PrintWriter;
new jdk.nashorn.internal.ir.debug.ASTWriter
dup
aload 7
invokespecial jdk.nashorn.internal.ir.debug.ASTWriter.<init>:(Ljdk/nashorn/internal/ir/Node;)V
invokevirtual java.io.PrintWriter.println:(Ljava/lang/Object;)V
26: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._print_parse:Z
ifne 27
aload 7
iconst_1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getDebugFlag:(I)Z
ifeq 28
27: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.getErr:()Ljava/io/PrintWriter;
new jdk.nashorn.internal.ir.debug.PrintVisitor
dup
aload 7
iconst_1
iconst_0
invokespecial jdk.nashorn.internal.ir.debug.PrintVisitor.<init>:(Ljdk/nashorn/internal/ir/Node;ZZ)V
invokevirtual java.io.PrintWriter.println:(Ljava/lang/Object;)V
28: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._parse_only:Z
ifeq 30
29: aconst_null
areturn
30: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.runtime.Source.getURL:()Ljava/net/URL;
astore 10
start local 10 31: new java.security.CodeSource
dup
aload 10
aconst_null
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/CodeSigner;)V
astore 11
start local 11 32: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
aload 1
invokevirtual jdk.nashorn.internal.runtime.Source.getLength:()I
invokevirtual jdk.nashorn.internal.runtime.ScriptEnvironment.useAnonymousClasses:(I)Z
ifeq 33
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._persistent_cache:Z
ifne 33
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._lazy_compilation:Z
ifne 38
33: StackMap locals: java.net.URL java.security.CodeSource
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._loader_per_compile:Z
ifeq 34
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.createNewLoader:()Ljdk/nashorn/internal/runtime/ScriptLoader;
goto 35
StackMap locals:
StackMap stack:
34: aload 0
getfield jdk.nashorn.internal.runtime.Context.scriptLoader:Ljdk/nashorn/internal/runtime/ScriptLoader;
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.ScriptLoader
35: astore 13
start local 13 36: new jdk.nashorn.internal.runtime.Context$NamedContextCodeInstaller
dup
aload 0
aload 11
aload 13
invokespecial jdk.nashorn.internal.runtime.Context$NamedContextCodeInstaller.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljava/security/CodeSource;Ljdk/nashorn/internal/runtime/ScriptLoader;)V
astore 12
end local 13 start local 12 37: goto 41
end local 12 38: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller
dup
aload 0
aload 11
39: aload 0
getfield jdk.nashorn.internal.runtime.Context.anonymousHostClasses:Ljdk/nashorn/internal/WeakValueCache;
aload 11
aload 0
aload 11
invokedynamic apply(Ljdk/nashorn/internal/runtime/Context;Ljava/security/CodeSource;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/nashorn/internal/runtime/Context.lambda$3(Ljava/security/CodeSource;Ljava/security/CodeSource;)Ljava/lang/Class; (7)
(Ljava/security/CodeSource;)Ljava/lang/Class;
invokevirtual jdk.nashorn.internal.WeakValueCache.getOrCreate:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.lang.Class
40: invokespecial jdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljava/security/CodeSource;Ljava/lang/Class;)V
astore 12
start local 12 41: StackMap locals: jdk.nashorn.internal.runtime.CodeInstaller
StackMap stack:
aload 6
ifnonnull 54
42: getstatic jdk.nashorn.internal.codegen.Compiler$CompilationPhases.COMPILE_ALL:Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;
astore 13
start local 13 43: aload 12
44: aload 1
45: aload 2
46: iload 3
aload 7
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isStrict:()Z
ior
47: invokestatic jdk.nashorn.internal.codegen.Compiler.forInitialCompilation:(Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;Z)Ljdk/nashorn/internal/codegen/Compiler;
astore 14
start local 14 48: aload 14
aload 7
aload 13
invokevirtual jdk.nashorn.internal.codegen.Compiler.compile:(Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;)Ljdk/nashorn/internal/ir/FunctionNode;
astore 15
start local 15 49: aload 2
invokevirtual jdk.nashorn.internal.runtime.ErrorManager.hasErrors:()Z
ifeq 51
50: aconst_null
areturn
51: StackMap locals: jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.ir.FunctionNode
StackMap stack:
aload 15
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getRootClass:()Ljava/lang/Class;
astore 5
52: aload 14
aload 9
aload 15
invokevirtual jdk.nashorn.internal.codegen.Compiler.persistClassInfo:(Ljava/lang/String;Ljdk/nashorn/internal/ir/FunctionNode;)V
end local 15 end local 14 end local 13 53: goto 56
54: StackMap locals:
StackMap stack:
aload 6
invokevirtual jdk.nashorn.internal.runtime.StoredScript.getCompilationId:()I
invokestatic jdk.nashorn.internal.codegen.Compiler.updateCompilationId:(I)V
55: aload 6
aload 1
aload 12
invokevirtual jdk.nashorn.internal.runtime.StoredScript.installScript:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/CodeInstaller;)Ljava/lang/Class;
astore 5
56: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 5
invokevirtual jdk.nashorn.internal.runtime.Context.cacheClass:(Ljdk/nashorn/internal/runtime/Source;Ljava/lang/Class;)V
57: aload 5
areturn
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 58 0 this Ljdk/nashorn/internal/runtime/Context;
0 58 1 source Ljdk/nashorn/internal/runtime/Source;
0 58 2 errMan Ljdk/nashorn/internal/runtime/ErrorManager;
0 58 3 strict Z
0 58 4 isEval Z
2 58 5 script Ljava/lang/Class<*>;
4 7 6 log Ljdk/nashorn/internal/runtime/logging/DebugLogger;
8 58 6 storedScript Ljdk/nashorn/internal/runtime/StoredScript;
9 58 7 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
13 58 8 useCodeStore Z
16 58 9 cacheKey Ljava/lang/String;
31 58 10 url Ljava/net/URL;
32 58 11 cs Ljava/security/CodeSource;
37 38 12 installer Ljdk/nashorn/internal/runtime/CodeInstaller;
41 58 12 installer Ljdk/nashorn/internal/runtime/CodeInstaller;
36 37 13 loader Ljdk/nashorn/internal/runtime/ScriptLoader;
43 53 13 phases Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;
48 53 14 compiler Ljdk/nashorn/internal/codegen/Compiler;
49 53 15 compiledFunction Ljdk/nashorn/internal/ir/FunctionNode;
Signature: (Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZ)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
source final
errMan final
strict final
isEval final
private jdk.nashorn.internal.runtime.ScriptLoader createNewLoader();
descriptor: ()Ljdk/nashorn/internal/runtime/ScriptLoader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.runtime.Context$9
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.Context$9.<init>:(Ljdk/nashorn/internal/runtime/Context;)V
1: getstatic jdk.nashorn.internal.runtime.Context.CREATE_LOADER_ACC_CTXT:Ljava/security/AccessControlContext;
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.ScriptLoader
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/Context;
private long getUniqueScriptId();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.uniqueScriptId:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndIncrement:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
private java.lang.Class<?> findCachedClass(jdk.nashorn.internal.runtime.Source);
descriptor: (Ljdk/nashorn/internal/runtime/Source;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.classCache:Ljdk/nashorn/internal/runtime/Context$ClassCache;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.nashorn.internal.runtime.Context.classCache:Ljdk/nashorn/internal/runtime/Context$ClassCache;
aload 1
invokevirtual jdk.nashorn.internal.runtime.Context$ClassCache.get:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/Context$ClassReference;
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.Context$ClassReference
2: astore 2
start local 2 3: aload 2
ifnull 4
aload 2
invokevirtual jdk.nashorn.internal.runtime.Context$ClassReference.get:()Ljava/lang/Object;
checkcast java.lang.Class
goto 5
StackMap locals: jdk.nashorn.internal.runtime.Context$ClassReference
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.lang.Class
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/runtime/Context;
0 6 1 source Ljdk/nashorn/internal/runtime/Source;
3 6 2 ref Ljdk/nashorn/internal/runtime/Context$ClassReference;
Signature: (Ljdk/nashorn/internal/runtime/Source;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
source final
private void cacheClass(jdk.nashorn.internal.runtime.Source, java.lang.Class<?>);
descriptor: (Ljdk/nashorn/internal/runtime/Source;Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.runtime.Context.classCache:Ljdk/nashorn/internal/runtime/Context$ClassCache;
ifnull 2
1: aload 0
getfield jdk.nashorn.internal.runtime.Context.classCache:Ljdk/nashorn/internal/runtime/Context$ClassCache;
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.Context$ClassCache.cache:(Ljdk/nashorn/internal/runtime/Source;Ljava/lang/Class;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/Context;
0 3 1 source Ljdk/nashorn/internal/runtime/Source;
0 3 2 clazz Ljava/lang/Class<*>;
Signature: (Ljdk/nashorn/internal/runtime/Source;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
source final
clazz final
private void initLoggers();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.getFunctionality:()Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
checkcast jdk.nashorn.internal.runtime.logging.Loggable
aload 0
invokeinterface jdk.nashorn.internal.runtime.logging.Loggable.initLogger:(Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/Context;
public jdk.nashorn.internal.runtime.logging.DebugLogger getLogger(java.lang.Class<? extends jdk.nashorn.internal.runtime.logging.Loggable>);
descriptor: (Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual jdk.nashorn.internal.runtime.Context.getLogger:(Ljava/lang/Class;Ljava/util/function/Consumer;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
0 1 1 clazz Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/logging/Loggable;>;
Signature: (Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/logging/Loggable;>;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
MethodParameters:
Name Flags
clazz final
public jdk.nashorn.internal.runtime.logging.DebugLogger getLogger(java.lang.Class<? extends jdk.nashorn.internal.runtime.logging.Loggable>, java.util.function.Consumer<jdk.nashorn.internal.runtime.logging.DebugLogger>);
descriptor: (Ljava/lang/Class;Ljava/util/function/Consumer;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic jdk.nashorn.internal.runtime.Context.getLoggerName:(Ljava/lang/Class;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield jdk.nashorn.internal.runtime.Context.loggers:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.logging.DebugLogger
astore 4
start local 4 2: aload 4
ifnonnull 10
3: aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
aload 3
invokevirtual jdk.nashorn.internal.runtime.ScriptEnvironment.hasLogger:(Ljava/lang/String;)Z
ifne 5
4: getstatic jdk.nashorn.internal.runtime.logging.DebugLogger.DISABLED_LOGGER:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
areturn
5: StackMap locals: java.lang.String jdk.nashorn.internal.runtime.logging.DebugLogger
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._loggers:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo
astore 5
start local 5 6: new jdk.nashorn.internal.runtime.logging.DebugLogger
dup
aload 3
aload 5
invokevirtual jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo.getLevel:()Ljava/util/logging/Level;
aload 5
invokevirtual jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo.isQuiet:()Z
invokespecial jdk.nashorn.internal.runtime.logging.DebugLogger.<init>:(Ljava/lang/String;Ljava/util/logging/Level;Z)V
astore 4
7: aload 2
ifnull 9
8: aload 2
aload 4
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
9: StackMap locals: jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.Context.loggers:Ljava/util/Map;
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 10: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/runtime/Context;
0 11 1 clazz Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/logging/Loggable;>;
0 11 2 initHook Ljava/util/function/Consumer<Ljdk/nashorn/internal/runtime/logging/DebugLogger;>;
1 11 3 name Ljava/lang/String;
2 11 4 logger Ljdk/nashorn/internal/runtime/logging/DebugLogger;
6 10 5 info Ljdk/nashorn/internal/runtime/options/LoggingOption$LoggerInfo;
Signature: (Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/logging/Loggable;>;Ljava/util/function/Consumer<Ljdk/nashorn/internal/runtime/logging/DebugLogger;>;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
MethodParameters:
Name Flags
clazz final
initHook final
public java.lang.invoke.MethodHandle addLoggingToHandle(java.lang.Class<? extends jdk.nashorn.internal.runtime.logging.Loggable>, java.lang.invoke.MethodHandle, java.util.function.Supplier<java.lang.String>);
descriptor: (Ljava/lang/Class;Ljava/lang/invoke/MethodHandle;Ljava/util/function/Supplier;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
aload 2
ldc 2147483647
iconst_0
aload 3
invokevirtual jdk.nashorn.internal.runtime.Context.addLoggingToHandle:(Ljava/lang/Class;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;IZLjava/util/function/Supplier;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
0 1 1 clazz Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/logging/Loggable;>;
0 1 2 mh Ljava/lang/invoke/MethodHandle;
0 1 3 text Ljava/util/function/Supplier<Ljava/lang/String;>;
Signature: (Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/logging/Loggable;>;Ljava/lang/invoke/MethodHandle;Ljava/util/function/Supplier<Ljava/lang/String;>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
clazz final
mh final
text final
public java.lang.invoke.MethodHandle addLoggingToHandle(java.lang.Class<? extends jdk.nashorn.internal.runtime.logging.Loggable>, java.util.logging.Level, java.lang.invoke.MethodHandle, int, boolean, java.util.function.Supplier<java.lang.String>);
descriptor: (Ljava/lang/Class;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;IZLjava/util/function/Supplier;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.Context.getLogger:(Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
astore 7
start local 7 1: aload 7
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 3
2: aload 7
aload 2
aload 3
iload 4
iload 5
aload 6
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.addDebugPrintout:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;IZLjava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
3: StackMap locals: jdk.nashorn.internal.runtime.logging.DebugLogger
StackMap stack:
aload 3
areturn
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 4 0 this Ljdk/nashorn/internal/runtime/Context;
0 4 1 clazz Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/logging/Loggable;>;
0 4 2 level Ljava/util/logging/Level;
0 4 3 mh Ljava/lang/invoke/MethodHandle;
0 4 4 paramStart I
0 4 5 printReturnValue Z
0 4 6 text Ljava/util/function/Supplier<Ljava/lang/String;>;
1 4 7 log Ljdk/nashorn/internal/runtime/logging/DebugLogger;
Signature: (Ljava/lang/Class<+Ljdk/nashorn/internal/runtime/logging/Loggable;>;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;IZLjava/util/function/Supplier<Ljava/lang/String;>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
clazz final
level final
mh final
paramStart final
printReturnValue final
text final
private static java.lang.String getLoggerName(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: goto 7
2: StackMap locals: java.lang.Class
StackMap stack:
aload 1
ldc Ljdk/nashorn/internal/runtime/logging/Logger;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast jdk.nashorn.internal.runtime.logging.Logger
astore 2
start local 2 3: aload 2
ifnull 6
4: getstatic jdk.nashorn.internal.runtime.Context.$assertionsDisabled:Z
ifne 5
ldc ""
aload 2
invokeinterface jdk.nashorn.internal.runtime.logging.Logger.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: jdk.nashorn.internal.runtime.logging.Logger
StackMap stack:
aload 2
invokeinterface jdk.nashorn.internal.runtime.logging.Logger.name:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 1
end local 2 7: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
8: getstatic jdk.nashorn.internal.runtime.Context.$assertionsDisabled:Z
ifne 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 clazz Ljava/lang/Class<*>;
1 10 1 current Ljava/lang/Class<*>;
3 7 2 log Ljdk/nashorn/internal/runtime/logging/Logger;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
clazz final
public java.lang.invoke.SwitchPoint newBuiltinSwitchPoint(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/invoke/SwitchPoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.runtime.Context.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.nashorn.internal.runtime.Context.builtinSwitchPoints:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.Context$BuiltinSwitchPoint
dup
invokespecial jdk.nashorn.internal.runtime.Context$BuiltinSwitchPoint.<init>:()V
astore 2
start local 2 2: aload 0
getfield jdk.nashorn.internal.runtime.Context.builtinSwitchPoints:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/Context;
0 4 1 name Ljava/lang/String;
2 4 2 sp Ljava/lang/invoke/SwitchPoint;
MethodParameters:
Name Flags
name final
public java.lang.invoke.SwitchPoint getBuiltinSwitchPoint(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/invoke/SwitchPoint;
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.Context.builtinSwitchPoints:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.invoke.SwitchPoint
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/Context;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
private static java.lang.ClassLoader createModuleLoader(java.lang.ClassLoader, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "--module-path specified with no --add-modules"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/nashorn/internal/runtime/Context.lambda$4(Ljava/lang/String;)Ljava/nio/file/Path; (6)
(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: invokedynamic apply()Ljava/util/function/IntFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(I)Ljava/lang/Object;
jdk/nashorn/internal/runtime/Context.lambda$5(I)[Ljava/nio/file/Path; (6)
(I)[Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast java.nio.file.Path[]
5: astore 3
start local 3 6: aload 3
invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
astore 4
start local 4 7: aload 4
invokeinterface java.lang.module.ModuleFinder.findAll:()Ljava/util/Set;
astore 5
start local 5 8: aload 5
invokeinterface java.util.Set.isEmpty:()Z
ifeq 10
9: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "No modules in script --module-path: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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
10: StackMap locals: java.nio.file.Path[] java.lang.module.ModuleFinder java.util.Set
StackMap stack:
aload 2
ldc "ALL-MODULE-PATH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
11: aload 5
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
12: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/nashorn/internal/runtime/Context.lambda$6(Ljava/lang/module/ModuleReference;)Ljava/lang/String; (6)
(Ljava/lang/module/ModuleReference;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
13: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
14: astore 6
start local 6 15: goto 20
end local 6 16: StackMap locals:
StackMap stack:
aload 2
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
17: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/lang/String.trim()Ljava/lang/String; (5)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
18: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
19: astore 6
start local 6 20: StackMap locals: java.util.Set
StackMap stack:
invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
astore 7
start local 7 21: aload 7
invokevirtual java.lang.ModuleLayer.configuration:()Ljava/lang/module/Configuration;
22: aload 4
iconst_0
anewarray java.nio.file.Path
invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
aload 6
invokevirtual java.lang.module.Configuration.resolve:(Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Collection;)Ljava/lang/module/Configuration;
23: astore 8
start local 8 24: aload 6
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 25: aload 7
aload 8
aload 0
invokevirtual java.lang.ModuleLayer.defineModulesWithOneLoader:(Ljava/lang/module/Configuration;Ljava/lang/ClassLoader;)Ljava/lang/ModuleLayer;
aload 9
invokevirtual java.lang.ModuleLayer.findLoader:(Ljava/lang/String;)Ljava/lang/ClassLoader;
areturn
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 26 0 cl Ljava/lang/ClassLoader;
0 26 1 modulePath Ljava/lang/String;
0 26 2 addModules Ljava/lang/String;
6 26 3 paths [Ljava/nio/file/Path;
7 26 4 mf Ljava/lang/module/ModuleFinder;
8 26 5 mrefs Ljava/util/Set<Ljava/lang/module/ModuleReference;>;
15 16 6 rootMods Ljava/util/Set<Ljava/lang/String;>;
20 26 6 rootMods Ljava/util/Set<Ljava/lang/String;>;
21 26 7 boot Ljava/lang/ModuleLayer;
24 26 8 conf Ljava/lang/module/Configuration;
25 26 9 firstMod Ljava/lang/String;
MethodParameters:
Name Flags
cl final
modulePath final
addModules final
private static java.lang.Class lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
getstatic jdk.nashorn.internal.runtime.Context.theStructLoader:Ljdk/nashorn/internal/runtime/StructureLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 1
start local 1 3: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
3 4 1 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
private static java.lang.ModuleLayer lambda$1(java.lang.ModuleLayer, java.lang.module.Configuration, java.lang.ClassLoader);
descriptor: (Ljava/lang/ModuleLayer;Ljava/lang/module/Configuration;Ljava/lang/ClassLoader;)Ljava/lang/ModuleLayer;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokedynamic apply(Ljava/lang/ClassLoader;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/nashorn/internal/runtime/Context.lambda$2(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/ClassLoader; (6)
(Ljava/lang/String;)Ljava/lang/ClassLoader;
invokevirtual java.lang.ModuleLayer.defineModules:(Ljava/lang/module/Configuration;Ljava/util/function/Function;)Ljava/lang/ModuleLayer;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.Class lambda$3(java.security.CodeSource, java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;Ljava/security/CodeSource;)Ljava/lang/Class;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.createNewLoader:()Ljdk/nashorn/internal/runtime/ScriptLoader;
1: getstatic jdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.ANONYMOUS_HOST_CLASS_NAME:Ljava/lang/String;
2: getstatic jdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.ANONYMOUS_HOST_CLASS_BYTES:[B
aload 1
3: invokevirtual jdk.nashorn.internal.runtime.ScriptLoader.installClass:(Ljava/lang/String;[BLjava/security/CodeSource;)Ljava/lang/Class;
4: areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/runtime/Context;
0 5 2 key Ljava/security/CodeSource;
private static java.nio.file.Path lambda$4(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
private static java.nio.file.Path[] lambda$5(int);
descriptor: (I)[Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
anewarray java.nio.file.Path
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sz I
private static java.lang.String lambda$6(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mr Ljava/lang/module/ModuleReference;
private static java.lang.ClassLoader lambda$2(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/ClassLoader;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 name Ljava/lang/String;
}
SourceFile: "Context.java"
NestMembers:
jdk.nashorn.internal.runtime.Context$1 jdk.nashorn.internal.runtime.Context$2 jdk.nashorn.internal.runtime.Context$3 jdk.nashorn.internal.runtime.Context$4 jdk.nashorn.internal.runtime.Context$5 jdk.nashorn.internal.runtime.Context$6 jdk.nashorn.internal.runtime.Context$7 jdk.nashorn.internal.runtime.Context$8 jdk.nashorn.internal.runtime.Context$9 jdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller jdk.nashorn.internal.runtime.Context$BuiltinSwitchPoint jdk.nashorn.internal.runtime.Context$ClassCache jdk.nashorn.internal.runtime.Context$ClassReference jdk.nashorn.internal.runtime.Context$ContextCodeInstaller jdk.nashorn.internal.runtime.Context$ContextCodeInstaller$1 jdk.nashorn.internal.runtime.Context$FieldMode jdk.nashorn.internal.runtime.Context$MultiGlobalCompiledScript jdk.nashorn.internal.runtime.Context$NamedContextCodeInstaller jdk.nashorn.internal.runtime.Context$ThrowErrorManager
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public CompilationPhases = jdk.nashorn.internal.codegen.Compiler$CompilationPhases of jdk.nashorn.internal.codegen.Compiler
jdk.nashorn.internal.runtime.Context$1
jdk.nashorn.internal.runtime.Context$2
jdk.nashorn.internal.runtime.Context$3
jdk.nashorn.internal.runtime.Context$4
jdk.nashorn.internal.runtime.Context$5
jdk.nashorn.internal.runtime.Context$6
jdk.nashorn.internal.runtime.Context$7
jdk.nashorn.internal.runtime.Context$8
jdk.nashorn.internal.runtime.Context$9
private final AnonymousContextCodeInstaller = jdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller of jdk.nashorn.internal.runtime.Context
public final BuiltinSwitchPoint = jdk.nashorn.internal.runtime.Context$BuiltinSwitchPoint of jdk.nashorn.internal.runtime.Context
private ClassCache = jdk.nashorn.internal.runtime.Context$ClassCache of jdk.nashorn.internal.runtime.Context
private ClassReference = jdk.nashorn.internal.runtime.Context$ClassReference of jdk.nashorn.internal.runtime.Context
private abstract ContextCodeInstaller = jdk.nashorn.internal.runtime.Context$ContextCodeInstaller of jdk.nashorn.internal.runtime.Context
private final FieldMode = jdk.nashorn.internal.runtime.Context$FieldMode of jdk.nashorn.internal.runtime.Context
public abstract MultiGlobalCompiledScript = jdk.nashorn.internal.runtime.Context$MultiGlobalCompiledScript of jdk.nashorn.internal.runtime.Context
private NamedContextCodeInstaller = jdk.nashorn.internal.runtime.Context$NamedContextCodeInstaller of jdk.nashorn.internal.runtime.Context
public ThrowErrorManager = jdk.nashorn.internal.runtime.Context$ThrowErrorManager of jdk.nashorn.internal.runtime.Context
public LoggerInfo = jdk.nashorn.internal.runtime.options.LoggingOption$LoggerInfo of jdk.nashorn.internal.runtime.options.LoggingOption