public final class jdk.nashorn.internal.runtime.linker.Bootstrap
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.linker.Bootstrap
super_class: java.lang.Object
{
public static final jdk.nashorn.internal.codegen.CompilerConstants$Call BOOTSTRAP;
descriptor: Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, 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 VOID_TO_OBJECT;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.dynalink.beans.BeansLinker beansLinker;
descriptor: Ljdk/dynalink/beans/BeansLinker;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.dynalink.linker.GuardingDynamicLinker[] prioritizedLinkers;
descriptor: [Ljdk/dynalink/linker/GuardingDynamicLinker;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.dynalink.linker.GuardingDynamicLinker[] fallbackLinkers;
descriptor: [Ljdk/dynalink/linker/GuardingDynamicLinker;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=7, locals=1, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/linker/Bootstrap;
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.Bootstrap.$assertionsDisabled:Z
3: ldc Ljdk/nashorn/internal/runtime/linker/Bootstrap;
ldc "bootstrap"
ldc Ljava/lang/invoke/CallSite;
iconst_4
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/invoke/MethodHandles$Lookup;
aastore
dup
iconst_1
ldc Ljava/lang/String;
aastore
dup
iconst_2
ldc Ljava/lang/invoke/MethodType;
aastore
dup
iconst_3
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokestatic jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
putstatic jdk.nashorn.internal.runtime.linker.Bootstrap.BOOTSTRAP:Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
4: invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.getFunctionality:()Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
putstatic jdk.nashorn.internal.runtime.linker.Bootstrap.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
5: getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
ldc Ljava/lang/Object;
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.constant:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.linker.Bootstrap.VOID_TO_OBJECT:Ljava/lang/invoke/MethodHandle;
6: new jdk.dynalink.beans.BeansLinker
dup
invokedynamic createMissingMemberHandler()Ljdk/dynalink/beans/MissingMemberHandlerFactory;
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:
(Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljava/lang/invoke/MethodHandle;
jdk/nashorn/internal/runtime/linker/Bootstrap.createMissingMemberHandler(Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljava/lang/invoke/MethodHandle; (6)
(Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljava/lang/invoke/MethodHandle;
invokespecial jdk.dynalink.beans.BeansLinker.<init>:(Ljdk/dynalink/beans/MissingMemberHandlerFactory;)V
putstatic jdk.nashorn.internal.runtime.linker.Bootstrap.beansLinker:Ljdk/dynalink/beans/BeansLinker;
7: new jdk.nashorn.internal.runtime.linker.NashornBeansLinker
dup
getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.beansLinker:Ljdk/dynalink/beans/BeansLinker;
invokespecial jdk.nashorn.internal.runtime.linker.NashornBeansLinker.<init>:(Ljdk/dynalink/beans/BeansLinker;)V
astore 0
start local 0 8: bipush 7
anewarray jdk.dynalink.linker.GuardingDynamicLinker
dup
iconst_0
9: new jdk.nashorn.internal.runtime.linker.NashornLinker
dup
invokespecial jdk.nashorn.internal.runtime.linker.NashornLinker.<init>:()V
aastore
dup
iconst_1
10: new jdk.nashorn.internal.runtime.linker.NashornPrimitiveLinker
dup
invokespecial jdk.nashorn.internal.runtime.linker.NashornPrimitiveLinker.<init>:()V
aastore
dup
iconst_2
11: new jdk.nashorn.internal.runtime.linker.BoundCallableLinker
dup
invokespecial jdk.nashorn.internal.runtime.linker.BoundCallableLinker.<init>:()V
aastore
dup
iconst_3
12: new jdk.nashorn.internal.runtime.linker.JavaSuperAdapterLinker
dup
getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.beansLinker:Ljdk/dynalink/beans/BeansLinker;
invokespecial jdk.nashorn.internal.runtime.linker.JavaSuperAdapterLinker.<init>:(Ljdk/dynalink/beans/BeansLinker;)V
aastore
dup
iconst_4
13: new jdk.nashorn.internal.runtime.linker.JSObjectLinker
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.linker.JSObjectLinker.<init>:(Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;)V
aastore
dup
iconst_5
14: new jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.<init>:(Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;)V
aastore
dup
bipush 6
15: new jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker
dup
invokespecial jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.<init>:()V
aastore
16: putstatic jdk.nashorn.internal.runtime.linker.Bootstrap.prioritizedLinkers:[Ljdk/dynalink/linker/GuardingDynamicLinker;
17: iconst_3
anewarray jdk.dynalink.linker.GuardingDynamicLinker
dup
iconst_0
18: new jdk.nashorn.internal.runtime.linker.NashornStaticClassLinker
dup
getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.beansLinker:Ljdk/dynalink/beans/BeansLinker;
invokespecial jdk.nashorn.internal.runtime.linker.NashornStaticClassLinker.<init>:(Ljdk/dynalink/beans/BeansLinker;)V
aastore
dup
iconst_1
19: aload 0
aastore
dup
iconst_2
20: new jdk.nashorn.internal.runtime.linker.NashornBottomLinker
dup
invokespecial jdk.nashorn.internal.runtime.linker.NashornBottomLinker.<init>:()V
aastore
21: putstatic jdk.nashorn.internal.runtime.linker.Bootstrap.fallbackLinkers:[Ljdk/dynalink/linker/GuardingDynamicLinker;
end local 0 22: return
LocalVariableTable:
Start End Slot Name Signature
8 22 0 nashornBeansLinker Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/linker/Bootstrap;
public static java.util.List<jdk.dynalink.linker.GuardingDynamicLinker> getExposedLinkers();
descriptor: ()Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: new jdk.nashorn.internal.runtime.linker.NashornBeansLinker
dup
new jdk.dynalink.beans.BeansLinker
dup
invokespecial jdk.dynalink.beans.BeansLinker.<init>:()V
invokespecial jdk.nashorn.internal.runtime.linker.NashornBeansLinker.<init>:(Ljdk/dynalink/beans/BeansLinker;)V
astore 0
start local 0 1: new jdk.nashorn.internal.runtime.linker.JSObjectLinker
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.linker.JSObjectLinker.<init>:(Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;)V
astore 1
start local 1 2: aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 nbl Ljdk/nashorn/internal/runtime/linker/NashornBeansLinker;
2 3 1 linker Ljdk/nashorn/internal/runtime/linker/JSObjectLinker;
Signature: ()Ljava/util/List<Ljdk/dynalink/linker/GuardingDynamicLinker;>;
public static jdk.dynalink.DynamicLinker createDynamicLinker(java.lang.ClassLoader, int);
descriptor: (Ljava/lang/ClassLoader;I)Ljdk/dynalink/DynamicLinker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new jdk.dynalink.DynamicLinkerFactory
dup
invokespecial jdk.dynalink.DynamicLinkerFactory.<init>:()V
astore 2
start local 2 1: aload 2
getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.prioritizedLinkers:[Ljdk/dynalink/linker/GuardingDynamicLinker;
invokevirtual jdk.dynalink.DynamicLinkerFactory.setPrioritizedLinkers:([Ljdk/dynalink/linker/GuardingDynamicLinker;)V
2: aload 2
getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.fallbackLinkers:[Ljdk/dynalink/linker/GuardingDynamicLinker;
invokevirtual jdk.dynalink.DynamicLinkerFactory.setFallbackLinkers:([Ljdk/dynalink/linker/GuardingDynamicLinker;)V
3: aload 2
iconst_1
invokevirtual jdk.dynalink.DynamicLinkerFactory.setSyncOnRelink:(Z)V
4: aload 2
invokedynamic filter()Ljdk/dynalink/linker/GuardedInvocationTransformer;
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:
(Ljdk/dynalink/linker/GuardedInvocation;Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
jdk/nashorn/internal/runtime/linker/Bootstrap.lambda$1(Ljdk/dynalink/linker/GuardedInvocation;Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation; (6)
(Ljdk/dynalink/linker/GuardedInvocation;Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
invokevirtual jdk.dynalink.DynamicLinkerFactory.setPrelinkTransformer:(Ljdk/dynalink/linker/GuardedInvocationTransformer;)V
5: aload 2
invokedynamic asType()Ljdk/dynalink/linker/MethodTypeConversionStrategy;
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/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
jdk/nashorn/internal/runtime/linker/Bootstrap.unboxReturnType(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle; (6)
(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
invokevirtual jdk.dynalink.DynamicLinkerFactory.setAutoConversionStrategy:(Ljdk/dynalink/linker/MethodTypeConversionStrategy;)V
6: aload 2
invokestatic jdk.nashorn.internal.runtime.linker.NashornBeansLinker.createHiddenObjectFilter:()Ljdk/dynalink/linker/MethodHandleTransformer;
invokevirtual jdk.dynalink.DynamicLinkerFactory.setInternalObjectsFilter:(Ljdk/dynalink/linker/MethodHandleTransformer;)V
7: aload 2
iload 1
invokevirtual jdk.dynalink.DynamicLinkerFactory.setUnstableRelinkThreshold:(I)V
8: aload 2
aload 0
invokevirtual jdk.dynalink.DynamicLinkerFactory.setClassLoader:(Ljava/lang/ClassLoader;)V
9: aload 2
invokevirtual jdk.dynalink.DynamicLinkerFactory.createLinker:()Ljdk/dynalink/DynamicLinker;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 appLoader Ljava/lang/ClassLoader;
0 10 1 unstableRelinkThreshold I
1 10 2 factory Ljdk/dynalink/DynamicLinkerFactory;
MethodParameters:
Name Flags
appLoader final
unstableRelinkThreshold final
public static jdk.dynalink.linker.TypeBasedGuardingDynamicLinker getBeanLinkerForClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljdk/dynalink/linker/TypeBasedGuardingDynamicLinker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.beansLinker:Ljdk/dynalink/beans/BeansLinker;
aload 0
invokevirtual jdk.dynalink.beans.BeansLinker.getLinkerForClass:(Ljava/lang/Class;)Ljdk/dynalink/linker/TypeBasedGuardingDynamicLinker;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljdk/dynalink/linker/TypeBasedGuardingDynamicLinker;
MethodParameters:
Name Flags
clazz final
public static boolean isCallable(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 1
aload 0
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ifne 9
3: aload 0
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isJSObjectFunction:(Ljava/lang/Object;)Z
ifne 9
4: aload 0
invokestatic jdk.dynalink.beans.BeansLinker.isDynamicMethod:(Ljava/lang/Object;)Z
ifne 9
5: aload 0
instanceof jdk.nashorn.internal.runtime.linker.BoundCallable
ifne 9
6: aload 0
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isFunctionalInterfaceObject:(Ljava/lang/Object;)Z
ifne 9
7: aload 0
instanceof jdk.dynalink.beans.StaticClass
ifne 9
8: iconst_0
ireturn
StackMap locals:
StackMap stack:
9: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public static boolean isStrictCallable(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ifeq 2
1: aload 0
checkcast jdk.nashorn.internal.runtime.ScriptFunction
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.isStrict:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isJSObjectFunction:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
checkcast jdk.nashorn.api.scripting.JSObject
invokeinterface jdk.nashorn.api.scripting.JSObject.isStrictFunction:()Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.nashorn.internal.runtime.linker.BoundCallable
ifeq 6
5: aload 0
checkcast jdk.nashorn.internal.runtime.linker.BoundCallable
invokevirtual jdk.nashorn.internal.runtime.linker.BoundCallable.getCallable:()Ljava/lang/Object;
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isStrictCallable:(Ljava/lang/Object;)Z
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.dynalink.beans.BeansLinker.isDynamicMethod:(Ljava/lang/Object;)Z
ifne 9
7: aload 0
instanceof jdk.dynalink.beans.StaticClass
ifne 9
8: aload 0
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isFunctionalInterfaceObject:(Ljava/lang/Object;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.notFunction:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 callable Ljava/lang/Object;
MethodParameters:
Name Flags
callable final
private static jdk.nashorn.internal.runtime.ECMAException notFunction(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "not.a.function"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
private static boolean isJSObjectFunction(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
ifeq 1
aload 0
checkcast jdk.nashorn.api.scripting.JSObject
invokeinterface jdk.nashorn.api.scripting.JSObject.isFunction:()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 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public static boolean isDynamicMethod(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof jdk.nashorn.internal.runtime.linker.BoundCallable
ifeq 1
aload 0
checkcast jdk.nashorn.internal.runtime.linker.BoundCallable
invokevirtual jdk.nashorn.internal.runtime.linker.BoundCallable.getCallable:()Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.lang.Object
2: invokestatic jdk.dynalink.beans.BeansLinker.isDynamicMethod:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public static boolean isFunctionalInterfaceObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)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.JSType.isPrimitive:(Ljava/lang/Object;)Z
ifne 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.runtime.linker.NashornBeansLinker.getFunctionalInterfaceMethodName:(Ljava/lang/Class;)Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public static java.lang.invoke.CallSite bootstrap(java.lang.invoke.MethodHandles$Lookup, java.lang.String, java.lang.invoke.MethodType, int);
descriptor: (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.runtime.Context.getDynamicLinker:(Ljava/lang/Class;)Ljdk/dynalink/DynamicLinker;
aload 0
aload 1
aload 2
iload 3
invokestatic jdk.nashorn.internal.runtime.linker.LinkerCallSite.newLinkerCallSite:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljdk/nashorn/internal/runtime/linker/LinkerCallSite;
invokevirtual jdk.dynalink.DynamicLinker.link:(Ljdk/dynalink/RelinkableCallSite;)Ljdk/dynalink/RelinkableCallSite;
checkcast java.lang.invoke.CallSite
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 lookup Ljava/lang/invoke/MethodHandles$Lookup;
0 1 1 opDesc Ljava/lang/String;
0 1 2 type Ljava/lang/invoke/MethodType;
0 1 3 flags I
MethodParameters:
Name Flags
lookup final
opDesc final
type final
flags final
public static java.lang.invoke.MethodHandle createDynamicInvoker(java.lang.String, int, java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/String;ILjava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 0
aload 2
aload 3
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
iload 1
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.bootstrap:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;
invokevirtual java.lang.invoke.CallSite.dynamicInvoker:()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 name Ljava/lang/String;
0 1 1 flags I
0 1 2 rtype Ljava/lang/Class<*>;
0 1 3 ptypes [Ljava/lang/Class;
Signature: (Ljava/lang/String;ILjava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
flags final
rtype final
ptypes final
public static java.lang.invoke.MethodHandle createDynamicCallInvoker(java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: ldc ""
bipush 8
aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.createDynamicInvoker:(Ljava/lang/String;ILjava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 rtype Ljava/lang/Class<*>;
0 1 1 ptypes [Ljava/lang/Class;
Signature: (Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
rtype final
ptypes final
public static java.lang.invoke.MethodHandle createDynamicInvoker(java.lang.String, int, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/String;ILjava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 0
aload 2
iload 1
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.bootstrap:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;
invokevirtual java.lang.invoke.CallSite.dynamicInvoker:()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 flags I
0 1 2 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
name final
flags final
type final
public static java.lang.Object bindCallable(java.lang.Object, java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ifeq 2
1: aload 0
checkcast jdk.nashorn.internal.runtime.ScriptFunction
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.createBound:(Ljava/lang/Object;[Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ScriptFunction;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.nashorn.internal.runtime.linker.BoundCallable
ifeq 4
3: aload 0
checkcast jdk.nashorn.internal.runtime.linker.BoundCallable
aload 2
invokevirtual jdk.nashorn.internal.runtime.linker.BoundCallable.bind:([Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/linker/BoundCallable;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isCallable:(Ljava/lang/Object;)Z
ifeq 6
5: new jdk.nashorn.internal.runtime.linker.BoundCallable
dup
aload 0
aload 1
aload 2
invokespecial jdk.nashorn.internal.runtime.linker.BoundCallable.<init>:(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)V
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.notFunction:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 callable Ljava/lang/Object;
0 7 1 boundThis Ljava/lang/Object;
0 7 2 boundArgs [Ljava/lang/Object;
MethodParameters:
Name Flags
callable final
boundThis final
boundArgs final
public static java.lang.Object createSuperAdapter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.runtime.linker.JavaSuperAdapter
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.linker.JavaSuperAdapter.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 adapter Ljava/lang/Object;
MethodParameters:
Name Flags
adapter final
public static void checkReflectionAccess(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.checkReflectionAccess:(Ljava/lang/Class;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 clazz Ljava/lang/Class<*>;
0 2 1 isStatic Z
Signature: (Ljava/lang/Class<*>;Z)V
MethodParameters:
Name Flags
clazz final
isStatic final
public static jdk.dynalink.linker.LinkerServices getLinkerServices();
descriptor: ()Ljdk/dynalink/linker/LinkerServices;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.nashorn.internal.runtime.Context.getDynamicLinker:()Ljdk/dynalink/DynamicLinker;
invokevirtual jdk.dynalink.DynamicLinker.getLinkerServices:()Ljdk/dynalink/linker/LinkerServices;
areturn
LocalVariableTable:
Start End Slot Name Signature
static jdk.dynalink.linker.GuardedInvocation asTypeSafeReturn(jdk.dynalink.linker.GuardedInvocation, jdk.dynalink.linker.LinkerServices, jdk.dynalink.CallSiteDescriptor);
descriptor: (Ljdk/dynalink/linker/GuardedInvocation;Ljdk/dynalink/linker/LinkerServices;Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
aload 2
invokevirtual jdk.dynalink.CallSiteDescriptor.getMethodType:()Ljava/lang/invoke/MethodType;
invokevirtual jdk.dynalink.linker.GuardedInvocation.asTypeSafeReturn:(Ljdk/dynalink/linker/LinkerServices;Ljava/lang/invoke/MethodType;)Ljdk/dynalink/linker/GuardedInvocation;
StackMap locals:
StackMap stack: jdk.dynalink.linker.GuardedInvocation
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 inv Ljdk/dynalink/linker/GuardedInvocation;
0 3 1 linkerServices Ljdk/dynalink/linker/LinkerServices;
0 3 2 desc Ljdk/dynalink/CallSiteDescriptor;
MethodParameters:
Name Flags
inv final
linkerServices final
desc final
private static java.lang.invoke.MethodHandle unboxReturnType(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
astore 3
start local 3 2: aload 1
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
astore 4
start local 4 3: aload 3
invokestatic jdk.dynalink.linker.support.TypeUtilities.isWrapperType:(Ljava/lang/Class;)Z
ifeq 7
4: aload 4
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 9
5: getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.$assertionsDisabled:Z
ifne 6
aload 3
aload 4
invokestatic jdk.dynalink.linker.support.TypeUtilities.isMethodInvocationConvertible:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: java.lang.invoke.MethodType java.lang.Class java.lang.Class
StackMap stack:
aload 0
aload 2
aload 4
invokevirtual java.lang.invoke.MethodType.changeReturnType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokestatic java.lang.invoke.MethodHandles.explicitCastArguments:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
7: StackMap locals:
StackMap stack:
aload 3
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 9
aload 4
ldc Ljava/lang/Object;
if_acmpne 9
8: aload 0
getstatic jdk.nashorn.internal.runtime.linker.Bootstrap.VOID_TO_OBJECT:Ljava/lang/invoke/MethodHandle;
invokestatic java.lang.invoke.MethodHandles.filterReturnValue:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
areturn
9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 target Ljava/lang/invoke/MethodHandle;
0 10 1 newType Ljava/lang/invoke/MethodType;
1 10 2 targetType Ljava/lang/invoke/MethodType;
2 10 3 oldReturnType Ljava/lang/Class<*>;
3 10 4 newReturnType Ljava/lang/Class<*>;
MethodParameters:
Name Flags
target final
newType final
private static java.lang.invoke.MethodHandle createMissingMemberHandler(jdk.dynalink.linker.LinkRequest, jdk.dynalink.linker.LinkerServices);
descriptor: (Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface jdk.dynalink.linker.LinkRequest.getReceiver:()Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.canLinkTypeStatic:(Ljava/lang/Class;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornBottomLinker.linkMissingBeanMember:(Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 linkRequest Ljdk/dynalink/linker/LinkRequest;
0 3 1 linkerServices Ljdk/dynalink/linker/LinkerServices;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
linkRequest final
linkerServices final
private static jdk.dynalink.linker.GuardedInvocation lambda$1(jdk.dynalink.linker.GuardedInvocation, jdk.dynalink.linker.LinkRequest, jdk.dynalink.linker.LinkerServices);
descriptor: (Ljdk/dynalink/linker/GuardedInvocation;Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface jdk.dynalink.linker.LinkRequest.getCallSiteDescriptor:()Ljdk/dynalink/CallSiteDescriptor;
astore 3
start local 3 1: aload 0
aload 3
invokestatic jdk.nashorn.internal.runtime.OptimisticReturnFilters.filterOptimisticReturnValue:(Ljdk/dynalink/linker/GuardedInvocation;Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
aload 2
aload 3
invokevirtual jdk.dynalink.CallSiteDescriptor.getMethodType:()Ljava/lang/invoke/MethodType;
invokevirtual jdk.dynalink.linker.GuardedInvocation.asType:(Ljdk/dynalink/linker/LinkerServices;Ljava/lang/invoke/MethodType;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 inv Ljdk/dynalink/linker/GuardedInvocation;
0 2 1 request Ljdk/dynalink/linker/LinkRequest;
0 2 2 linkerServices Ljdk/dynalink/linker/LinkerServices;
1 2 3 desc Ljdk/dynalink/CallSiteDescriptor;
}
SourceFile: "Bootstrap.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Call = jdk.nashorn.internal.codegen.CompilerConstants$Call of jdk.nashorn.internal.codegen.CompilerConstants