class sun.security.tools.policytool.PolicyEntry
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.PolicyEntry
super_class: java.lang.Object
{
private java.security.CodeSource codesource;
descriptor: Ljava/security/CodeSource;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.PolicyTool tool;
descriptor: Lsun/security/tools/policytool/PolicyTool;
flags: (0x0002) ACC_PRIVATE
private sun.security.provider.PolicyParser$GrantEntry grantEntry;
descriptor: Lsun/security/provider/PolicyParser$GrantEntry;
flags: (0x0002) ACC_PRIVATE
private boolean testing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(sun.security.tools.policytool.PolicyTool, sun.security.provider.PolicyParser$GrantEntry);
descriptor: (Lsun/security/tools/policytool/PolicyTool;Lsun/security/provider/PolicyParser$GrantEntry;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.security.tools.policytool.PolicyEntry.testing:Z
2: aload 0
aload 1
putfield sun.security.tools.policytool.PolicyEntry.tool:Lsun/security/tools/policytool/PolicyTool;
3: aconst_null
astore 3
start local 3 4: aload 2
getfield sun.security.provider.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
ifnull 6
5: new java.net.URL
dup
aload 2
getfield sun.security.provider.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 3
6: StackMap locals: sun.security.tools.policytool.PolicyEntry sun.security.tools.policytool.PolicyTool sun.security.provider.PolicyParser$GrantEntry java.net.URL
StackMap stack:
aload 0
new java.security.CodeSource
dup
aload 3
7: aconst_null
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/cert/Certificate;)V
8: putfield sun.security.tools.policytool.PolicyEntry.codesource:Ljava/security/CodeSource;
9: aload 0
getfield sun.security.tools.policytool.PolicyEntry.testing:Z
ifeq 16
10: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Adding Policy Entry:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " CodeBase = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Signers = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield sun.security.provider.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield sun.security.provider.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
14: ldc " Principals"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/tools/policytool/PolicyEntry;
0 18 1 tool Lsun/security/tools/policytool/PolicyTool;
0 18 2 ge Lsun/security/provider/PolicyParser$GrantEntry;
4 18 3 location Ljava/net/URL;
Exceptions:
throws java.net.MalformedURLException, java.lang.NoSuchMethodException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.security.cert.CertificateException, java.io.IOException, java.security.NoSuchAlgorithmException, java.security.UnrecoverableKeyException
MethodParameters:
Name Flags
tool
ge
java.security.CodeSource getCodeSource();
descriptor: ()Ljava/security/CodeSource;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.tools.policytool.PolicyEntry.codesource:Ljava/security/CodeSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/tools/policytool/PolicyEntry;
sun.security.provider.PolicyParser$GrantEntry getGrantEntry();
descriptor: ()Lsun/security/provider/PolicyParser$GrantEntry;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/tools/policytool/PolicyEntry;
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.tools.policytool.PolicyEntry.principalsToString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.length:()I
ifne 3
2: aload 0
invokevirtual sun.security.tools.policytool.PolicyEntry.codebaseToString:()Ljava/lang/String;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual sun.security.tools.policytool.PolicyEntry.codebaseToString:()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;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/tools/policytool/PolicyEntry;
1 4 1 pString Ljava/lang/String;
java.lang.String codebaseToString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.lang.String
dup
invokespecial java.lang.String.<init>:()V
astore 1
start local 1 1: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
ifnull 9
2: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
3: aload 1
4: new java.lang.StringBuilder
dup
ldc "CodeBase \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
astore 1
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
ifnull 22
10: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
11: aload 1
invokevirtual java.lang.String.length:()I
ifle 17
12: aload 1
new java.lang.StringBuilder
dup
ldc ", SignedBy \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
16: goto 21
17: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "SignedBy \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
21: StackMap locals:
StackMap stack: java.lang.String
astore 1
22: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifne 24
23: new java.lang.String
dup
ldc "CodeBase <ALL>"
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
areturn
24: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/tools/policytool/PolicyEntry;
1 25 1 stringEntry Ljava/lang/String;
java.lang.String principalsToString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
ifnull 14
2: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifne 14
3: new java.lang.StringBuffer
dup
sipush 200
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 2
start local 2 4: aload 0
getfield sun.security.tools.policytool.PolicyEntry.grantEntry:Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.listIterator:()Ljava/util/ListIterator;
5: astore 3
start local 3 6: goto 12
7: StackMap locals: java.lang.String java.lang.StringBuffer java.util.ListIterator
StackMap stack:
aload 3
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast sun.security.provider.PolicyParser$PrincipalEntry
astore 4
start local 4 8: aload 2
new java.lang.StringBuilder
dup
ldc " Principal "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayClass:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 4
iconst_1
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayName:(Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
11: aload 3
invokeinterface java.util.ListIterator.hasNext:()Z
ifeq 12
aload 2
ldc ", "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 4 12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 7
13: aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 1
end local 3 end local 2 14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/tools/policytool/PolicyEntry;
1 15 1 result Ljava/lang/String;
4 14 2 buffer Ljava/lang/StringBuffer;
6 14 3 list Ljava/util/ListIterator<Lsun/security/provider/PolicyParser$PrincipalEntry;>;
8 12 4 pppe Lsun/security/provider/PolicyParser$PrincipalEntry;
sun.security.provider.PolicyParser$PermissionEntry toPermissionEntry(java.security.Permission);
descriptor: (Ljava/security/Permission;)Lsun/security/provider/PolicyParser$PermissionEntry;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual java.security.Permission.getActions:()Ljava/lang/String;
ifnull 4
2: aload 1
invokevirtual java.security.Permission.getActions:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ""
if_acmpeq 4
3: aload 1
invokevirtual java.security.Permission.getActions:()Ljava/lang/String;
astore 2
4: StackMap locals: java.lang.String
StackMap stack:
new sun.security.provider.PolicyParser$PermissionEntry
dup
5: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
6: aload 1
invokevirtual java.security.Permission.getName:()Ljava/lang/String;
7: aload 2
8: invokespecial sun.security.provider.PolicyParser$PermissionEntry.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 9: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/tools/policytool/PolicyEntry;
0 10 1 perm Ljava/security/Permission;
1 10 2 actions Ljava/lang/String;
9 10 3 pe Lsun/security/provider/PolicyParser$PermissionEntry;
MethodParameters:
Name Flags
perm
}
SourceFile: "PolicyTool.java"
InnerClasses:
public GrantEntry = sun.security.provider.PolicyParser$GrantEntry of sun.security.provider.PolicyParser
public PermissionEntry = sun.security.provider.PolicyParser$PermissionEntry of sun.security.provider.PolicyParser
public PrincipalEntry = sun.security.provider.PolicyParser$PrincipalEntry of sun.security.provider.PolicyParser