class sun.security.util.AnchorCertificates$1 implements java.security.PrivilegedAction<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.util.AnchorCertificates$1
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/AnchorCertificates$1;
public java.lang.Void run();
descriptor: ()Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: new java.io.File
dup
ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
1: ldc "lib/security/cacerts"
2: invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 1
start local 1 3: ldc "JKS"
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
astore 2
start local 2 4: aconst_null
astore 3
aconst_null
astore 4
5: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 5
start local 5 6: aload 2
aload 5
aconst_null
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
7: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic sun.security.util.AnchorCertificates.certs:Ljava/util/Set;
8: aload 2
invokevirtual java.security.KeyStore.aliases:()Ljava/util/Enumeration;
astore 6
start local 6 9: goto 16
10: StackMap locals: sun.security.util.AnchorCertificates$1 java.io.File java.security.KeyStore java.lang.Throwable java.lang.Throwable java.io.FileInputStream java.util.Enumeration
StackMap stack:
aload 6
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 11: aload 7
ldc " [jdk"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 16
12: aload 2
13: aload 7
invokevirtual java.security.KeyStore.getCertificate:(Ljava/lang/String;)Ljava/security/cert/Certificate;
14: checkcast java.security.cert.X509Certificate
astore 8
start local 8 15: getstatic sun.security.util.AnchorCertificates.certs:Ljava/util/Set;
ldc "SHA-256"
aload 8
invokestatic sun.security.x509.X509CertImpl.getFingerprint:(Ljava/lang/String;Ljava/security/cert/X509Certificate;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 16: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 10
end local 6 17: aload 5
ifnull 27
aload 5
invokevirtual java.io.FileInputStream.close:()V
goto 27
StackMap locals: sun.security.util.AnchorCertificates$1 java.io.File java.security.KeyStore java.lang.Throwable java.lang.Throwable java.io.FileInputStream
StackMap stack: java.lang.Throwable
18: astore 3
aload 5
ifnull 19
aload 5
invokevirtual java.io.FileInputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
19: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 4
aload 3
ifnonnull 21
aload 4
astore 3
goto 22
StackMap locals:
StackMap stack:
21: aload 3
aload 4
if_acmpeq 22
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 3
athrow
end local 2 23: StackMap locals: sun.security.util.AnchorCertificates$1 java.io.File
StackMap stack: java.lang.Exception
astore 3
start local 3 24: getstatic sun.security.util.AnchorCertificates.debug:Lsun/security/util/Debug;
ifnull 27
25: getstatic sun.security.util.AnchorCertificates.debug:Lsun/security/util/Debug;
ldc "Error parsing cacerts"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
26: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
end local 3 27: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/util/AnchorCertificates$1;
3 28 1 f Ljava/io/File;
4 23 2 cacerts Ljava/security/KeyStore;
6 19 5 fis Ljava/io/FileInputStream;
9 17 6 list Ljava/util/Enumeration<Ljava/lang/String;>;
11 16 7 alias Ljava/lang/String;
15 16 8 cert Ljava/security/cert/X509Certificate;
24 27 3 e Ljava/lang/Exception;
Exception table:
from to target type
6 17 18 any
5 20 20 any
3 23 23 Class java.lang.Exception
public java.lang.Object run();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.security.util.AnchorCertificates$1.run:()Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/security/PrivilegedAction<Ljava/lang/Void;>;
SourceFile: "AnchorCertificates.java"
EnclosingMethod: sun.security.util.AnchorCertificates
NestHost: sun.security.util.AnchorCertificates
InnerClasses:
sun.security.util.AnchorCertificates$1