class sun.misc.PathPermissions extends java.security.PermissionCollection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.misc.PathPermissions
super_class: java.security.PermissionCollection
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8133287259134945693
private java.io.File[] path;
descriptor: [Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private java.security.Permissions perms;
descriptor: Ljava/security/Permissions;
flags: (0x0002) ACC_PRIVATE
java.net.URL codeBase;
descriptor: Ljava/net/URL;
flags: (0x0000)
void <init>(java.io.File[]);
descriptor: ([Ljava/io/File;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.security.PermissionCollection.<init>:()V
1: aload 0
aload 1
putfield sun.misc.PathPermissions.path:[Ljava/io/File;
2: aload 0
aconst_null
putfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
3: aload 0
aconst_null
putfield sun.misc.PathPermissions.codeBase:Ljava/net/URL;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/misc/PathPermissions;
0 5 1 path [Ljava/io/File;
MethodParameters:
Name Flags
path
java.net.URL getCodeBase();
descriptor: ()Ljava/net/URL;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.misc.PathPermissions.codeBase:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/misc/PathPermissions;
public void add(java.security.Permission);
descriptor: (Ljava/security/Permission;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.SecurityException
dup
ldc "attempt to add a permission"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/misc/PathPermissions;
0 1 1 permission Ljava/security/Permission;
MethodParameters:
Name Flags
permission
private synchronized void init();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
ifnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
new java.security.Permissions
dup
invokespecial java.security.Permissions.<init>:()V
putfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
3: aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
getstatic sun.security.util.SecurityConstants.CREATE_CLASSLOADER_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
4: aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
new java.util.PropertyPermission
dup
ldc "java.*"
5: ldc "read"
invokespecial java.util.PropertyPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
6: invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
7: new sun.misc.PathPermissions$1
dup
aload 0
invokespecial sun.misc.PathPermissions$1.<init>:(Lsun/misc/PathPermissions;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/misc/PathPermissions;
public boolean implies(java.security.Permission);
descriptor: (Ljava/security/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
ifnonnull 2
1: aload 0
invokevirtual sun.misc.PathPermissions.init:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
aload 1
invokevirtual java.security.Permissions.implies:(Ljava/security/Permission;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/misc/PathPermissions;
0 3 1 permission Ljava/security/Permission;
MethodParameters:
Name Flags
permission
public java.util.Enumeration<java.security.Permission> elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
ifnonnull 2
1: aload 0
invokevirtual sun.misc.PathPermissions.init:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
dup
astore 1
monitorenter
3: aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
invokevirtual java.security.Permissions.elements:()Ljava/util/Enumeration;
aload 1
monitorexit
4: areturn
5: StackMap locals: sun.misc.PathPermissions java.security.Permissions
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/misc/PathPermissions;
Exception table:
from to target type
3 4 5 any
5 6 5 any
Signature: ()Ljava/util/Enumeration<Ljava/security/Permission;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
ifnonnull 2
1: aload 0
invokevirtual sun.misc.PathPermissions.init:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
invokevirtual java.security.Permissions.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/misc/PathPermissions;
}
SourceFile: "Launcher.java"
NestMembers:
sun.misc.PathPermissions$1
InnerClasses:
sun.misc.PathPermissions$1