final class jdk.nashorn.internal.runtime.linker.JSObjectLinker implements jdk.dynalink.linker.TypeBasedGuardingDynamicLinker
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.linker.JSObjectLinker
super_class: java.lang.Object
{
private final jdk.nashorn.internal.runtime.linker.NashornBeansLinker nashornBeansLinker;
descriptor: Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final jdk.nashorn.internal.lookup.MethodHandleFunctionality MH;
descriptor: Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle IS_JSOBJECT_GUARD;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECTLINKER_GET;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECTLINKER_PUT;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECTLINKER_DEL;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECT_GETMEMBER;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECT_SETMEMBER;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECT_CALL;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECT_SCOPE_CALL;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECT_CALL_TO_APPLY;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle JSOBJECT_NEW;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$jdk$dynalink$StandardOperation;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
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=6, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/linker/JSObjectLinker;
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.linker.JSObjectLinker.$assertionsDisabled:Z
3: invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.getFunctionality:()Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
4: ldc "isJSObject"
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.IS_JSOBJECT_GUARD:Ljava/lang/invoke/MethodHandle;
5: ldc "get"
ldc Ljava/lang/Object;
iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/invoke/MethodHandle;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
dup
iconst_2
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECTLINKER_GET:Ljava/lang/invoke/MethodHandle;
6: ldc "put"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
dup
iconst_2
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECTLINKER_PUT:Ljava/lang/invoke/MethodHandle;
7: ldc "del"
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECTLINKER_DEL:Ljava/lang/invoke/MethodHandle;
8: ldc "getMember"
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findJSObjectMH_V:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_GETMEMBER:Ljava/lang/invoke/MethodHandle;
9: ldc "setMember"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findJSObjectMH_V:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_SETMEMBER:Ljava/lang/invoke/MethodHandle;
10: ldc "call"
ldc Ljava/lang/Object;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
dup
iconst_1
ldc [Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findJSObjectMH_V:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_CALL:Ljava/lang/invoke/MethodHandle;
11: ldc "jsObjectScopeCall"
ldc Ljava/lang/Object;
iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Ljdk/nashorn/api/scripting/JSObject;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
dup
iconst_2
ldc [Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_SCOPE_CALL:Ljava/lang/invoke/MethodHandle;
12: ldc "callToApply"
ldc Ljava/lang/Object;
iconst_4
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/invoke/MethodHandle;
aastore
dup
iconst_1
ldc Ljdk/nashorn/api/scripting/JSObject;
aastore
dup
iconst_2
ldc Ljava/lang/Object;
aastore
dup
iconst_3
ldc [Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_CALL_TO_APPLY:Ljava/lang/invoke/MethodHandle;
13: ldc "newObject"
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc [Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findJSObjectMH_V:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_NEW:Ljava/lang/invoke/MethodHandle;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.nashorn.internal.runtime.linker.NashornBeansLinker);
descriptor: (Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.linker.JSObjectLinker.nashornBeansLinker:Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/linker/JSObjectLinker;
0 3 1 nashornBeansLinker Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;
MethodParameters:
Name Flags
nashornBeansLinker final
public boolean canLinkType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.canLinkTypeStatic:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/linker/JSObjectLinker;
0 1 1 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type final
private static boolean canLinkTypeStatic(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Ljava/util/Map;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
1: ldc Ljdk/nashorn/api/scripting/JSObject;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type final
public jdk.dynalink.linker.GuardedInvocation getGuardedInvocation(jdk.dynalink.linker.LinkRequest, jdk.dynalink.linker.LinkerServices);
descriptor: (Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface jdk.dynalink.linker.LinkRequest.getReceiver:()Ljava/lang/Object;
astore 3
start local 3 1: aload 1
invokeinterface jdk.dynalink.linker.LinkRequest.getCallSiteDescriptor:()Ljdk/dynalink/CallSiteDescriptor;
astore 4
start local 4 2: aload 3
ifnull 3
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.canLinkTypeStatic:(Ljava/lang/Class;)Z
ifne 4
3: StackMap locals: java.lang.Object jdk.dynalink.CallSiteDescriptor
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 3
instanceof jdk.nashorn.api.scripting.JSObject
ifeq 8
5: aload 0
aload 4
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.linker.JSObjectLinker.lookup:(Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
astore 5
start local 5 6: aload 5
aload 2
aload 5
invokevirtual jdk.dynalink.linker.GuardedInvocation.getInvocation:()Ljava/lang/invoke/MethodHandle;
invokeinterface jdk.dynalink.linker.LinkerServices.filterInternalObjects:(Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
aload 5
invokevirtual jdk.dynalink.linker.GuardedInvocation.getGuard:()Ljava/lang/invoke/MethodHandle;
invokevirtual jdk.dynalink.linker.GuardedInvocation.replaceMethods:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljdk/dynalink/linker/GuardedInvocation;
astore 5
7: goto 15
end local 5 StackMap locals:
StackMap stack:
8: aload 3
instanceof java.util.Map
ifeq 14
9: aload 0
getfield jdk.nashorn.internal.runtime.linker.JSObjectLinker.nashornBeansLinker:Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.linker.NashornBeansLinker.getGuardedInvocation:(Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
astore 6
start local 6 10: new jdk.dynalink.linker.GuardedInvocation
dup
aload 6
invokevirtual jdk.dynalink.linker.GuardedInvocation.getInvocation:()Ljava/lang/invoke/MethodHandle;
11: aload 6
invokevirtual jdk.dynalink.linker.GuardedInvocation.getGuard:()Ljava/lang/invoke/MethodHandle;
invokestatic jdk.nashorn.internal.runtime.linker.NashornGuards.getNotJSObjectGuard:()Ljava/lang/invoke/MethodHandle;
invokestatic jdk.nashorn.internal.runtime.linker.NashornGuards.combineGuards:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
12: invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
astore 5
end local 6 start local 5 13: goto 15
end local 5 14: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "got instanceof: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
start local 5 15: StackMap locals: jdk.dynalink.linker.GuardedInvocation
StackMap stack:
aload 5
aload 2
aload 4
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.asTypeSafeReturn:(Ljdk/dynalink/linker/GuardedInvocation;Ljdk/dynalink/linker/LinkerServices;Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
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/linker/JSObjectLinker;
0 16 1 request Ljdk/dynalink/linker/LinkRequest;
0 16 2 linkerServices Ljdk/dynalink/linker/LinkerServices;
1 16 3 self Ljava/lang/Object;
2 16 4 desc Ljdk/dynalink/CallSiteDescriptor;
6 8 5 inv Ljdk/dynalink/linker/GuardedInvocation;
13 14 5 inv Ljdk/dynalink/linker/GuardedInvocation;
15 16 5 inv Ljdk/dynalink/linker/GuardedInvocation;
10 13 6 beanInv Ljdk/dynalink/linker/GuardedInvocation;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
request final
linkerServices final
private jdk.dynalink.linker.GuardedInvocation lookup(jdk.dynalink.CallSiteDescriptor, jdk.dynalink.linker.LinkRequest, jdk.dynalink.linker.LinkerServices);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getBaseOperation:(Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/Operation;
astore 4
start local 4 1: aload 4
instanceof jdk.dynalink.StandardOperation
ifeq 20
2: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getOperand:(Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/String;
astore 5
start local 5 3: invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.$SWITCH_TABLE$jdk$dynalink$StandardOperation:()[I
aload 4
checkcast jdk.dynalink.StandardOperation
invokevirtual jdk.dynalink.StandardOperation.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 4
2: 8
3: 12
4: 18
5: 19
default: 20
}
4: StackMap locals: jdk.dynalink.Operation java.lang.String
StackMap stack:
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.hasStandardNamespace:(Ljdk/dynalink/CallSiteDescriptor;)Z
ifeq 20
5: aload 5
ifnull 7
6: aload 5
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findGetMethod:(Ljava/lang/String;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.linker.JSObjectLinker.nashornBeansLinker:Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;
aload 2
aload 3
invokevirtual jdk.nashorn.internal.runtime.linker.NashornBeansLinker.getGuardedInvocation:(Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findGetIndexMethod:(Ljdk/dynalink/linker/GuardedInvocation;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
8: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.hasStandardNamespace:(Ljdk/dynalink/CallSiteDescriptor;)Z
ifeq 20
9: aload 5
ifnull 10
aload 5
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findSetMethod:(Ljava/lang/String;)Ljdk/dynalink/linker/GuardedInvocation;
goto 11
StackMap locals:
StackMap stack:
10: invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findSetIndexMethod:()Ljdk/dynalink/linker/GuardedInvocation;
StackMap locals:
StackMap stack: jdk.dynalink.linker.GuardedInvocation
11: areturn
12: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.hasStandardNamespace:(Ljdk/dynalink/CallSiteDescriptor;)Z
ifeq 20
13: new jdk.dynalink.linker.GuardedInvocation
dup
14: aload 5
ifnonnull 15
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECTLINKER_DEL:Ljava/lang/invoke/MethodHandle;
goto 16
StackMap locals: jdk.nashorn.internal.runtime.linker.JSObjectLinker jdk.dynalink.CallSiteDescriptor jdk.dynalink.linker.LinkRequest jdk.dynalink.linker.LinkerServices jdk.dynalink.Operation java.lang.String
StackMap stack: new 13 new 13
15: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECTLINKER_DEL:Ljava/lang/invoke/MethodHandle;
iconst_1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
16: StackMap locals: jdk.nashorn.internal.runtime.linker.JSObjectLinker jdk.dynalink.CallSiteDescriptor jdk.dynalink.linker.LinkRequest jdk.dynalink.linker.LinkerServices jdk.dynalink.Operation java.lang.String
StackMap stack: new 13 new 13 java.lang.invoke.MethodHandle
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.IS_JSOBJECT_GUARD:Ljava/lang/invoke/MethodHandle;
17: invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
areturn
18: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findCallMethod:(Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
19: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.findNewMethod:(Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 5 20: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/nashorn/internal/runtime/linker/JSObjectLinker;
0 21 1 desc Ljdk/dynalink/CallSiteDescriptor;
0 21 2 request Ljdk/dynalink/linker/LinkRequest;
0 21 3 linkerServices Ljdk/dynalink/linker/LinkerServices;
1 21 4 op Ljdk/dynalink/Operation;
3 20 5 name Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
desc final
request final
linkerServices final
private static jdk.dynalink.linker.GuardedInvocation findGetMethod(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_GETMEMBER:Ljava/lang/invoke/MethodHandle;
iconst_1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 1
start local 1 1: new jdk.dynalink.linker.GuardedInvocation
dup
aload 1
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.IS_JSOBJECT_GUARD:Ljava/lang/invoke/MethodHandle;
invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
1 2 1 getter Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
private static jdk.dynalink.linker.GuardedInvocation findGetIndexMethod(jdk.dynalink.linker.GuardedInvocation);
descriptor: (Ljdk/dynalink/linker/GuardedInvocation;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECTLINKER_GET:Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual jdk.dynalink.linker.GuardedInvocation.getInvocation:()Ljava/lang/invoke/MethodHandle;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 1
start local 1 1: aload 0
aload 1
aload 0
invokevirtual jdk.dynalink.linker.GuardedInvocation.getGuard:()Ljava/lang/invoke/MethodHandle;
invokevirtual jdk.dynalink.linker.GuardedInvocation.replaceMethods:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 inv Ljdk/dynalink/linker/GuardedInvocation;
1 2 1 getter Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
inv final
private static jdk.dynalink.linker.GuardedInvocation findSetMethod(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_SETMEMBER:Ljava/lang/invoke/MethodHandle;
iconst_1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 1
start local 1 1: new jdk.dynalink.linker.GuardedInvocation
dup
aload 1
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.IS_JSOBJECT_GUARD:Ljava/lang/invoke/MethodHandle;
invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
1 2 1 getter Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
private static jdk.dynalink.linker.GuardedInvocation findSetIndexMethod();
descriptor: ()Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new jdk.dynalink.linker.GuardedInvocation
dup
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECTLINKER_PUT:Ljava/lang/invoke/MethodHandle;
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.IS_JSOBJECT_GUARD:Ljava/lang/invoke/MethodHandle;
invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static jdk.dynalink.linker.GuardedInvocation findCallMethod(jdk.dynalink.CallSiteDescriptor);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.isScope:(Ljdk/dynalink/CallSiteDescriptor;)Z
ifeq 1
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_SCOPE_CALL:Ljava/lang/invoke/MethodHandle;
goto 2
StackMap locals:
StackMap stack:
1: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_CALL:Ljava/lang/invoke/MethodHandle;
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
2: astore 1
start local 1 3: aload 0
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.isApplyToCall:(Ljdk/dynalink/CallSiteDescriptor;)Z
ifeq 5
4: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_CALL_TO_APPLY:Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 1
5: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 0
invokevirtual jdk.dynalink.CallSiteDescriptor.getMethodType:()Ljava/lang/invoke/MethodType;
astore 2
start local 2 6: aload 2
aload 2
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
isub
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc [Ljava/lang/Object;
if_acmpne 8
7: aload 1
goto 9
8: StackMap locals: java.lang.invoke.MethodType
StackMap stack:
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
ldc [Ljava/lang/Object;
aload 2
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_2
isub
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.asCollector:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Class;I)Ljava/lang/invoke/MethodHandle;
9: StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
astore 1
10: new jdk.dynalink.linker.GuardedInvocation
dup
aload 1
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.IS_JSOBJECT_GUARD:Ljava/lang/invoke/MethodHandle;
invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 desc Ljdk/dynalink/CallSiteDescriptor;
3 11 1 mh Ljava/lang/invoke/MethodHandle;
6 11 2 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
desc final
private static jdk.dynalink.linker.GuardedInvocation findNewMethod(jdk.dynalink.CallSiteDescriptor);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.JSOBJECT_NEW:Ljava/lang/invoke/MethodHandle;
ldc [Ljava/lang/Object;
aload 0
invokevirtual jdk.dynalink.CallSiteDescriptor.getMethodType:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
isub
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.asCollector:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Class;I)Ljava/lang/invoke/MethodHandle;
astore 1
start local 1 1: new jdk.dynalink.linker.GuardedInvocation
dup
aload 1
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.IS_JSOBJECT_GUARD:Ljava/lang/invoke/MethodHandle;
invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 desc Ljdk/dynalink/CallSiteDescriptor;
1 2 1 func Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
desc final
private static boolean isJSObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof jdk.nashorn.api.scripting.JSObject
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
MethodParameters:
Name Flags
self final
private static java.lang.Object get(java.lang.invoke.MethodHandle, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.lang.Integer
ifeq 2
1: aload 1
checkcast jdk.nashorn.api.scripting.JSObject
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokeinterface jdk.nashorn.api.scripting.JSObject.getSlot:(I)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof java.lang.Number
ifeq 7
3: aload 2
checkcast java.lang.Number
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.getIndex:(Ljava/lang/Number;)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmple 6
5: aload 1
checkcast jdk.nashorn.api.scripting.JSObject
iload 3
invokeinterface jdk.nashorn.api.scripting.JSObject.getSlot:(I)Ljava/lang/Object;
areturn
6: StackMap locals: int
StackMap stack:
aload 1
checkcast jdk.nashorn.api.scripting.JSObject
aload 2
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
invokeinterface jdk.nashorn.api.scripting.JSObject.getMember:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 2
invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
ifeq 12
8: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 3
start local 3 9: aload 3
bipush 40
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 11
10: aload 0
aload 1
aload 3
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
11: StackMap locals: java.lang.String
StackMap stack:
aload 1
checkcast jdk.nashorn.api.scripting.JSObject
aload 3
invokeinterface jdk.nashorn.api.scripting.JSObject.getMember:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 3 12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 fallback Ljava/lang/invoke/MethodHandle;
0 13 1 jsobj Ljava/lang/Object;
0 13 2 key Ljava/lang/Object;
4 7 3 index I
9 12 3 name Ljava/lang/String;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
fallback final
jsobj final
key final
private static void put(java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof java.lang.Integer
ifeq 3
1: aload 0
checkcast jdk.nashorn.api.scripting.JSObject
aload 1
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 2
invokeinterface jdk.nashorn.api.scripting.JSObject.setSlot:(ILjava/lang/Object;)V
2: goto 12
StackMap locals:
StackMap stack:
3: aload 1
instanceof java.lang.Number
ifeq 10
4: aload 1
checkcast java.lang.Number
invokestatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.getIndex:(Ljava/lang/Number;)I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmple 8
6: aload 0
checkcast jdk.nashorn.api.scripting.JSObject
iload 3
aload 2
invokeinterface jdk.nashorn.api.scripting.JSObject.setSlot:(ILjava/lang/Object;)V
7: goto 12
8: StackMap locals: int
StackMap stack:
aload 0
checkcast jdk.nashorn.api.scripting.JSObject
aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokeinterface jdk.nashorn.api.scripting.JSObject.setMember:(Ljava/lang/String;Ljava/lang/Object;)V
end local 3 9: goto 12
StackMap locals:
StackMap stack:
10: aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
ifeq 12
11: aload 0
checkcast jdk.nashorn.api.scripting.JSObject
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 2
invokeinterface jdk.nashorn.api.scripting.JSObject.setMember:(Ljava/lang/String;Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 jsobj Ljava/lang/Object;
0 13 1 key Ljava/lang/Object;
0 13 2 value Ljava/lang/Object;
5 9 3 index I
MethodParameters:
Name Flags
jsobj final
key final
value final
private static boolean del(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof jdk.nashorn.api.scripting.ScriptObjectMirror
ifeq 2
1: aload 0
checkcast jdk.nashorn.api.scripting.ScriptObjectMirror
aload 1
invokevirtual jdk.nashorn.api.scripting.ScriptObjectMirror.delete:(Ljava/lang/Object;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast jdk.nashorn.api.scripting.JSObject
aload 1
invokestatic java.util.Objects.toString:(Ljava/lang/Object;)Ljava/lang/String;
invokeinterface jdk.nashorn.api.scripting.JSObject.removeMember:(Ljava/lang/String;)V
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 jsobj Ljava/lang/Object;
0 4 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
jsobj final
key final
private static int getIndex(java.lang.Number);
descriptor: (Ljava/lang/Number;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Number.doubleValue:()D
dstore 1
start local 1 1: dload 1
invokestatic jdk.nashorn.internal.runtime.JSType.isRepresentableAsInt:(D)Z
ifeq 2
dload 1
d2i
goto 3
StackMap locals: double
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 n Ljava/lang/Number;
1 4 1 value D
MethodParameters:
Name Flags
n final
private static java.lang.Object callToApply(java.lang.invoke.MethodHandle, jdk.nashorn.api.scripting.JSObject, java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.$assertionsDisabled:Z
ifne 1
aload 3
arraylength
iconst_1
if_icmpge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 3
iconst_0
aaload
astore 4
start local 4 2: aload 3
arraylength
iconst_1
isub
anewarray java.lang.Object
astore 5
start local 5 3: aload 3
iconst_1
aload 5
iconst_0
aload 5
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 1
aload 2
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
5: areturn
6: StackMap locals: java.lang.invoke.MethodHandle jdk.nashorn.api.scripting.JSObject java.lang.Object java.lang.Object[] java.lang.Object java.lang.Object[]
StackMap stack: java.lang.Throwable
astore 6
start local 6 7: aload 6
athrow
end local 6 8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
start local 6 9: new java.lang.RuntimeException
dup
aload 6
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
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 10 0 mh Ljava/lang/invoke/MethodHandle;
0 10 1 obj Ljdk/nashorn/api/scripting/JSObject;
0 10 2 thiz Ljava/lang/Object;
0 10 3 args [Ljava/lang/Object;
2 10 4 receiver Ljava/lang/Object;
3 10 5 arguments [Ljava/lang/Object;
7 8 6 e Ljava/lang/Throwable;
9 10 6 e Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.lang.RuntimeException
4 5 6 Class java.lang.Error
4 5 8 Class java.lang.Throwable
MethodParameters:
Name Flags
mh final
obj final
thiz final
args final
private static java.lang.Object jsObjectScopeCall(jdk.nashorn.api.scripting.JSObject, java.lang.Object, java.lang.Object[]);
descriptor: (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpne 4
aload 0
invokeinterface jdk.nashorn.api.scripting.JSObject.isStrictFunction:()Z
ifne 4
1: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 4
start local 4 2: aload 4
aload 4
invokestatic jdk.nashorn.api.scripting.ScriptObjectMirror.wrap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
end local 4 start local 3 3: goto 5
end local 3 4: StackMap locals:
StackMap stack:
aload 1
astore 3
start local 3 5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 3
aload 2
invokeinterface jdk.nashorn.api.scripting.JSObject.call:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 jsObj Ljdk/nashorn/api/scripting/JSObject;
0 6 1 thiz Ljava/lang/Object;
0 6 2 args [Ljava/lang/Object;
3 4 3 modifiedThiz Ljava/lang/Object;
5 6 3 modifiedThiz Ljava/lang/Object;
2 3 4 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
jsObj final
thiz final
args final
private static java.lang.invoke.MethodHandle findJSObjectMH_V(java.lang.String, java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/api/scripting/JSObject;
aload 0
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
aload 2
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findVirtual:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 rtype Ljava/lang/Class<*>;
0 1 2 types [Ljava/lang/Class;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
rtype final
types final
private static java.lang.invoke.MethodHandle findOwnMH_S(java.lang.String, java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/runtime/linker/JSObjectLinker;
aload 0
getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
aload 2
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findStatic:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 rtype Ljava/lang/Class<*>;
0 1 2 types [Ljava/lang/Class;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
rtype final
types final
static int[] $SWITCH_TABLE$jdk$dynalink$StandardOperation();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.$SWITCH_TABLE$jdk$dynalink$StandardOperation:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.dynalink.StandardOperation.values:()[Ljdk/dynalink/StandardOperation;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.dynalink.StandardOperation.CALL:Ljdk/dynalink/StandardOperation;
invokevirtual jdk.dynalink.StandardOperation.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.dynalink.StandardOperation.GET:Ljdk/dynalink/StandardOperation;
invokevirtual jdk.dynalink.StandardOperation.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.dynalink.StandardOperation.NEW:Ljdk/dynalink/StandardOperation;
invokevirtual jdk.dynalink.StandardOperation.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.dynalink.StandardOperation.REMOVE:Ljdk/dynalink/StandardOperation;
invokevirtual jdk.dynalink.StandardOperation.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.dynalink.StandardOperation.SET:Ljdk/dynalink/StandardOperation;
invokevirtual jdk.dynalink.StandardOperation.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic jdk.nashorn.internal.runtime.linker.JSObjectLinker.$SWITCH_TABLE$jdk$dynalink$StandardOperation:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "JSObjectLinker.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles