public class jdk.nio.zipfs.ZipInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nio.zipfs.ZipInfo
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Ljdk/nio/zipfs/ZipInfo;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=9, args_size=1
start local 0 0: aload 0
arraylength
iconst_1
if_icmpge 3
1: ldc "Usage: java ZipInfo zfname"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
2: goto 28
3: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
astore 1
start local 1 4: new jdk.nio.zipfs.ZipFileSystemProvider
dup
invokespecial jdk.nio.zipfs.ZipFileSystemProvider.<init>:()V
5: aload 0
iconst_0
aaload
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
aload 1
invokevirtual jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem:(Ljava/nio/file/Path;Ljava/util/Map;)Ljava/nio/file/FileSystem;
6: checkcast jdk.nio.zipfs.ZipFileSystem
astore 2
start local 2 7: aload 2
getfield jdk.nio.zipfs.ZipFileSystem.cen:[B
astore 3
start local 3 8: aload 3
ifnonnull 11
9: ldc "zip file is empty%n"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
10: return
11: StackMap locals: java.util.Map jdk.nio.zipfs.ZipFileSystem byte[]
StackMap stack:
iconst_0
istore 4
start local 4 12: sipush 1024
newarray 8
astore 5
start local 5 13: iconst_1
istore 6
start local 6 14: goto 26
15: StackMap locals: int byte[] int
StackMap stack:
ldc "----------------#%d--------------------%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 6
iinc 6 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
16: aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipInfo.printCEN:([BI)V
17: bipush 30
aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipConstants.CENNAM:([BI)I
iadd
aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipConstants.CENEXT:([BI)I
iadd
bipush 46
iadd
i2l
lstore 7
start local 7 18: aload 2
aload 5
iconst_0
lload 7
aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipInfo.locoff:([BI)J
invokevirtual jdk.nio.zipfs.ZipFileSystem.readFullyAt:([BIJJ)J
lload 7
lcmp
ifeq 20
19: new java.util.zip.ZipException
dup
ldc "read loc header failed"
invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: long
StackMap stack:
aload 5
invokestatic jdk.nio.zipfs.ZipConstants.LOCEXT:([B)I
aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipConstants.CENEXT:([BI)I
bipush 46
iadd
if_icmple 24
21: bipush 30
aload 5
invokestatic jdk.nio.zipfs.ZipConstants.LOCNAM:([B)I
iadd
aload 5
invokestatic jdk.nio.zipfs.ZipConstants.LOCEXT:([B)I
iadd
i2l
lstore 7
22: aload 2
aload 5
iconst_0
lload 7
aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipInfo.locoff:([BI)J
invokevirtual jdk.nio.zipfs.ZipFileSystem.readFullyAt:([BIJJ)J
lload 7
lcmp
ifeq 24
23: new java.util.zip.ZipException
dup
ldc "read loc header failed"
invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 5
invokestatic jdk.nio.zipfs.ZipInfo.printLOC:([B)V
25: iload 4
bipush 46
aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipConstants.CENNAM:([BI)I
iadd
aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipConstants.CENEXT:([BI)I
iadd
aload 3
iload 4
invokestatic jdk.nio.zipfs.ZipConstants.CENCOM:([BI)I
iadd
iadd
istore 4
end local 7 26: StackMap locals:
StackMap stack:
iload 4
bipush 46
iadd
aload 3
arraylength
if_icmplt 15
27: aload 2
invokevirtual jdk.nio.zipfs.ZipFileSystem.close:()V
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 28: StackMap locals: java.lang.String[]
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 args [Ljava/lang/String;
4 28 1 env Ljava/util/Map<Ljava/lang/String;*>;
7 28 2 zfs Ljdk/nio/zipfs/ZipFileSystem;
8 28 3 cen [B
12 28 4 pos I
13 28 5 buf [B
14 28 6 no I
18 26 7 len J
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
args
private static void print(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
aload 1
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fmt Ljava/lang/String;
0 2 1 objs [Ljava/lang/Object;
MethodParameters:
Name Flags
fmt
objs
private static void printLOC(byte[]);
descriptor: ([B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: ldc "%n"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
1: ldc "[Local File Header]%n"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
2: ldc " Signature : %#010x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCSIG:([B)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
3: aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCSIG:([B)J
getstatic jdk.nio.zipfs.ZipConstants.LOCSIG:J
lcmp
ifeq 6
4: ldc " Wrong signature!"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
5: return
6: StackMap locals:
StackMap stack:
ldc " Version : %#6x [%d.%d]%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
7: aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCVER:([B)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCVER:([B)I
bipush 10
idiv
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCVER:([B)I
bipush 10
irem
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
8: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
9: ldc " Flag : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCFLG:([B)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
10: ldc " Method : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCHOW:([B)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
11: ldc " LastMTime : %#10x [%tc]%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
12: aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCTIM:([B)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCTIM:([B)J
invokestatic jdk.nio.zipfs.ZipUtils.dosToJavaTime:(J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
13: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
14: ldc " CRC : %#10x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCCRC:([B)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
15: ldc " CSize : %#10x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCSIZ:([B)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
16: ldc " Size : %#10x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCLEN:([B)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
17: ldc " NameLength : %#6x [%s]%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
18: aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCNAM:([B)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
new java.lang.String
dup
aload 0
bipush 30
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCNAM:([B)I
invokespecial java.lang.String.<init>:([BII)V
aastore
19: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
20: ldc " ExtraLength : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCEXT:([B)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
21: aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCEXT:([B)I
ifeq 23
22: aload 0
bipush 30
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCNAM:([B)I
iadd
aload 0
invokestatic jdk.nio.zipfs.ZipConstants.LOCEXT:([B)I
invokestatic jdk.nio.zipfs.ZipInfo.printExtra:([BII)V
23: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 loc [B
MethodParameters:
Name Flags
loc
private static void printCEN(byte[], int);
descriptor: ([BI)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=2, args_size=2
start local 0 start local 1 0: ldc "[Central Directory Header]%n"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
1: ldc " Signature : %#010x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENSIG:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
2: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENSIG:([BI)J
getstatic jdk.nio.zipfs.ZipConstants.CENSIG:J
lcmp
ifeq 5
3: ldc " Wrong signature!"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
4: return
5: StackMap locals:
StackMap stack:
ldc " VerMadeby : %#6x [%d, %d.%d]%n"
iconst_4
anewarray java.lang.Object
dup
iconst_0
6: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENVEM:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENVEM:([BI)I
bipush 8
ishr
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
7: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENVEM:([BI)I
sipush 255
iand
bipush 10
idiv
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
8: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENVEM:([BI)I
sipush 255
iand
bipush 10
irem
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
9: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
10: ldc " VerExtract : %#6x [%d.%d]%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
11: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENVER:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENVER:([BI)I
bipush 10
idiv
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENVER:([BI)I
bipush 10
irem
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
12: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
13: ldc " Flag : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENFLG:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
14: ldc " Method : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENHOW:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
15: ldc " LastMTime : %#10x [%tc]%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
16: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENTIM:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENTIM:([BI)J
invokestatic jdk.nio.zipfs.ZipUtils.dosToJavaTime:(J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
17: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
18: ldc " CRC : %#10x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENCRC:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
19: ldc " CSize : %#10x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENSIZ:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
20: ldc " Size : %#10x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENLEN:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
21: ldc " NameLen : %#6x [%s]%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
22: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENNAM:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
new java.lang.String
dup
aload 0
iload 1
bipush 46
iadd
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENNAM:([BI)I
invokespecial java.lang.String.<init>:([BII)V
aastore
23: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
24: ldc " ExtraLen : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENEXT:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
25: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENEXT:([BI)I
ifeq 27
26: aload 0
iload 1
bipush 46
iadd
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENNAM:([BI)I
iadd
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENEXT:([BI)I
invokestatic jdk.nio.zipfs.ZipInfo.printExtra:([BII)V
27: StackMap locals:
StackMap stack:
ldc " CommentLen : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENCOM:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
28: ldc " DiskStart : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENDSK:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
29: ldc " Attrs : %#6x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENATT:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
30: ldc " AttrsEx : %#10x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENATX:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
31: ldc " LocOff : %#10x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENOFF:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
32: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 cen [B
0 33 1 off I
MethodParameters:
Name Flags
cen
off
private static long locoff(byte[], int);
descriptor: ([BI)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENOFF:([BI)J
lstore 2
start local 2 1: lload 2
ldc 4294967295
lcmp
ifne 17
2: iload 1
bipush 46
iadd
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENNAM:([BI)I
iadd
istore 4
start local 4 3: iload 4
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENEXT:([BI)I
iadd
istore 5
start local 5 4: goto 16
5: StackMap locals: long int int
StackMap stack:
aload 0
iload 4
invokestatic jdk.nio.zipfs.ZipConstants.SH:([BI)I
istore 6
start local 6 6: aload 0
iload 4
iconst_2
iadd
invokestatic jdk.nio.zipfs.ZipConstants.SH:([BI)I
istore 7
start local 7 7: iload 6
iconst_1
if_icmpeq 10
8: iload 4
iconst_4
iload 7
iadd
iadd
istore 4
9: goto 16
10: StackMap locals: int int
StackMap stack:
iinc 4 4
11: aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENLEN:([BI)J
ldc 4294967295
lcmp
ifne 13
12: iinc 4 8
13: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.CENSIZ:([BI)J
ldc 4294967295
lcmp
ifne 15
14: iinc 4 8
15: StackMap locals:
StackMap stack:
aload 0
iload 4
invokestatic jdk.nio.zipfs.ZipConstants.LL:([BI)J
lreturn
end local 7 end local 6 16: StackMap locals:
StackMap stack:
iload 4
iconst_4
iadd
iload 5
if_icmplt 5
end local 5 end local 4 17: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 cen [B
0 18 1 pos I
1 18 2 locoff J
3 17 4 off I
4 17 5 end I
6 16 6 tag I
7 16 7 sz I
MethodParameters:
Name Flags
cen
pos
private static void (byte[], int, int);
descriptor: ([BII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
iadd
istore 3
start local 3 1: goto 48
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokestatic jdk.nio.zipfs.ZipConstants.SH:([BI)I
istore 4
start local 4 3: aload 0
iload 1
iconst_2
iadd
invokestatic jdk.nio.zipfs.ZipConstants.SH:([BI)I
istore 5
start local 5 4: ldc " [tag=0x%04x, sz=%d, data= "
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
5: iload 1
iload 5
iadd
iload 3
if_icmple 8
6: ldc " Error: Invalid extra data, beyond extra length"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
7: goto 49
8: StackMap locals: int int
StackMap stack:
iinc 1 4
9: iconst_0
istore 6
start local 6 10: goto 13
11: StackMap locals: int
StackMap stack:
ldc "%02x "
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
iload 6
iadd
baload
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
12: iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 5
if_icmplt 11
end local 6 14: ldc "]%n"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
15: iload 4
lookupswitch { // 3
1: 16
10: 24
21589: 37
default: 46
}
16: StackMap locals:
StackMap stack:
ldc " ->ZIP64: "
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
17: iload 1
istore 6
start local 6 18: goto 21
19: StackMap locals: int
StackMap stack:
ldc " *0x%x "
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 6
invokestatic jdk.nio.zipfs.ZipConstants.LL:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
20: iinc 6 8
21: StackMap locals:
StackMap stack:
iload 6
bipush 8
iadd
iload 1
iload 5
iadd
if_icmple 19
22: ldc "%n"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
23: goto 47
end local 6 24: StackMap locals:
StackMap stack:
ldc " ->PKWare NTFS%n"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
25: aload 0
iload 1
iconst_4
iadd
invokestatic jdk.nio.zipfs.ZipConstants.SH:([BI)I
iconst_1
if_icmpne 26
aload 0
iload 1
bipush 6
iadd
invokestatic jdk.nio.zipfs.ZipConstants.SH:([BI)I
bipush 24
if_icmpeq 27
26: StackMap locals:
StackMap stack:
ldc " Error: Invalid NTFS sub-tag or subsz"
iconst_0
anewarray java.lang.Object
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
27: StackMap locals:
StackMap stack:
ldc " mtime:%tc%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
28: aload 0
iload 1
bipush 8
iadd
invokestatic jdk.nio.zipfs.ZipConstants.LL:([BI)J
invokestatic jdk.nio.zipfs.ZipUtils.winToJavaTime:(J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
29: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
30: ldc " atime:%tc%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
31: aload 0
iload 1
bipush 16
iadd
invokestatic jdk.nio.zipfs.ZipConstants.LL:([BI)J
invokestatic jdk.nio.zipfs.ZipUtils.winToJavaTime:(J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
32: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
33: ldc " ctime:%tc%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
34: aload 0
iload 1
bipush 24
iadd
invokestatic jdk.nio.zipfs.ZipConstants.LL:([BI)J
invokestatic jdk.nio.zipfs.ZipUtils.winToJavaTime:(J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
35: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
36: goto 47
37: StackMap locals:
StackMap stack:
ldc " ->Info-ZIP Extended Timestamp: flag=%x%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 1
baload
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
38: iload 1
iconst_1
iadd
istore 6
start local 6 39: goto 44
40: StackMap locals: int
StackMap stack:
ldc " *%tc%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
41: aload 0
iload 6
invokestatic jdk.nio.zipfs.ZipConstants.LG:([BI)J
invokestatic jdk.nio.zipfs.ZipUtils.unixToJavaTime:(J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
42: invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
43: iinc 6 4
44: StackMap locals:
StackMap stack:
iload 6
iconst_4
iadd
iload 1
iload 5
iadd
if_icmple 40
45: goto 47
end local 6 46: StackMap locals:
StackMap stack:
ldc " ->[tag=%x, size=%d]%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.nio.zipfs.ZipInfo.print:(Ljava/lang/String;[Ljava/lang/Object;)V
47: StackMap locals:
StackMap stack:
iload 1
iload 5
iadd
istore 1
end local 5 end local 4 48: StackMap locals:
StackMap stack:
iload 1
iconst_4
iadd
iload 3
if_icmple 2
49: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 extra [B
0 50 1 off I
0 50 2 len I
1 50 3 end I
3 48 4 tag I
4 48 5 sz I
10 14 6 i I
18 24 6 pos I
39 46 6 pos I
MethodParameters:
Name Flags
extra
off
len
}
SourceFile: "ZipInfo.java"