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 byte[] rawBytes;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.util.HashMap<java.lang.String, sun.security.util.ManifestDigester$Entry> entries;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
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
istore 5
start local 5 3: iconst_1
istore 6
start local 6 4: aload 2
iconst_m1
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
iconst_m1
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
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
iconst_m1
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:
iload 3
iload 4
iconst_1
isub
if_icmpne 17
16: aload 2
iload 3
putfield sun.security.util.ManifestDigester$Position.endOfSection:I
goto 18
17: StackMap locals:
StackMap stack:
aload 2
iload 5
putfield sun.security.util.ManifestDigester$Position.endOfSection:I
18: StackMap locals:
StackMap stack:
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=9, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.util.ManifestDigester.rawBytes:[B
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
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 6
5: return
6: StackMap locals: sun.security.util.ManifestDigester byte[] sun.security.util.ManifestDigester$Position
StackMap stack:
aload 0
getfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
ldc "Manifest-Main-Attributes"
new sun.security.util.ManifestDigester$Entry
dup
invokespecial sun.security.util.ManifestDigester$Entry.<init>:()V
7: new sun.security.util.ManifestDigester$Section
dup
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
8: invokevirtual sun.security.util.ManifestDigester$Entry.addSection:(Lsun/security/util/ManifestDigester$Section;)Lsun/security/util/ManifestDigester$Entry;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
istore 3
start local 3 10: goto 44
11: 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 12: aload 2
getfield sun.security.util.ManifestDigester$Position.endOfSection:I
iload 3
isub
iconst_1
iadd
istore 5
start local 5 13: aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
iload 3
isub
istore 6
start local 6 14: iload 4
bipush 6
if_icmple 43
15: aload 0
aload 1
iload 3
invokevirtual sun.security.util.ManifestDigester.isNameAttr:([BI)Z
ifeq 43
16: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 7
start local 7 17: aload 7
aload 1
iload 3
bipush 6
iadd
iload 4
bipush 6
isub
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
18: iload 3
iload 4
iadd
istore 8
start local 8 19: iload 8
iload 3
isub
iload 5
if_icmpge 36
20: aload 1
iload 8
baload
bipush 13
if_icmpne 23
21: iinc 8 2
22: goto 36
23: 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
24: goto 36
25: StackMap locals:
StackMap stack:
aload 1
iload 8
iinc 8 1
baload
bipush 32
if_icmpne 37
26: iload 8
istore 9
start local 9 27: StackMap locals: int
StackMap stack:
iload 8
iload 3
isub
iload 5
if_icmpge 29
28: aload 1
iload 8
iinc 8 1
baload
bipush 10
if_icmpne 27
29: StackMap locals:
StackMap stack:
aload 1
iload 8
iconst_1
isub
baload
bipush 10
if_icmpeq 31
30: return
31: StackMap locals:
StackMap stack:
aload 1
iload 8
iconst_2
isub
baload
bipush 13
if_icmpne 34
32: iload 8
iload 9
isub
iconst_2
isub
istore 10
start local 10 33: goto 35
end local 10 34: StackMap locals:
StackMap stack:
iload 8
iload 9
isub
iconst_1
isub
istore 10
start local 10 35: 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 36: StackMap locals:
StackMap stack:
iload 8
iload 3
isub
iload 5
if_icmplt 25
37: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
new java.lang.String
dup
aload 7
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
38: 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;
39: invokevirtual java.util.HashMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast sun.security.util.ManifestDigester$Entry
40: new sun.security.util.ManifestDigester$Section
dup
iload 3
iload 5
41: iload 6
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
42: 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 43: 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 44: StackMap locals:
StackMap stack:
aload 0
iload 3
aload 2
invokevirtual sun.security.util.ManifestDigester.findSection:(ILsun/security/util/ManifestDigester$Position;)Z
ifne 11
45: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lsun/security/util/ManifestDigester;
0 46 1 bytes [B
4 46 2 pos Lsun/security/util/ManifestDigester$Position;
10 46 3 start I
12 44 4 len I
13 44 5 sectionLen I
14 44 6 sectionLenWithBlank I
17 43 7 nameBuf Ljava/io/ByteArrayOutputStream;
19 43 8 i I
27 36 9 wrapStart I
33 34 10 wrapLen I
35 36 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 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
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
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
iload 2
putfield sun.security.util.ManifestDigester$Entry.oldStyle:Z
3: StackMap locals: sun.security.util.ManifestDigester$Entry
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/util/ManifestDigester;
0 4 1 name Ljava/lang/String;
0 4 2 oldStyle Z
1 4 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