public class java.security.CodeSource implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.security.CodeSource
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4977541819976013951
private java.net.URL location;
descriptor: Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
private transient java.security.CodeSigner[] signers;
descriptor: [Ljava/security/CodeSigner;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.security.cert.Certificate[] certs;
descriptor: [Ljava/security/cert/Certificate;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.net.SocketPermission sp;
descriptor: Ljava/net/SocketPermission;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.security.cert.CertificateFactory factory;
descriptor: Ljava/security/cert/CertificateFactory;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.lang.String locationNoFragString;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>(java.net.URL, java.security.cert.Certificate[]);
descriptor: (Ljava/net/URL;[Ljava/security/cert/Certificate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
2: aload 0
aconst_null
putfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
3: aload 0
aconst_null
putfield java.security.CodeSource.factory:Ljava/security/cert/CertificateFactory;
4: aload 0
aload 1
putfield java.security.CodeSource.location:Ljava/net/URL;
5: aload 1
ifnull 7
6: aload 0
aload 1
invokestatic sun.net.util.URLUtil.urlNoFragString:(Ljava/net/URL;)Ljava/lang/String;
putfield java.security.CodeSource.locationNoFragString:Ljava/lang/String;
7: StackMap locals: java.security.CodeSource java.net.URL java.security.cert.Certificate[]
StackMap stack:
aload 2
ifnull 9
8: aload 0
aload 2
invokevirtual java.security.cert.Certificate[].clone:()Ljava/lang/Object;
checkcast java.security.cert.Certificate[]
putfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/security/CodeSource;
0 10 1 url Ljava/net/URL;
0 10 2 certs [Ljava/security/cert/Certificate;
MethodParameters:
Name Flags
url
certs
public void <init>(java.net.URL, java.security.CodeSigner[]);
descriptor: (Ljava/net/URL;[Ljava/security/CodeSigner;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
2: aload 0
aconst_null
putfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
3: aload 0
aconst_null
putfield java.security.CodeSource.factory:Ljava/security/cert/CertificateFactory;
4: aload 0
aload 1
putfield java.security.CodeSource.location:Ljava/net/URL;
5: aload 1
ifnull 7
6: aload 0
aload 1
invokestatic sun.net.util.URLUtil.urlNoFragString:(Ljava/net/URL;)Ljava/lang/String;
putfield java.security.CodeSource.locationNoFragString:Ljava/lang/String;
7: StackMap locals: java.security.CodeSource java.net.URL java.security.CodeSigner[]
StackMap stack:
aload 2
ifnull 9
8: aload 0
aload 2
invokevirtual java.security.CodeSigner[].clone:()Ljava/lang/Object;
checkcast java.security.CodeSigner[]
putfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/security/CodeSource;
0 10 1 url Ljava/net/URL;
0 10 2 signers [Ljava/security/CodeSigner;
MethodParameters:
Name Flags
url
signers
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
ifnull 2
1: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.hashCode:()I
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/security/CodeSource;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.security.CodeSource
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.CodeSource
astore 2
start local 2 5: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
ifnonnull 7
6: aload 2
getfield java.security.CodeSource.location:Ljava/net/URL;
ifnull 8
iconst_0
ireturn
7: StackMap locals: java.security.CodeSource
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
aload 2
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.equals:(Ljava/lang/Object;)Z
ifne 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_1
invokevirtual java.security.CodeSource.matchCerts:(Ljava/security/CodeSource;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/security/CodeSource;
0 9 1 obj Ljava/lang/Object;
5 9 2 cs Ljava/security/CodeSource;
MethodParameters:
Name Flags
obj
public final java.net.URL getLocation();
descriptor: ()Ljava/net/URL;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/CodeSource;
java.lang.String getLocationNoFragString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.security.CodeSource.locationNoFragString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/CodeSource;
public final java.security.cert.Certificate[] getCertificates();
descriptor: ()[Ljava/security/cert/Certificate;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
ifnull 2
1: aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
invokevirtual java.security.cert.Certificate[].clone:()Ljava/lang/Object;
checkcast java.security.cert.Certificate[]
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
ifnull 16
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
4: astore 1
start local 1 5: iconst_0
istore 2
start local 2 6: goto 11
7: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 1
8: aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
iload 2
aaload
invokevirtual java.security.CodeSigner.getSignerCertPath:()Ljava/security/cert/CertPath;
invokevirtual java.security.cert.CertPath.getCertificates:()Ljava/util/List;
9: invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
10: iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
arraylength
if_icmplt 7
end local 2 12: aload 0
aload 1
13: aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray java.security.cert.Certificate
14: invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.cert.Certificate[]
putfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
15: aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
invokevirtual java.security.cert.Certificate[].clone:()Ljava/lang/Object;
checkcast java.security.cert.Certificate[]
areturn
end local 1 16: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/security/CodeSource;
5 16 1 certChains Ljava/util/ArrayList<Ljava/security/cert/Certificate;>;
6 12 2 i I
public final java.security.CodeSigner[] getCodeSigners();
descriptor: ()[Ljava/security/CodeSigner;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
ifnull 2
1: aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
invokevirtual java.security.CodeSigner[].clone:()Ljava/lang/Object;
checkcast java.security.CodeSigner[]
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
ifnull 5
3: aload 0
aload 0
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
invokevirtual java.security.CodeSource.convertCertArrayToSignerArray:([Ljava/security/cert/Certificate;)[Ljava/security/CodeSigner;
putfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
4: aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
invokevirtual java.security.CodeSigner[].clone:()Ljava/lang/Object;
checkcast java.security.CodeSigner[]
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/security/CodeSource;
public boolean implies(java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokevirtual java.security.CodeSource.matchCerts:(Ljava/security/CodeSource;Z)Z
ifeq 3
aload 0
aload 1
invokevirtual java.security.CodeSource.matchLocation:(Ljava/security/CodeSource;)Z
ifeq 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/security/CodeSource;
0 4 1 codesource Ljava/security/CodeSource;
MethodParameters:
Name Flags
codesource
boolean matchCerts(java.security.CodeSource, boolean);
descriptor: (Ljava/security/CodeSource;Z)Z
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
ifnonnull 5
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
ifnonnull 5
1: iload 2
ifeq 4
2: aload 1
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
ifnonnull 3
aload 1
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
ifnonnull 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
ifnull 22
aload 1
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
ifnull 22
6: iload 2
ifeq 8
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
arraylength
aload 1
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
arraylength
if_icmpeq 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 9: goto 20
10: StackMap locals: java.security.CodeSource java.security.CodeSource int top int
StackMap stack:
iconst_0
istore 3
start local 3 11: iconst_0
istore 5
start local 5 12: goto 17
13: StackMap locals: java.security.CodeSource java.security.CodeSource int int int int
StackMap stack:
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
iload 4
aaload
aload 1
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
iload 5
aaload
invokevirtual java.security.CodeSigner.equals:(Ljava/lang/Object;)Z
ifeq 16
14: iconst_1
istore 3
15: goto 18
16: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
aload 1
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
arraylength
if_icmplt 13
end local 5 18: StackMap locals:
StackMap stack:
iload 3
ifne 19
iconst_0
ireturn
19: StackMap locals:
StackMap stack:
iinc 4 1
end local 3 StackMap locals: java.security.CodeSource java.security.CodeSource int top int
StackMap stack:
20: iload 4
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
arraylength
if_icmplt 10
end local 4 21: iconst_1
ireturn
22: StackMap locals: java.security.CodeSource java.security.CodeSource int
StackMap stack:
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
ifnull 39
aload 1
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
ifnull 39
23: iload 2
ifeq 25
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
aload 1
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
if_icmpeq 25
24: iconst_0
ireturn
25: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 26: goto 37
27: StackMap locals: java.security.CodeSource java.security.CodeSource int top int
StackMap stack:
iconst_0
istore 3
start local 3 28: iconst_0
istore 5
start local 5 29: goto 34
30: StackMap locals: java.security.CodeSource java.security.CodeSource int int int int
StackMap stack:
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
iload 4
aaload
aload 1
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
iload 5
aaload
invokevirtual java.security.cert.Certificate.equals:(Ljava/lang/Object;)Z
ifeq 33
31: iconst_1
istore 3
32: goto 35
33: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
34: iload 5
aload 1
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
if_icmplt 30
end local 5 35: StackMap locals:
StackMap stack:
iload 3
ifne 36
iconst_0
ireturn
36: StackMap locals:
StackMap stack:
iinc 4 1
end local 3 StackMap locals: java.security.CodeSource java.security.CodeSource int top int
StackMap stack:
37: iload 4
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
if_icmplt 27
end local 4 38: iconst_1
ireturn
39: StackMap locals: java.security.CodeSource java.security.CodeSource int
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Ljava/security/CodeSource;
0 40 1 that Ljava/security/CodeSource;
0 40 2 strict Z
11 20 3 match Z
28 37 3 match Z
9 21 4 i I
12 18 5 j I
26 38 4 i I
29 35 5 j I
MethodParameters:
Name Flags
that
strict
private boolean matchLocation(java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
ifnonnull 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 2
start local 2 9: iload 2
iconst_m1
if_icmpeq 16
10: aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getPort:()I
istore 3
start local 3 11: iload 3
iconst_m1
if_icmpeq 12
iload 3
goto 13
12: StackMap locals: int int
StackMap stack:
aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getDefaultPort:()I
13: StackMap locals:
StackMap stack: int
istore 4
start local 4 14: iload 2
iload 4
if_icmpeq 16
15: iconst_0
ireturn
end local 4 end local 3 16: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
ldc "/-"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 22
17: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
iconst_0
18: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
19: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 20: aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 35
21: iconst_0
ireturn
end local 3 22: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
ldc "/*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 32
23: aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 24: iload 3
iconst_m1
if_icmpne 26
25: iconst_0
ireturn
26: StackMap locals: int
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
iconst_0
27: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
28: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 29: aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
iconst_0
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 30: aload 5
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 35
31: iconst_0
ireturn
end local 5 end local 4 end local 3 32: StackMap locals:
StackMap stack:
aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 35
33: aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
new java.lang.StringBuilder
dup
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()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;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 35
34: iconst_0
ireturn
35: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getRef:()Ljava/lang/String;
ifnull 38
36: aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getRef:()Ljava/lang/String;
aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getRef:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
37: iconst_0
ireturn
38: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 3
start local 3 39: aload 1
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 4
start local 4 40: aload 3
ifnull 52
41: ldc ""
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 42
ldc "localhost"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 43
42: StackMap locals: java.lang.String java.lang.String
StackMap stack:
ldc ""
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 52
ldc "localhost"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 52
43: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 52
44: aload 4
ifnonnull 46
45: iconst_0
ireturn
46: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.sp:Ljava/net/SocketPermission;
ifnonnull 48
47: aload 0
new java.net.SocketPermission
dup
aload 3
ldc "resolve"
invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
putfield java.security.CodeSource.sp:Ljava/net/SocketPermission;
48: StackMap locals:
StackMap stack:
aload 1
getfield java.security.CodeSource.sp:Ljava/net/SocketPermission;
ifnonnull 50
49: aload 1
new java.net.SocketPermission
dup
aload 4
ldc "resolve"
invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
putfield java.security.CodeSource.sp:Ljava/net/SocketPermission;
50: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.sp:Ljava/net/SocketPermission;
aload 1
getfield java.security.CodeSource.sp:Ljava/net/SocketPermission;
invokevirtual java.net.SocketPermission.implies:(Ljava/security/Permission;)Z
ifne 52
51: iconst_0
ireturn
52: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Ljava/security/CodeSource;
0 53 1 that Ljava/security/CodeSource;
9 53 2 thisPort I
11 16 3 thatPort I
14 16 4 port I
20 22 3 thisPath Ljava/lang/String;
24 32 3 last I
29 32 4 thisPath Ljava/lang/String;
30 32 5 thatPath Ljava/lang/String;
39 53 3 thisHost Ljava/lang/String;
40 53 4 thatHost Ljava/lang/String;
MethodParameters:
Name Flags
that
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
3: aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
ifnull 10
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
ifle 10
4: iconst_0
istore 2
start local 2 5: goto 8
6: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
if_icmplt 6
end local 2 9: goto 18
StackMap locals:
StackMap stack:
10: aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
ifnull 17
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
arraylength
ifle 17
11: iconst_0
istore 2
start local 2 12: goto 15
13: StackMap locals: int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: iinc 2 1
StackMap locals:
StackMap stack:
15: iload 2
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
arraylength
if_icmplt 13
end local 2 16: goto 18
17: StackMap locals:
StackMap stack:
aload 1
ldc " <no signer certificates>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: StackMap locals:
StackMap stack:
aload 1
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/security/CodeSource;
1 20 1 sb Ljava/lang/StringBuilder;
5 9 2 i I
12 16 2 i I
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
ifnull 2
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
ifne 4
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
3: goto 17
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
5: iconst_0
istore 2
start local 2 6: goto 16
7: StackMap locals: int
StackMap stack:
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
iload 2
aaload
astore 3
start local 3 8: aload 1
aload 3
invokevirtual java.security.cert.Certificate.getType:()Ljava/lang/String;
invokevirtual java.io.ObjectOutputStream.writeUTF:(Ljava/lang/String;)V
9: aload 3
invokevirtual java.security.cert.Certificate.getEncoded:()[B
astore 4
start local 4 10: aload 1
aload 4
arraylength
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
11: aload 1
aload 4
invokevirtual java.io.ObjectOutputStream.write:([B)V
end local 4 12: goto 15
StackMap locals: java.security.CodeSource java.io.ObjectOutputStream int java.security.cert.Certificate
StackMap stack: java.security.cert.CertificateEncodingException
13: astore 4
start local 4 14: new java.io.IOException
dup
aload 4
invokevirtual java.security.cert.CertificateEncodingException.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 15: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
16: iload 2
aload 0
getfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
arraylength
if_icmplt 7
end local 2 17: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
ifnull 19
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
arraylength
ifle 19
18: aload 1
aload 0
getfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/security/CodeSource;
0 20 1 oos Ljava/io/ObjectOutputStream;
6 17 2 i I
8 15 3 cert Ljava/security/cert/Certificate;
10 12 4 encoded [B
14 15 4 cee Ljava/security/cert/CertificateEncodingException;
Exception table:
from to target type
8 12 13 Class java.security.cert.CertificateEncodingException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oos
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
3: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 5
start local 5 4: iload 5
ifle 10
5: new java.util.Hashtable
dup
iconst_3
invokespecial java.util.Hashtable.<init>:(I)V
astore 3
6: new java.util.ArrayList
dup
iload 5
bipush 20
if_icmple 7
bipush 20
goto 8
StackMap locals: java.security.CodeSource java.io.ObjectInputStream top java.util.Hashtable java.util.List int
StackMap stack: new 6 new 6
7: iload 5
StackMap locals: java.security.CodeSource java.io.ObjectInputStream top java.util.Hashtable java.util.List int
StackMap stack: new 6 new 6 int
8: invokespecial java.util.ArrayList.<init>:(I)V
astore 4
9: goto 12
StackMap locals:
StackMap stack:
10: iload 5
ifge 12
11: new java.io.IOException
dup
ldc "size cannot be negative"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 13: goto 33
14: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readUTF:()Ljava/lang/String;
astore 7
start local 7 15: aload 3
aload 7
invokevirtual java.util.Hashtable.containsKey:(Ljava/lang/Object;)Z
ifeq 18
16: aload 3
aload 7
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.cert.CertificateFactory
astore 2
start local 2 17: goto 25
end local 2 18: StackMap locals: java.lang.String
StackMap stack:
aload 7
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
astore 2
start local 2 19: goto 24
end local 2 StackMap locals:
StackMap stack: java.security.cert.CertificateException
20: pop
21: new java.lang.ClassNotFoundException
dup
22: new java.lang.StringBuilder
dup
ldc "Certificate factory for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
start local 2 24: StackMap locals: java.security.CodeSource java.io.ObjectInputStream java.security.cert.CertificateFactory java.util.Hashtable java.util.List int int java.lang.String
StackMap stack:
aload 3
aload 7
aload 2
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
25: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
invokestatic sun.security.util.IOUtils.readNBytes:(Ljava/io/InputStream;I)[B
astore 8
start local 8 26: new java.io.ByteArrayInputStream
dup
aload 8
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 9
start local 9 27: aload 4
aload 2
aload 9
invokevirtual java.security.cert.CertificateFactory.generateCertificate:(Ljava/io/InputStream;)Ljava/security/cert/Certificate;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
28: goto 31
StackMap locals: java.security.CodeSource java.io.ObjectInputStream java.security.cert.CertificateFactory java.util.Hashtable java.util.List int int java.lang.String byte[] java.io.ByteArrayInputStream
StackMap stack: java.security.cert.CertificateException
29: astore 10
start local 10 30: new java.io.IOException
dup
aload 10
invokevirtual java.security.cert.CertificateException.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 10 31: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.io.ByteArrayInputStream.close:()V
end local 9 end local 8 end local 7 32: iinc 6 1
end local 2 StackMap locals: java.security.CodeSource java.io.ObjectInputStream top java.util.Hashtable java.util.List int int
StackMap stack:
33: iload 6
iload 5
if_icmplt 14
end local 6 34: aload 4
ifnull 38
35: aload 0
aload 4
36: iload 5
anewarray java.security.cert.Certificate
37: invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.cert.Certificate[]
putfield java.security.CodeSource.certs:[Ljava/security/cert/Certificate;
38: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.security.CodeSigner[]
invokevirtual java.security.CodeSigner[].clone:()Ljava/lang/Object;
checkcast java.security.CodeSigner[]
putfield java.security.CodeSource.signers:[Ljava/security/CodeSigner;
39: goto 41
StackMap locals:
StackMap stack: java.io.IOException
40: pop
41: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
ifnull 43
42: aload 0
aload 0
getfield java.security.CodeSource.location:Ljava/net/URL;
invokestatic sun.net.util.URLUtil.urlNoFragString:(Ljava/net/URL;)Ljava/lang/String;
putfield java.security.CodeSource.locationNoFragString:Ljava/lang/String;
43: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Ljava/security/CodeSource;
0 44 1 ois Ljava/io/ObjectInputStream;
17 18 2 cf Ljava/security/cert/CertificateFactory;
19 20 2 cf Ljava/security/cert/CertificateFactory;
24 33 2 cf Ljava/security/cert/CertificateFactory;
1 44 3 cfs Ljava/util/Hashtable<Ljava/lang/String;Ljava/security/cert/CertificateFactory;>;
2 44 4 certList Ljava/util/List<Ljava/security/cert/Certificate;>;
4 44 5 size I
13 34 6 i I
15 32 7 certType Ljava/lang/String;
26 32 8 encoded [B
27 32 9 bais Ljava/io/ByteArrayInputStream;
30 31 10 ce Ljava/security/cert/CertificateException;
Exception table:
from to target type
18 19 20 Class java.security.cert.CertificateException
27 28 29 Class java.security.cert.CertificateException
38 39 40 Class java.io.IOException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
ois
private java.security.CodeSigner[] convertCertArrayToSignerArray(java.security.cert.Certificate[]);
descriptor: ([Ljava/security/cert/Certificate;)[Ljava/security/CodeSigner;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.security.CodeSource.factory:Ljava/security/cert/CertificateFactory;
ifnonnull 4
3: aload 0
ldc "X.509"
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
putfield java.security.CodeSource.factory:Ljava/security/cert/CertificateFactory;
4: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 6: goto 20
7: StackMap locals: int java.util.List
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
8: astore 4
start local 4 9: aload 4
aload 1
iload 2
iinc 2 1
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: iload 2
istore 5
start local 5 11: goto 14
12: StackMap locals: java.util.List int
StackMap stack:
aload 4
aload 1
iload 5
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: iinc 5 1
14: StackMap locals:
StackMap stack:
iload 5
aload 1
arraylength
if_icmpge 17
15: aload 1
iload 5
aaload
instanceof java.security.cert.X509Certificate
ifeq 17
16: aload 1
iload 5
aaload
checkcast java.security.cert.X509Certificate
invokevirtual java.security.cert.X509Certificate.getBasicConstraints:()I
iconst_m1
if_icmpne 12
17: StackMap locals:
StackMap stack:
iload 5
istore 2
18: aload 0
getfield java.security.CodeSource.factory:Ljava/security/cert/CertificateFactory;
aload 4
invokevirtual java.security.cert.CertificateFactory.generateCertPath:(Ljava/util/List;)Ljava/security/cert/CertPath;
astore 6
start local 6 19: aload 3
new java.security.CodeSigner
dup
aload 6
aconst_null
invokespecial java.security.CodeSigner.<init>:(Ljava/security/cert/CertPath;Ljava/security/Timestamp;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 end local 4 20: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmplt 7
21: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 23
22: aconst_null
areturn
23: StackMap locals:
StackMap stack:
aload 3
aload 3
invokeinterface java.util.List.size:()I
anewarray java.security.CodeSigner
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.CodeSigner[]
24: areturn
end local 3 end local 2 25: StackMap locals: java.security.CodeSource java.security.cert.Certificate[]
StackMap stack: java.security.cert.CertificateException
pop
26: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljava/security/CodeSource;
0 27 1 certs [Ljava/security/cert/Certificate;
5 25 2 i I
6 25 3 signers Ljava/util/List<Ljava/security/CodeSigner;>;
9 20 4 certChain Ljava/util/List<Ljava/security/cert/Certificate;>;
11 20 5 j I
19 20 6 certPath Ljava/security/cert/CertPath;
Exception table:
from to target type
2 22 25 Class java.security.cert.CertificateException
23 24 25 Class java.security.cert.CertificateException
MethodParameters:
Name Flags
certs
}
SourceFile: "CodeSource.java"