public class sun.security.util.ManifestDigester
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.util.ManifestDigester
super_class: java.lang.Object
{
public static final java.lang.String MF_MAIN_ATTRS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Manifest-Main-Attributes"
private final byte[] rawBytes;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.security.util.ManifestDigester$Entry mainAttsEntry;
descriptor: Lsun/security/util/ManifestDigester$Entry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.HashMap<java.lang.String, sun.security.util.ManifestDigester$Entry> entries;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Lsun/security/util/ManifestDigester$Entry;>;
private boolean findSection(int, sun.security.util.ManifestDigester$Position);
descriptor: (ILsun/security/util/ManifestDigester$Position;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
arraylength
istore 4
start local 4 2: iload 1
iconst_1
isub
istore 5
start local 5 3: iconst_1
istore 6
start local 6 4: aload 2
ldc -2147483648
putfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
5: goto 25
6: StackMap locals: sun.security.util.ManifestDigester int sun.security.util.ManifestDigester$Position int int int int
StackMap stack:
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
iload 3
baload
istore 7
start local 7 7: iload 7
tableswitch { // 10 - 13
10: 12
11: 23
12: 23
13: 8
default: 23
}
8: StackMap locals: int
StackMap stack:
aload 2
getfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
ldc -2147483648
if_icmpne 10
9: aload 2
iload 3
iconst_1
isub
putfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
10: StackMap locals:
StackMap stack:
iload 3
iload 4
iconst_1
isub
if_icmpge 12
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
iload 3
iconst_1
iadd
baload
bipush 10
if_icmpne 12
11: iinc 3 1
12: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
ldc -2147483648
if_icmpne 14
13: aload 2
iload 3
iconst_1
isub
putfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
14: StackMap locals:
StackMap stack:
iload 6
ifne 15
iload 3
iload 4
iconst_1
isub
if_icmpne 20
15: StackMap locals:
StackMap stack:
aload 2
iload 6
ifeq 16
iload 5
goto 17
StackMap locals:
StackMap stack: sun.security.util.ManifestDigester$Position
16: iload 3
StackMap locals: sun.security.util.ManifestDigester int sun.security.util.ManifestDigester$Position int int int int int
StackMap stack: sun.security.util.ManifestDigester$Position int
17: putfield sun.security.util.ManifestDigester$Position.endOfSection:I
18: aload 2
iload 3
iconst_1
iadd
putfield sun.security.util.ManifestDigester$Position.startOfNext:I
19: iconst_1
ireturn
20: StackMap locals:
StackMap stack:
iload 3
istore 5
21: iconst_1
istore 6
22: goto 24
23: StackMap locals:
StackMap stack:
iconst_0
istore 6
24: StackMap locals:
StackMap stack:
iinc 3 1
end local 7 25: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmplt 6
26: 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 27 0 this Lsun/security/util/ManifestDigester;
0 27 1 offset I
0 27 2 pos Lsun/security/util/ManifestDigester$Position;
1 27 3 i I
2 27 4 len I
3 27 5 last I
4 27 6 allBlank Z
7 25 7 b B
MethodParameters:
Name Flags
offset
pos
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
2: aload 0
aload 1
putfield sun.security.util.ManifestDigester.rawBytes:[B
3: new sun.security.util.ManifestDigester$Position
dup
invokespecial sun.security.util.ManifestDigester$Position.<init>:()V
astore 2
start local 2 4: aload 0
iconst_0
aload 2
invokevirtual sun.security.util.ManifestDigester.findSection:(ILsun/security/util/ManifestDigester$Position;)Z
ifne 7
5: aload 0
aconst_null
putfield sun.security.util.ManifestDigester.mainAttsEntry:Lsun/security/util/ManifestDigester$Entry;
6: return
7: StackMap locals: sun.security.util.ManifestDigester byte[] sun.security.util.ManifestDigester$Position
StackMap stack:
aload 0
new sun.security.util.ManifestDigester$Entry
dup
invokespecial sun.security.util.ManifestDigester$Entry.<init>:()V
new sun.security.util.ManifestDigester$Section
dup
8: iconst_0
aload 2
getfield sun.security.util.ManifestDigester$Position.endOfSection:I
iconst_1
iadd
aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
invokespecial sun.security.util.ManifestDigester$Section.<init>:(III[B)V
9: invokevirtual sun.security.util.ManifestDigester$Entry.addSection:(Lsun/security/util/ManifestDigester$Section;)Lsun/security/util/ManifestDigester$Entry;
putfield sun.security.util.ManifestDigester.mainAttsEntry:Lsun/security/util/ManifestDigester$Entry;
10: aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
istore 3
start local 3 11: goto 51
12: StackMap locals: int
StackMap stack:
aload 2
getfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
iload 3
isub
iconst_1
iadd
istore 4
start local 4 13: aload 2
getfield sun.security.util.ManifestDigester$Position.endOfSection:I
iload 3
isub
iconst_1
iadd
istore 5
start local 5 14: aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
iload 3
isub
istore 6
start local 6 15: iload 4
bipush 6
if_icmplt 50
16: aload 0
aload 1
iload 3
invokevirtual sun.security.util.ManifestDigester.isNameAttr:([BI)Z
ifeq 50
17: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 7
start local 7 18: aload 7
aload 1
iload 3
bipush 6
iadd
iload 4
bipush 6
isub
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
19: iload 3
iload 4
iadd
istore 8
start local 8 20: iload 8
iload 3
isub
iload 5
if_icmpge 43
21: aload 1
iload 8
baload
bipush 13
if_icmpne 26
22: iload 8
iconst_1
iadd
iload 3
isub
iload 5
if_icmpge 26
23: aload 1
iload 8
iconst_1
iadd
baload
bipush 10
if_icmpne 26
24: iinc 8 2
25: goto 43
26: StackMap locals: sun.security.util.ManifestDigester byte[] sun.security.util.ManifestDigester$Position int int int int java.io.ByteArrayOutputStream int
StackMap stack:
iinc 8 1
27: goto 43
28: StackMap locals:
StackMap stack:
aload 1
iload 8
iinc 8 1
baload
bipush 32
if_icmpne 44
29: iload 8
istore 9
start local 9 30: goto 32
31: StackMap locals: int
StackMap stack:
iinc 8 1
32: StackMap locals:
StackMap stack:
iload 8
iload 3
isub
iload 5
if_icmpge 35
33: aload 1
iload 8
baload
bipush 13
if_icmpeq 35
34: aload 1
iload 8
baload
bipush 10
if_icmpne 31
35: StackMap locals:
StackMap stack:
iload 8
iload 9
isub
istore 10
start local 10 36: iload 8
iload 3
isub
iload 5
if_icmpge 42
37: iinc 8 1
38: aload 1
iload 8
iconst_1
isub
baload
bipush 13
if_icmpne 42
39: iload 8
iload 3
isub
iload 5
if_icmpge 42
40: aload 1
iload 8
baload
bipush 10
if_icmpne 42
41: iinc 8 1
42: StackMap locals: int
StackMap stack:
aload 7
aload 1
iload 9
iload 10
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
end local 10 end local 9 43: StackMap locals:
StackMap stack:
iload 8
iload 3
isub
iload 5
if_icmplt 28
44: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
aload 7
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.io.ByteArrayOutputStream.toString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
45: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
sun/security/util/ManifestDigester.lambda$0(Ljava/lang/String;)Lsun/security/util/ManifestDigester$Entry; (6)
(Ljava/lang/String;)Lsun/security/util/ManifestDigester$Entry;
46: invokevirtual java.util.HashMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast sun.security.util.ManifestDigester$Entry
47: new sun.security.util.ManifestDigester$Section
dup
iload 3
iload 5
48: iload 6
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
49: invokespecial sun.security.util.ManifestDigester$Section.<init>:(III[B)V
invokevirtual sun.security.util.ManifestDigester$Entry.addSection:(Lsun/security/util/ManifestDigester$Section;)Lsun/security/util/ManifestDigester$Entry;
pop
end local 8 end local 7 50: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
istore 3
end local 6 end local 5 end local 4 51: StackMap locals:
StackMap stack:
aload 0
iload 3
aload 2
invokevirtual sun.security.util.ManifestDigester.findSection:(ILsun/security/util/ManifestDigester$Position;)Z
ifne 12
52: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lsun/security/util/ManifestDigester;
0 53 1 bytes [B
4 53 2 pos Lsun/security/util/ManifestDigester$Position;
11 53 3 start I
13 51 4 len I
14 51 5 sectionLen I
15 51 6 sectionLenWithBlank I
18 50 7 nameBuf Ljava/io/ByteArrayOutputStream;
20 50 8 i I
30 43 9 wrapStart I
36 43 10 wrapLen I
MethodParameters:
Name Flags
bytes
private boolean isNameAttr(byte[], int);
descriptor: ([BI)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
baload
bipush 78
if_icmpeq 1
aload 1
iload 2
baload
bipush 110
if_icmpne 7
1: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_1
iadd
baload
bipush 97
if_icmpeq 2
aload 1
iload 2
iconst_1
iadd
baload
bipush 65
if_icmpne 7
2: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_2
iadd
baload
bipush 109
if_icmpeq 3
aload 1
iload 2
iconst_2
iadd
baload
bipush 77
if_icmpne 7
3: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_3
iadd
baload
bipush 101
if_icmpeq 4
aload 1
iload 2
iconst_3
iadd
baload
bipush 69
if_icmpne 7
4: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_4
iadd
baload
bipush 58
if_icmpne 7
5: aload 1
iload 2
iconst_5
iadd
baload
bipush 32
if_icmpne 7
6: iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/util/ManifestDigester;
0 8 1 bytes [B
0 8 2 start I
MethodParameters:
Name Flags
bytes
start
public sun.security.util.ManifestDigester$Entry getMainAttsEntry();
descriptor: ()Lsun/security/util/ManifestDigester$Entry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.util.ManifestDigester.mainAttsEntry:Lsun/security/util/ManifestDigester$Entry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/ManifestDigester;
public sun.security.util.ManifestDigester$Entry getMainAttsEntry(boolean);
descriptor: (Z)Lsun/security/util/ManifestDigester$Entry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.util.ManifestDigester.mainAttsEntry:Lsun/security/util/ManifestDigester$Entry;
iload 1
putfield sun.security.util.ManifestDigester$Entry.oldStyle:Z
1: aload 0
getfield sun.security.util.ManifestDigester.mainAttsEntry:Lsun/security/util/ManifestDigester$Entry;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/util/ManifestDigester;
0 2 1 oldStyle Z
MethodParameters:
Name Flags
oldStyle
public sun.security.util.ManifestDigester$Entry get(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/util/ManifestDigester$Entry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.util.ManifestDigester$Entry
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/ManifestDigester;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public sun.security.util.ManifestDigester$Entry get(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lsun/security/util/ManifestDigester$Entry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.security.util.ManifestDigester.get:(Ljava/lang/String;)Lsun/security/util/ManifestDigester$Entry;
astore 3
start local 3 1: aload 3
ifnonnull 3
ldc "Manifest-Main-Attributes"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
invokevirtual sun.security.util.ManifestDigester.getMainAttsEntry:()Lsun/security/util/ManifestDigester$Entry;
astore 3
3: StackMap locals: sun.security.util.ManifestDigester$Entry
StackMap stack:
aload 3
ifnull 5
4: aload 3
iload 2
putfield sun.security.util.ManifestDigester$Entry.oldStyle:Z
5: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/util/ManifestDigester;
0 6 1 name Ljava/lang/String;
0 6 2 oldStyle Z
1 6 3 e Lsun/security/util/ManifestDigester$Entry;
MethodParameters:
Name Flags
name
oldStyle
public byte[] manifestDigest(java.security.MessageDigest);
descriptor: (Ljava/security/MessageDigest;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.security.MessageDigest.reset:()V
1: aload 1
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
iconst_0
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
arraylength
invokevirtual java.security.MessageDigest.update:([BII)V
2: aload 1
invokevirtual java.security.MessageDigest.digest:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/util/ManifestDigester;
0 3 1 md Ljava/security/MessageDigest;
MethodParameters:
Name Flags
md
private static sun.security.util.ManifestDigester$Entry lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/util/ManifestDigester$Entry;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new sun.security.util.ManifestDigester$Entry
dup
invokespecial sun.security.util.ManifestDigester$Entry.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dummy Ljava/lang/String;
}
SourceFile: "ManifestDigester.java"
NestMembers:
sun.security.util.ManifestDigester$Entry sun.security.util.ManifestDigester$Position sun.security.util.ManifestDigester$Section
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Entry = sun.security.util.ManifestDigester$Entry of sun.security.util.ManifestDigester
Position = sun.security.util.ManifestDigester$Position of sun.security.util.ManifestDigester
private Section = sun.security.util.ManifestDigester$Section of sun.security.util.ManifestDigester