class com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection extends java.security.PermissionCollection implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection
super_class: java.security.PermissionCollection
{
private java.util.Hashtable permissions;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
private boolean all_allowed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1242475729790124375
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.PermissionCollection.<init>:()V
1: aload 0
new java.util.Hashtable
dup
bipush 11
invokespecial java.util.Hashtable.<init>:(I)V
putfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.permissions:Ljava/util/Hashtable;
2: aload 0
iconst_0
putfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.all_allowed:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/rmi/rmid/ExecOptionPermission$ExecOptionPermissionCollection;
public void add(java.security.Permission);
descriptor: (Ljava/security/Permission;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.rmi.rmid.ExecOptionPermission
ifne 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid permission: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.isReadOnly:()Z
ifeq 6
5: new java.lang.SecurityException
dup
ldc "attempt to add a Permission to a readonly PermissionCollection"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.rmi.rmid.ExecOptionPermission
astore 2
start local 2 7: aload 0
getfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.permissions:Ljava/util/Hashtable;
aload 2
invokevirtual com.sun.rmi.rmid.ExecOptionPermission.getName:()Ljava/lang/String;
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
getfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.all_allowed:Z
ifne 11
9: aload 2
invokevirtual com.sun.rmi.rmid.ExecOptionPermission.getName:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: aload 0
iconst_1
putfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.all_allowed:Z
11: StackMap locals: com.sun.rmi.rmid.ExecOptionPermission
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/rmi/rmid/ExecOptionPermission$ExecOptionPermissionCollection;
0 12 1 permission Ljava/security/Permission;
7 12 2 p Lcom/sun/rmi/rmid/ExecOptionPermission;
MethodParameters:
Name Flags
permission
public boolean implies(java.security.Permission);
descriptor: (Ljava/security/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.rmi.rmid.ExecOptionPermission
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.rmi.rmid.ExecOptionPermission
astore 2
start local 2 3: aload 0
getfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.all_allowed:Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals: com.sun.rmi.rmid.ExecOptionPermission
StackMap stack:
aload 2
invokevirtual com.sun.rmi.rmid.ExecOptionPermission.getName:()Ljava/lang/String;
astore 3
start local 3 6: aload 0
getfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.permissions:Ljava/util/Hashtable;
aload 3
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.Permission
astore 4
start local 4 7: aload 4
ifnull 9
8: aload 4
aload 1
invokevirtual java.security.Permission.implies:(Ljava/security/Permission;)Z
ireturn
9: StackMap locals: java.lang.String java.security.Permission
StackMap stack:
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 6
start local 6 10: goto 16
start local 5 11: StackMap locals: int int
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
iconst_0
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
12: aload 0
getfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.permissions:Ljava/util/Hashtable;
aload 3
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.Permission
astore 4
13: aload 4
ifnull 15
14: aload 4
aload 1
invokevirtual java.security.Permission.implies:(Ljava/security/Permission;)Z
ireturn
15: StackMap locals:
StackMap stack:
iload 5
iconst_1
isub
istore 6
end local 5 16: StackMap locals: com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection java.security.Permission com.sun.rmi.rmid.ExecOptionPermission java.lang.String java.security.Permission top int
StackMap stack:
aload 3
ldc "."
iload 6
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;I)I
dup
istore 5
start local 5 17: iconst_m1
if_icmpne 11
18: aload 2
invokevirtual com.sun.rmi.rmid.ExecOptionPermission.getName:()Ljava/lang/String;
astore 3
19: aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 6
20: goto 26
21: StackMap locals: com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection java.security.Permission com.sun.rmi.rmid.ExecOptionPermission java.lang.String java.security.Permission int int
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
iconst_0
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
22: aload 0
getfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.permissions:Ljava/util/Hashtable;
aload 3
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.Permission
astore 4
23: aload 4
ifnull 25
24: aload 4
aload 1
invokevirtual java.security.Permission.implies:(Ljava/security/Permission;)Z
ireturn
25: StackMap locals:
StackMap stack:
iload 5
iconst_1
isub
istore 6
26: StackMap locals:
StackMap stack:
aload 3
ldc "="
iload 6
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;I)I
dup
istore 5
iconst_m1
if_icmpne 21
27: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/rmi/rmid/ExecOptionPermission$ExecOptionPermissionCollection;
0 28 1 permission Ljava/security/Permission;
3 28 2 p Lcom/sun/rmi/rmid/ExecOptionPermission;
6 28 3 pname Ljava/lang/String;
7 28 4 x Ljava/security/Permission;
11 16 5 last I
17 28 5 last I
10 28 6 offset I
MethodParameters:
Name Flags
permission
public java.util.Enumeration elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection.permissions:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/rmi/rmid/ExecOptionPermission$ExecOptionPermissionCollection;
}
SourceFile: "ExecOptionPermission.java"
NestHost: com.sun.rmi.rmid.ExecOptionPermission
InnerClasses:
private ExecOptionPermissionCollection = com.sun.rmi.rmid.ExecOptionPermission$ExecOptionPermissionCollection of com.sun.rmi.rmid.ExecOptionPermission