public class jdk.dynalink.SecureLookupSupplier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.dynalink.SecureLookupSupplier
super_class: java.lang.Object
{
public static final java.lang.String GET_LOOKUP_PERMISSION_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "dynalink.getLookup"
private static final java.lang.RuntimePermission GET_LOOKUP_PERMISSION;
descriptor: Ljava/lang/RuntimePermission;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.invoke.MethodHandles$Lookup lookup;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.RuntimePermission
dup
ldc "dynalink.getLookup"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
putstatic jdk.dynalink.SecureLookupSupplier.GET_LOOKUP_PERMISSION:Ljava/lang/RuntimePermission;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.invoke.MethodHandles$Lookup);
descriptor: (Ljava/lang/invoke/MethodHandles$Lookup;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
ldc "lookup"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandles$Lookup
putfield jdk.dynalink.SecureLookupSupplier.lookup:Ljava/lang/invoke/MethodHandles$Lookup;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/dynalink/SecureLookupSupplier;
0 3 1 lookup Ljava/lang/invoke/MethodHandles$Lookup;
MethodParameters:
Name Flags
lookup final
public final java.lang.invoke.MethodHandles$Lookup getLookup();
descriptor: ()Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
aload 0
getfield jdk.dynalink.SecureLookupSupplier.lookup:Ljava/lang/invoke/MethodHandles$Lookup;
invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
if_acmpeq 3
2: aload 1
getstatic jdk.dynalink.SecureLookupSupplier.GET_LOOKUP_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
getfield jdk.dynalink.SecureLookupSupplier.lookup:Ljava/lang/invoke/MethodHandles$Lookup;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/dynalink/SecureLookupSupplier;
1 4 1 sm Ljava/lang/SecurityManager;
protected final java.lang.invoke.MethodHandles$Lookup getLookupPrivileged();
descriptor: ()Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.dynalink.SecureLookupSupplier.lookup:Ljava/lang/invoke/MethodHandles$Lookup;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/SecureLookupSupplier;
}
SourceFile: "SecureLookupSupplier.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles