final class jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker 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.BrowserJSObjectLinker
super_class: java.lang.Object
{
private static final java.lang.String JSOBJECT_CLASS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "netscape.javascript.JSObject"
private static final java.lang.Class<?> jsObjectClass;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<*>;
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
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$jdk$dynalink$StandardOperation;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, 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/BrowserJSObjectLinker;
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.BrowserJSObjectLinker.$assertionsDisabled:Z
3: invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.findBrowserJSObjectClass:()Ljava/lang/Class;
putstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.jsObjectClass:Ljava/lang/Class;
4: invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.getFunctionality:()Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
putstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
5: 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.BrowserJSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.IS_JSOBJECT_GUARD:Ljava/lang/invoke/MethodHandle;
6: 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.BrowserJSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSOBJECTLINKER_GET:Ljava/lang/invoke/MethodHandle;
7: 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.BrowserJSObjectLinker.findOwnMH_S:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSOBJECTLINKER_PUT: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.BrowserJSObjectLinker.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/BrowserJSObjectLinker;
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.BrowserJSObjectLinker.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/BrowserJSObjectLinker;
0 1 1 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type final
static boolean canLinkTypeStatic(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.jsObjectClass:Ljava/lang/Class;
ifnull 1
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.jsObjectClass:Ljava/lang/Class;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(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 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type final
private static void checkJSObjectClass();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.$assertionsDisabled:Z
ifne 1
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.jsObjectClass:Ljava/lang/Class;
ifnonnull 1
new java.lang.AssertionError
dup
ldc "netscape.javascript.JSObject not found!"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
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=4, locals=6, 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: invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.checkJSObjectClass:()V
3: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.$assertionsDisabled:Z
ifne 4
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.jsObjectClass:Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: java.lang.Object jdk.dynalink.CallSiteDescriptor
StackMap stack:
aload 0
aload 4
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.lookup:(Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
astore 5
start local 5 5: 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
6: 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 7 0 this Ljdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker;
0 7 1 request Ljdk/dynalink/linker/LinkRequest;
0 7 2 linkerServices Ljdk/dynalink/linker/LinkerServices;
1 7 3 self Ljava/lang/Object;
2 7 4 desc Ljdk/dynalink/CallSiteDescriptor;
5 7 5 inv 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=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.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;
astore 4
start local 4 1: goto 4
end local 4 StackMap locals:
StackMap stack: java.lang.Throwable
2: pop
3: aconst_null
astore 4
start local 4 4: StackMap locals: jdk.dynalink.linker.GuardedInvocation
StackMap stack:
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getOperand:(Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/String;
astore 5
start local 5 5: invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.$SWITCH_TABLE$jdk$dynalink$StandardOperation:()[I
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getStandardOperation:(Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/StandardOperation;
invokevirtual jdk.dynalink.StandardOperation.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 6
2: 9
3: 12
default: 13
}
6: StackMap locals: java.lang.String
StackMap stack:
aload 5
ifnull 7
aload 5
aload 4
invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.findGetMethod:(Ljava/lang/String;Ljdk/dynalink/linker/GuardedInvocation;)Ljdk/dynalink/linker/GuardedInvocation;
goto 8
StackMap locals:
StackMap stack:
7: aload 4
invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.findGetIndexMethod:(Ljdk/dynalink/linker/GuardedInvocation;)Ljdk/dynalink/linker/GuardedInvocation;
StackMap locals:
StackMap stack: jdk.dynalink.linker.GuardedInvocation
8: areturn
9: StackMap locals:
StackMap stack:
aload 5
ifnull 10
aload 5
aload 4
invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.findSetMethod:(Ljava/lang/String;Ljdk/dynalink/linker/GuardedInvocation;)Ljdk/dynalink/linker/GuardedInvocation;
goto 11
StackMap locals:
StackMap stack:
10: invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.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.BrowserJSObjectLinker.findCallMethod:(Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
13: StackMap locals:
StackMap stack:
aconst_null
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 14 0 this Ljdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker;
0 14 1 desc Ljdk/dynalink/CallSiteDescriptor;
0 14 2 request Ljdk/dynalink/linker/LinkRequest;
0 14 3 linkerServices Ljdk/dynalink/linker/LinkerServices;
1 2 4 inv Ljdk/dynalink/linker/GuardedInvocation;
4 14 4 inv Ljdk/dynalink/linker/GuardedInvocation;
5 14 5 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
desc final
request final
linkerServices final
private static jdk.dynalink.linker.GuardedInvocation findGetMethod(java.lang.String, jdk.dynalink.linker.GuardedInvocation);
descriptor: (Ljava/lang/String;Ljdk/dynalink/linker/GuardedInvocation;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.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 2
start local 2 3: new jdk.dynalink.linker.GuardedInvocation
dup
aload 2
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.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 4 0 name Ljava/lang/String;
0 4 1 inv Ljdk/dynalink/linker/GuardedInvocation;
3 4 2 getter Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
inv 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.BrowserJSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.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, jdk.dynalink.linker.GuardedInvocation);
descriptor: (Ljava/lang/String;Ljdk/dynalink/linker/GuardedInvocation;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.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 2
start local 2 3: new jdk.dynalink.linker.GuardedInvocation
dup
aload 2
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.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 4 0 name Ljava/lang/String;
0 4 1 inv Ljdk/dynalink/linker/GuardedInvocation;
3 4 2 getter Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
inv 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.BrowserJSObjectLinker.JSOBJECTLINKER_PUT:Ljava/lang/invoke/MethodHandle;
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.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=2, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.JSOBJECT_CALL:Ljava/lang/invoke/MethodHandle;
iconst_1
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "call"
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
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
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;
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.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 call 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=2, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.jsObjectClass:Ljava/lang/Class;
aload 0
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
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: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.JSOBJECT_GETSLOT:Ljava/lang/invoke/MethodHandle;
aload 1
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof java.lang.Number
ifeq 6
3: aload 2
checkcast java.lang.Number
invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.getIndex:(Ljava/lang/Number;)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmple 11
5: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.JSOBJECT_GETSLOT:Ljava/lang/invoke/MethodHandle;
aload 1
iload 3
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
ifeq 11
7: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 3
start local 3 8: aload 3
bipush 40
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 10
9: aload 0
aload 1
aload 3
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
10: StackMap locals: java.lang.String
StackMap stack:
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.JSOBJECT_GETMEMBER:Ljava/lang/invoke/MethodHandle;
aload 1
aload 3
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 3 11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 fallback Ljava/lang/invoke/MethodHandle;
0 12 1 jsobj Ljava/lang/Object;
0 12 2 key Ljava/lang/Object;
4 6 3 index I
8 11 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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof java.lang.Integer
ifeq 3
1: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.JSOBJECT_SETSLOT:Ljava/lang/invoke/MethodHandle;
aload 0
aload 1
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 2
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;ILjava/lang/Object;)V
2: goto 8
StackMap locals:
StackMap stack:
3: aload 1
instanceof java.lang.Number
ifeq 6
4: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.JSOBJECT_SETSLOT:Ljava/lang/invoke/MethodHandle;
aload 0
aload 1
checkcast java.lang.Number
invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.getIndex:(Ljava/lang/Number;)I
aload 2
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;ILjava/lang/Object;)V
5: goto 8
StackMap locals:
StackMap stack:
6: aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
ifeq 8
7: getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles.JSOBJECT_SETMEMBER:Ljava/lang/invoke/MethodHandle;
aload 0
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 2
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 jsobj Ljava/lang/Object;
0 9 1 key Ljava/lang/Object;
0 9 2 value Ljava/lang/Object;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
jsobj final
key final
value 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.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.BrowserJSObjectLinker.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker;
aload 0
getstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.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
private static java.lang.Class<?> findBrowserJSObjectClass();
descriptor: ()Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 0
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
ldc "netscape.javascript.JSObject"
iconst_0
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
4: areturn
5: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 extLoader Ljava/lang/ClassLoader;
Exception table:
from to target type
3 4 5 Class java.lang.ClassNotFoundException
Signature: ()Ljava/lang/Class<*>;
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.BrowserJSObjectLinker.$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_3
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_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.dynalink.StandardOperation.SET:Ljdk/dynalink/StandardOperation;
invokevirtual jdk.dynalink.StandardOperation.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.$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
}
SourceFile: "BrowserJSObjectLinker.java"
NestMembers:
jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
JSObjectHandles = jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker$JSObjectHandles of jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker