public final class jdk.nashorn.internal.runtime.AccessControlContextFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.AccessControlContextFactory
super_class: java.lang.Object
{
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/AccessControlContextFactory;
public static java.security.AccessControlContext createAccessControlContext();
descriptor: ()Ljava/security/AccessControlContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.security.Permission
invokestatic jdk.nashorn.internal.runtime.AccessControlContextFactory.createAccessControlContext:([Ljava/security/Permission;)Ljava/security/AccessControlContext;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.security.AccessControlContext createAccessControlContext(java.security.Permission[]);
descriptor: ([Ljava/security/Permission;)Ljava/security/AccessControlContext;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=9, locals=6, args_size=1
start local 0 0: new java.security.Permissions
dup
invokespecial java.security.Permissions.<init>:()V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: java.security.Permission[] java.security.Permissions top int int java.security.Permission[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 1
aload 2
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: new java.security.AccessControlContext
dup
iconst_1
anewarray java.security.ProtectionDomain
dup
iconst_0
new java.security.ProtectionDomain
dup
aconst_null
aload 1
invokespecial java.security.ProtectionDomain.<init>:(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V
aastore
invokespecial java.security.AccessControlContext.<init>:([Ljava/security/ProtectionDomain;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 permissions [Ljava/security/Permission;
1 7 1 perms Ljava/security/Permissions;
3 4 2 permission Ljava/security/Permission;
MethodParameters:
Name Flags
permissions final
public static java.security.AccessControlContext createAccessControlContext(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/security/AccessControlContext;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.AccessControlContextFactory.makeRuntimePermissions:([Ljava/lang/String;)[Ljava/security/Permission;
invokestatic jdk.nashorn.internal.runtime.AccessControlContextFactory.createAccessControlContext:([Ljava/security/Permission;)Ljava/security/AccessControlContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtimePermissionNames [Ljava/lang/String;
MethodParameters:
Name Flags
runtimePermissionNames final
private static java.security.Permission[] makeRuntimePermissions(java.lang.String[]);
descriptor: ([Ljava/lang/String;)[Ljava/security/Permission;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
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/Object;)Ljava/lang/Object;
java/lang/RuntimePermission.<init>(Ljava/lang/String;)V (8)
(Ljava/lang/String;)Ljava/lang/RuntimePermission;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
jdk/nashorn/internal/runtime/AccessControlContextFactory.lambda$1(I)[Ljava/security/Permission; (6)
(I)[Ljava/security/Permission;
invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast java.security.Permission[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtimePermissionNames [Ljava/lang/String;
MethodParameters:
Name Flags
runtimePermissionNames final
private static java.security.Permission[] lambda$1(int);
descriptor: (I)[Ljava/security/Permission;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: iload 0
anewarray java.security.Permission
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AccessControlContextFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles