public final class jdk.nashorn.internal.runtime.linker.JavaAdapterFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.linker.JavaAdapterFactory
super_class: java.lang.Object
{
private static final java.security.ProtectionDomain MINIMAL_PERMISSION_DOMAIN;
descriptor: Ljava/security/ProtectionDomain;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.security.AccessControlContext CREATE_ADAPTER_INFO_ACC_CTXT;
descriptor: Ljava/security/AccessControlContext;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.ClassValue<java.util.Map<java.util.List<java.lang.Class<?>>, jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo>> ADAPTER_INFO_MAPS;
descriptor: Ljava/lang/ClassValue;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ClassValue<Ljava/util/Map<Ljava/util/List<Ljava/lang/Class<*>;>;Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;>;>;
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=4, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory;
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.JavaAdapterFactory.$assertionsDisabled:Z
3: invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.createMinimalPermissionDomain:()Ljava/security/ProtectionDomain;
putstatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.MINIMAL_PERMISSION_DOMAIN:Ljava/security/ProtectionDomain;
4: iconst_4
anewarray java.lang.String
dup
iconst_0
5: ldc "createClassLoader"
aastore
dup
iconst_1
ldc "getClassLoader"
aastore
dup
iconst_2
6: ldc "accessDeclaredMembers"
aastore
dup
iconst_3
ldc "accessClassInPackage.jdk.nashorn.internal.runtime"
aastore
7: invokestatic jdk.nashorn.internal.runtime.linker.ClassAndLoader.createPermAccCtxt:([Ljava/lang/String;)Ljava/security/AccessControlContext;
putstatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.CREATE_ADAPTER_INFO_ACC_CTXT:Ljava/security/AccessControlContext;
8: new jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$1
dup
invokespecial jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$1.<init>:()V
putstatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.ADAPTER_INFO_MAPS:Ljava/lang/ClassValue;
9: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory;
public static jdk.dynalink.beans.StaticClass getAdapterClassFor(java.lang.Class<?>[], jdk.nashorn.internal.runtime.ScriptObject, java.lang.invoke.MethodHandles$Lookup);
descriptor: ([Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/invoke/MethodHandles$Lookup;)Ljdk/dynalink/beans/StaticClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.getProtectionDomain:(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/security/ProtectionDomain;
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.getAdapterClassFor:([Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/security/ProtectionDomain;)Ljdk/dynalink/beans/StaticClass;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 types [Ljava/lang/Class;
0 1 1 classOverrides Ljdk/nashorn/internal/runtime/ScriptObject;
0 1 2 lookup Ljava/lang/invoke/MethodHandles$Lookup;
Signature: ([Ljava/lang/Class<*>;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/invoke/MethodHandles$Lookup;)Ljdk/dynalink/beans/StaticClass;
MethodParameters:
Name Flags
types final
classOverrides final
lookup final
private static jdk.dynalink.beans.StaticClass getAdapterClassFor(java.lang.Class<?>[], jdk.nashorn.internal.runtime.ScriptObject, java.security.ProtectionDomain);
descriptor: ([Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/security/ProtectionDomain;)Ljdk/dynalink/beans/StaticClass;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.$assertionsDisabled:Z
ifne 2
aload 0
ifnull 1
aload 0
arraylength
ifgt 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 3: aload 3
ifnull 10
4: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: java.lang.Class[] jdk.nashorn.internal.runtime.ScriptObject java.security.ProtectionDomain java.lang.SecurityManager top int int java.lang.Class[]
StackMap stack:
5: aload 7
iload 5
aaload
astore 4
start local 4 6: aload 4
invokestatic jdk.nashorn.internal.runtime.Context.checkPackageAccess:(Ljava/lang/Class;)V
7: aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.linker.ReflectionCheckLinker.checkReflectionAccess:(Ljava/lang/Class;Z)V
end local 4 8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 5
10: StackMap locals: java.lang.Class[] jdk.nashorn.internal.runtime.ScriptObject java.security.ProtectionDomain java.lang.SecurityManager
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.getAdapterInfo:([Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo.getAdapterClass:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/security/ProtectionDomain;)Ljdk/dynalink/beans/StaticClass;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 types [Ljava/lang/Class;
0 11 1 classOverrides Ljdk/nashorn/internal/runtime/ScriptObject;
0 11 2 protectionDomain Ljava/security/ProtectionDomain;
3 11 3 sm Ljava/lang/SecurityManager;
6 8 4 type Ljava/lang/Class<*>;
Signature: ([Ljava/lang/Class<*>;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/security/ProtectionDomain;)Ljdk/dynalink/beans/StaticClass;
MethodParameters:
Name Flags
types final
classOverrides final
protectionDomain final
private static java.security.ProtectionDomain getProtectionDomain(java.lang.invoke.MethodHandles$Lookup);
descriptor: (Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/security/ProtectionDomain;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupModes:()I
iconst_2
iand
ifne 2
1: getstatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.MINIMAL_PERMISSION_DOMAIN:Ljava/security/ProtectionDomain;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandles$Lookup.lookupClass:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.getProtectionDomain:(Ljava/lang/Class;)Ljava/security/ProtectionDomain;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 lookup Ljava/lang/invoke/MethodHandles$Lookup;
MethodParameters:
Name Flags
lookup final
private static java.security.ProtectionDomain getProtectionDomain(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/security/ProtectionDomain;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$2
dup
aload 0
invokespecial jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$2.<init>:(Ljava/lang/Class;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.security.ProtectionDomain
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/security/ProtectionDomain;
MethodParameters:
Name Flags
clazz final
public static java.lang.invoke.MethodHandle getConstructor(java.lang.Class<?>, java.lang.Class<?>, java.lang.invoke.MethodHandles$Lookup);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=14, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 1
aastore
aconst_null
aload 2
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.getAdapterClassFor:([Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/invoke/MethodHandles$Lookup;)Ljdk/dynalink/beans/StaticClass;
astore 3
start local 3 1: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.getLinkerServices:()Ljdk/dynalink/linker/LinkerServices;
new jdk.dynalink.linker.support.SimpleLinkRequest
dup
2: new jdk.dynalink.CallSiteDescriptor
dup
aload 2
getstatic jdk.dynalink.StandardOperation.NEW:Ljdk/dynalink/StandardOperation;
3: aload 1
ldc Ljdk/dynalink/beans/StaticClass;
iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 0
aastore
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
4: invokespecial jdk.dynalink.CallSiteDescriptor.<init>:(Ljava/lang/invoke/MethodHandles$Lookup;Ljdk/dynalink/Operation;Ljava/lang/invoke/MethodType;)V
5: iconst_0
iconst_2
anewarray java.lang.Object
dup
iconst_0
6: aload 3
aastore
dup
iconst_1
aconst_null
aastore
invokespecial jdk.dynalink.linker.support.SimpleLinkRequest.<init>:(Ljdk/dynalink/CallSiteDescriptor;Z[Ljava/lang/Object;)V
7: invokeinterface jdk.dynalink.linker.LinkerServices.getGuardedInvocation:(Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
8: invokevirtual jdk.dynalink.linker.GuardedInvocation.getInvocation:()Ljava/lang/invoke/MethodHandle;
aload 3
9: invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.bindTo:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 sourceType Ljava/lang/Class<*>;
0 10 1 targetType Ljava/lang/Class<*>;
0 10 2 lookup Ljava/lang/invoke/MethodHandles$Lookup;
1 10 3 adapterClass Ljdk/dynalink/beans/StaticClass;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
sourceType final
targetType final
lookup final
static boolean isAutoConvertibleFromFunction(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 0
aastore
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.getAdapterInfo:([Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
invokevirtual jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo.isAutoConvertibleFromFunction:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz final
private static jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo getAdapterInfo(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.linker.ClassAndLoader.getDefiningClassAndLoader:([Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/linker/ClassAndLoader;
astore 1
start local 1 1: getstatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.ADAPTER_INFO_MAPS:Ljava/lang/ClassValue;
aload 1
invokevirtual jdk.nashorn.internal.runtime.linker.ClassAndLoader.getRepresentativeClass:()Ljava/lang/Class;
invokevirtual java.lang.ClassValue.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 2: aload 0
arraylength
iconst_1
if_icmpne 3
aload 0
iconst_0
aaload
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
goto 4
StackMap locals: jdk.nashorn.internal.runtime.linker.ClassAndLoader java.util.Map
StackMap stack:
3: aload 0
invokevirtual java.lang.Class[].clone:()Ljava/lang/Object;
checkcast java.lang.Class[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
4: astore 3
start local 3 5: aload 2
dup
astore 5
monitorenter
6: aload 2
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo
astore 4
start local 4 7: aload 4
ifnonnull 10
8: aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.createAdapterInfo:([Ljava/lang/Class;Ljdk/nashorn/internal/runtime/linker/ClassAndLoader;)Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
astore 4
9: aload 2
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: StackMap locals: java.util.List jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo java.util.Map
StackMap stack:
aload 5
monitorexit
11: goto 14
end local 4 StackMap locals: java.lang.Class[] jdk.nashorn.internal.runtime.linker.ClassAndLoader java.util.Map java.util.List top java.util.Map
StackMap stack: java.lang.Throwable
12: aload 5
monitorexit
13: athrow
start local 4 14: StackMap locals: java.lang.Class[] jdk.nashorn.internal.runtime.linker.ClassAndLoader java.util.Map java.util.List jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 types [Ljava/lang/Class;
1 15 1 definingClassAndLoader Ljdk/nashorn/internal/runtime/linker/ClassAndLoader;
2 15 2 adapterInfoMap Ljava/util/Map<Ljava/util/List<Ljava/lang/Class<*>;>;Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;>;
5 15 3 typeList Ljava/util/List<Ljava/lang/Class<*>;>;
7 12 4 adapterInfo Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
14 15 4 adapterInfo Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
Exception table:
from to target type
6 11 12 any
12 13 12 any
Signature: ([Ljava/lang/Class<*>;)Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
MethodParameters:
Name Flags
types final
private static jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo createAdapterInfo(java.lang.Class<?>[], jdk.nashorn.internal.runtime.linker.ClassAndLoader);
descriptor: ([Ljava/lang/Class;Ljdk/nashorn/internal/runtime/linker/ClassAndLoader;)Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 2: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 18
StackMap locals: java.lang.Class[] jdk.nashorn.internal.runtime.linker.ClassAndLoader java.lang.Class java.util.List top int int java.lang.Class[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
invokevirtual java.lang.Class.getModifiers:()I
istore 8
start local 8 5: aload 4
invokevirtual java.lang.Class.isInterface:()Z
ifne 12
6: aload 2
ifnull 8
7: new jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo
dup
getstatic jdk.nashorn.internal.runtime.linker.AdaptationResult$Outcome.ERROR_MULTIPLE_SUPERCLASSES:Ljdk/nashorn/internal/runtime/linker/AdaptationResult$Outcome;
new java.lang.StringBuilder
dup
aload 4
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " and "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo.<init>:(Ljdk/nashorn/internal/runtime/linker/AdaptationResult$Outcome;Ljava/lang/String;)V
areturn
8: StackMap locals: java.lang.Class[] jdk.nashorn.internal.runtime.linker.ClassAndLoader java.lang.Class java.util.List java.lang.Class int int java.lang.Class[] int
StackMap stack:
iload 8
invokestatic java.lang.reflect.Modifier.isFinal:(I)Z
ifeq 10
9: new jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo
dup
getstatic jdk.nashorn.internal.runtime.linker.AdaptationResult$Outcome.ERROR_FINAL_CLASS:Ljdk/nashorn/internal/runtime/linker/AdaptationResult$Outcome;
aload 4
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokespecial jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo.<init>:(Ljdk/nashorn/internal/runtime/linker/AdaptationResult$Outcome;Ljava/lang/String;)V
areturn
10: StackMap locals:
StackMap stack:
aload 4
astore 2
11: goto 15
12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.size:()I
ldc 65535
if_icmple 14
13: new java.lang.IllegalArgumentException
dup
ldc "interface limit exceeded"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: StackMap locals:
StackMap stack:
iload 8
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 17
16: new jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo
dup
getstatic jdk.nashorn.internal.runtime.linker.AdaptationResult$Outcome.ERROR_NON_PUBLIC_CLASS:Ljdk/nashorn/internal/runtime/linker/AdaptationResult$Outcome;
aload 4
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokespecial jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo.<init>:(Ljdk/nashorn/internal/runtime/linker/AdaptationResult$Outcome;Ljava/lang/String;)V
areturn
end local 8 end local 4 17: StackMap locals: java.lang.Class[] jdk.nashorn.internal.runtime.linker.ClassAndLoader java.lang.Class java.util.List top int int java.lang.Class[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
iload 6
if_icmplt 3
19: aload 2
ifnonnull 20
ldc Ljava/lang/Object;
goto 21
StackMap locals: java.lang.Class[] jdk.nashorn.internal.runtime.linker.ClassAndLoader java.lang.Class java.util.List
StackMap stack:
20: aload 2
StackMap locals:
StackMap stack: java.lang.Class
21: astore 4
start local 4 22: new jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$3
dup
aload 4
aload 3
aload 1
aload 0
invokespecial jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$3.<init>:(Ljava/lang/Class;Ljava/util/List;Ljdk/nashorn/internal/runtime/linker/ClassAndLoader;[Ljava/lang/Class;)V
23: getstatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.CREATE_ADAPTER_INFO_ACC_CTXT:Ljava/security/AccessControlContext;
24: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 types [Ljava/lang/Class;
0 25 1 definingClassAndLoader Ljdk/nashorn/internal/runtime/linker/ClassAndLoader;
1 25 2 superClass Ljava/lang/Class<*>;
2 25 3 interfaces Ljava/util/List<Ljava/lang/Class<*>;>;
4 17 4 t Ljava/lang/Class<*>;
5 17 8 mod I
22 25 4 effectiveSuperClass Ljava/lang/Class<*>;
Signature: ([Ljava/lang/Class<*>;Ljdk/nashorn/internal/runtime/linker/ClassAndLoader;)Ljdk/nashorn/internal/runtime/linker/JavaAdapterFactory$AdapterInfo;
MethodParameters:
Name Flags
types final
definingClassAndLoader final
private static java.security.ProtectionDomain createMinimalPermissionDomain();
descriptor: ()Ljava/security/ProtectionDomain;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new java.security.Permissions
dup
invokespecial java.security.Permissions.<init>:()V
astore 0
start local 0 1: aload 0
new java.lang.RuntimePermission
dup
ldc "accessClassInPackage.jdk.nashorn.internal.runtime"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
2: aload 0
new java.lang.RuntimePermission
dup
ldc "accessClassInPackage.jdk.nashorn.internal.runtime.linker"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
3: new java.security.ProtectionDomain
dup
new java.security.CodeSource
dup
aconst_null
aconst_null
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/CodeSigner;)V
aload 0
invokespecial java.security.ProtectionDomain.<init>:(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 permissions Ljava/security/Permissions;
}
SourceFile: "JavaAdapterFactory.java"
NestMembers:
jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$1 jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$2 jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$3 jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final Outcome = jdk.nashorn.internal.runtime.linker.AdaptationResult$Outcome of jdk.nashorn.internal.runtime.linker.AdaptationResult
jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$1
jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$2
jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$3
private AdapterInfo = jdk.nashorn.internal.runtime.linker.JavaAdapterFactory$AdapterInfo of jdk.nashorn.internal.runtime.linker.JavaAdapterFactory