public class java.util.zip.ZipInputStream extends java.util.zip.InflaterInputStream implements java.util.zip.ZipConstants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.zip.ZipInputStream
super_class: java.util.zip.InflaterInputStream
{
private java.util.zip.ZipEntry entry;
descriptor: Ljava/util/zip/ZipEntry;
flags: (0x0002) ACC_PRIVATE
private int flag;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.zip.CRC32 crc;
descriptor: Ljava/util/zip/CRC32;
flags: (0x0002) ACC_PRIVATE
private long remaining;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private byte[] tmpbuf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private static final int STORED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int DEFLATED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean entryEOF;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.zip.ZipCoder zc;
descriptor: Ljava/util/zip/ZipCoder;
flags: (0x0002) ACC_PRIVATE
private byte[] b;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.zip.ZipInputStream.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Stream closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/zip/ZipInputStream;
Exceptions:
throws java.io.IOException
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic sun.nio.cs.UTF_8.INSTANCE:Lsun/nio/cs/UTF_8;
invokespecial java.util.zip.ZipInputStream.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/zip/ZipInputStream;
0 2 1 in Ljava/io/InputStream;
MethodParameters:
Name Flags
in
public void <init>(java.io.InputStream, java.nio.charset.Charset);
descriptor: (Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new java.io.PushbackInputStream
dup
aload 1
sipush 512
invokespecial java.io.PushbackInputStream.<init>:(Ljava/io/InputStream;I)V
new java.util.zip.Inflater
dup
iconst_1
invokespecial java.util.zip.Inflater.<init>:(Z)V
sipush 512
invokespecial java.util.zip.InflaterInputStream.<init>:(Ljava/io/InputStream;Ljava/util/zip/Inflater;I)V
1: aload 0
new java.util.zip.CRC32
dup
invokespecial java.util.zip.CRC32.<init>:()V
putfield java.util.zip.ZipInputStream.crc:Ljava/util/zip/CRC32;
2: aload 0
sipush 512
newarray 8
putfield java.util.zip.ZipInputStream.tmpbuf:[B
3: aload 0
iconst_0
putfield java.util.zip.ZipInputStream.closed:Z
4: aload 0
iconst_0
putfield java.util.zip.ZipInputStream.entryEOF:Z
5: aload 0
sipush 256
newarray 8
putfield java.util.zip.ZipInputStream.b:[B
6: aload 0
iconst_1
putfield java.util.zip.ZipInputStream.usesDefaultInflater:Z
7: aload 1
ifnonnull 9
8: new java.lang.NullPointerException
dup
ldc "in is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.util.zip.ZipInputStream java.io.InputStream java.nio.charset.Charset
StackMap stack:
aload 2
ifnonnull 11
10: new java.lang.NullPointerException
dup
ldc "charset is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic java.util.zip.ZipCoder.get:(Ljava/nio/charset/Charset;)Ljava/util/zip/ZipCoder;
putfield java.util.zip.ZipInputStream.zc:Ljava/util/zip/ZipCoder;
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/zip/ZipInputStream;
0 13 1 in Ljava/io/InputStream;
0 13 2 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
in
charset
public java.util.zip.ZipEntry getNextEntry();
descriptor: ()Ljava/util/zip/ZipEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.zip.ZipInputStream.ensureOpen:()V
1: aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
ifnull 3
2: aload 0
invokevirtual java.util.zip.ZipInputStream.closeEntry:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.reset:()V
4: aload 0
getfield java.util.zip.ZipInputStream.inf:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.reset:()V
5: aload 0
aload 0
invokevirtual java.util.zip.ZipInputStream.readLOC:()Ljava/util/zip/ZipEntry;
dup_x1
putfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
ifnonnull 7
6: aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
getfield java.util.zip.ZipEntry.method:I
ifne 9
8: aload 0
aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
getfield java.util.zip.ZipEntry.size:J
putfield java.util.zip.ZipInputStream.remaining:J
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield java.util.zip.ZipInputStream.entryEOF:Z
10: aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/zip/ZipInputStream;
Exceptions:
throws java.io.IOException
public void closeEntry();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.zip.ZipInputStream.ensureOpen:()V
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_0
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
arraylength
invokevirtual java.util.zip.ZipInputStream.read:([BII)I
iconst_m1
if_icmpne 1
2: aload 0
iconst_1
putfield java.util.zip.ZipInputStream.entryEOF:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/zip/ZipInputStream;
Exceptions:
throws java.io.IOException
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.zip.ZipInputStream.ensureOpen:()V
1: aload 0
getfield java.util.zip.ZipInputStream.entryEOF:Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/zip/ZipInputStream;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.util.zip.ZipInputStream.ensureOpen:()V
1: iload 2
iflt 2
iload 3
iflt 2
iload 2
aload 1
arraylength
iload 3
isub
if_icmple 3
2: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 3
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
ifnonnull 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
getfield java.util.zip.ZipEntry.method:I
lookupswitch { // 2
0: 16
8: 8
default: 34
}
8: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokespecial java.util.zip.InflaterInputStream.read:([BII)I
istore 3
9: iload 3
iconst_m1
if_icmpne 14
10: aload 0
aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
invokevirtual java.util.zip.ZipInputStream.readEnd:(Ljava/util/zip/ZipEntry;)V
11: aload 0
iconst_1
putfield java.util.zip.ZipInputStream.entryEOF:Z
12: aload 0
aconst_null
putfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.crc:Ljava/util/zip/CRC32;
aload 1
iload 2
iload 3
invokevirtual java.util.zip.CRC32.update:([BII)V
15: StackMap locals:
StackMap stack:
iload 3
ireturn
16: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.remaining:J
lconst_0
lcmp
ifgt 20
17: aload 0
iconst_1
putfield java.util.zip.ZipInputStream.entryEOF:Z
18: aload 0
aconst_null
putfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
19: iconst_m1
ireturn
20: StackMap locals:
StackMap stack:
iload 3
i2l
aload 0
getfield java.util.zip.ZipInputStream.remaining:J
lcmp
ifle 22
21: aload 0
getfield java.util.zip.ZipInputStream.remaining:J
l2i
istore 3
22: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 3
23: iload 3
iconst_m1
if_icmpne 25
24: new java.util.zip.ZipException
dup
ldc "unexpected EOF"
invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.crc:Ljava/util/zip/CRC32;
aload 1
iload 2
iload 3
invokevirtual java.util.zip.CRC32.update:([BII)V
26: aload 0
dup
getfield java.util.zip.ZipInputStream.remaining:J
iload 3
i2l
lsub
putfield java.util.zip.ZipInputStream.remaining:J
27: aload 0
getfield java.util.zip.ZipInputStream.remaining:J
lconst_0
lcmp
ifne 33
aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
getfield java.util.zip.ZipEntry.crc:J
aload 0
getfield java.util.zip.ZipInputStream.crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.getValue:()J
lcmp
ifeq 33
28: new java.util.zip.ZipException
dup
29: new java.lang.StringBuilder
dup
ldc "invalid entry CRC (expected 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.util.zip.ZipInputStream.entry:Ljava/util/zip/ZipEntry;
getfield java.util.zip.ZipEntry.crc:J
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: ldc " but got 0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.util.zip.ZipInputStream.crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.getValue:()J
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals:
StackMap stack:
iload 3
ireturn
34: StackMap locals:
StackMap stack:
new java.util.zip.ZipException
dup
ldc "invalid compression method"
invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljava/util/zip/ZipInputStream;
0 35 1 b [B
0 35 2 off I
0 35 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "negative skip length"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.zip.ZipInputStream.ensureOpen:()V
3: lload 1
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 14
6: StackMap locals: int int
StackMap stack:
iload 3
iload 4
isub
istore 5
start local 5 7: iload 5
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
arraylength
if_icmple 9
8: aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
arraylength
istore 5
9: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_0
iload 5
invokevirtual java.util.zip.ZipInputStream.read:([BII)I
istore 5
10: iload 5
iconst_m1
if_icmpne 13
11: aload 0
iconst_1
putfield java.util.zip.ZipInputStream.entryEOF:Z
12: goto 15
13: StackMap locals:
StackMap stack:
iload 4
iload 5
iadd
istore 4
end local 5 14: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 6
15: StackMap locals:
StackMap stack:
iload 4
i2l
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/util/zip/ZipInputStream;
0 16 1 n J
4 16 3 max I
5 16 4 total I
7 14 5 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.zip.ZipInputStream.closed:Z
ifne 3
1: aload 0
invokespecial java.util.zip.InflaterInputStream.close:()V
2: aload 0
iconst_1
putfield java.util.zip.ZipInputStream.closed:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/zip/ZipInputStream;
Exceptions:
throws java.io.IOException
private java.util.zip.ZipEntry readLOC();
descriptor: ()Ljava/util/zip/ZipEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_0
bipush 30
invokevirtual java.util.zip.ZipInputStream.readFully:([BII)V
1: goto 4
StackMap locals:
StackMap stack: java.io.EOFException
2: pop
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_0
invokestatic java.util.zip.ZipUtils.get32:([BI)J
ldc 67324752
lcmp
ifeq 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 6
invokestatic java.util.zip.ZipUtils.get16:([BI)I
putfield java.util.zip.ZipInputStream.flag:I
7: aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 26
invokestatic java.util.zip.ZipUtils.get16:([BI)I
istore 1
start local 1 8: aload 0
getfield java.util.zip.ZipInputStream.b:[B
arraylength
istore 2
start local 2 9: iload 1
iload 2
if_icmple 14
10: StackMap locals: int int
StackMap stack:
iload 2
iconst_2
imul
istore 2
11: iload 1
iload 2
12: if_icmpgt 10
13: aload 0
iload 2
newarray 8
putfield java.util.zip.ZipInputStream.b:[B
14: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.util.zip.ZipInputStream.b:[B
iconst_0
iload 1
invokevirtual java.util.zip.ZipInputStream.readFully:([BII)V
15: aload 0
aload 0
getfield java.util.zip.ZipInputStream.flag:I
sipush 2048
iand
ifeq 17
16: aload 0
getfield java.util.zip.ZipInputStream.b:[B
iload 1
invokestatic java.util.zip.ZipCoder.toStringUTF8:([BI)Ljava/lang/String;
goto 18
17: StackMap locals:
StackMap stack: java.util.zip.ZipInputStream
aload 0
getfield java.util.zip.ZipInputStream.zc:Ljava/util/zip/ZipCoder;
aload 0
getfield java.util.zip.ZipInputStream.b:[B
iload 1
invokevirtual java.util.zip.ZipCoder.toString:([BI)Ljava/lang/String;
18: StackMap locals: java.util.zip.ZipInputStream int int
StackMap stack: java.util.zip.ZipInputStream java.lang.String
invokevirtual java.util.zip.ZipInputStream.createZipEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
astore 3
start local 3 19: aload 0
getfield java.util.zip.ZipInputStream.flag:I
iconst_1
iand
iconst_1
if_icmpne 21
20: new java.util.zip.ZipException
dup
ldc "encrypted ZIP entry not supported"
invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 3
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 8
invokestatic java.util.zip.ZipUtils.get16:([BI)I
putfield java.util.zip.ZipEntry.method:I
22: aload 3
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 10
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.xdostime:J
23: aload 0
getfield java.util.zip.ZipInputStream.flag:I
bipush 8
iand
bipush 8
if_icmpne 28
24: aload 3
getfield java.util.zip.ZipEntry.method:I
bipush 8
if_icmpeq 31
25: new java.util.zip.ZipException
dup
26: ldc "only DEFLATED entries can have EXT descriptor"
27: invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 14
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.crc:J
29: aload 3
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 18
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.csize:J
30: aload 3
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 22
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.size:J
31: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 28
invokestatic java.util.zip.ZipUtils.get16:([BI)I
istore 1
32: iload 1
ifle 40
33: iload 1
newarray 8
astore 4
start local 4 34: aload 0
aload 4
iconst_0
iload 1
invokevirtual java.util.zip.ZipInputStream.readFully:([BII)V
35: aload 3
aload 4
36: aload 3
getfield java.util.zip.ZipEntry.csize:J
ldc 4294967295
lcmp
ifeq 37
aload 3
getfield java.util.zip.ZipEntry.size:J
ldc 4294967295
lcmp
ifeq 37
iconst_0
goto 38
StackMap locals: java.util.zip.ZipInputStream int int java.util.zip.ZipEntry byte[]
StackMap stack: java.util.zip.ZipEntry byte[]
37: iconst_1
StackMap locals: java.util.zip.ZipInputStream int int java.util.zip.ZipEntry byte[]
StackMap stack: java.util.zip.ZipEntry byte[] int
38: iconst_1
39: invokevirtual java.util.zip.ZipEntry.setExtra0:([BZZ)V
end local 4 40: 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 41 0 this Ljava/util/zip/ZipInputStream;
8 41 1 len I
9 41 2 blen I
19 41 3 e Ljava/util/zip/ZipEntry;
34 40 4 extra [B
Exception table:
from to target type
0 1 2 Class java.io.EOFException
Exceptions:
throws java.io.IOException
protected java.util.zip.ZipEntry createZipEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/zip/ZipEntry;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.util.zip.ZipEntry
dup
aload 1
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/zip/ZipInputStream;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private void readEnd(java.util.zip.ZipEntry);
descriptor: (Ljava/util/zip/ZipEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.zip.ZipInputStream.inf:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.getRemaining:()I
istore 2
start local 2 1: iload 2
ifle 3
2: aload 0
getfield java.util.zip.ZipInputStream.in:Ljava/io/InputStream;
checkcast java.io.PushbackInputStream
aload 0
getfield java.util.zip.ZipInputStream.buf:[B
aload 0
getfield java.util.zip.ZipInputStream.len:I
iload 2
isub
iload 2
invokevirtual java.io.PushbackInputStream.unread:([BII)V
3: StackMap locals: int
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.flag:I
bipush 8
iand
bipush 8
if_icmpne 33
4: aload 0
getfield java.util.zip.ZipInputStream.inf:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.getBytesWritten:()J
ldc 4294967295
lcmp
ifgt 6
5: aload 0
getfield java.util.zip.ZipInputStream.inf:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.getBytesRead:()J
ldc 4294967295
lcmp
ifle 20
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_0
bipush 24
invokevirtual java.util.zip.ZipInputStream.readFully:([BII)V
7: aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_0
invokestatic java.util.zip.ZipUtils.get32:([BI)J
lstore 3
start local 3 8: lload 3
ldc 134695760
lcmp
ifeq 16
9: aload 1
lload 3
putfield java.util.zip.ZipEntry.crc:J
10: aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_4
invokestatic java.util.zip.ZipUtils.get64:([BI)J
putfield java.util.zip.ZipEntry.csize:J
11: aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 12
invokestatic java.util.zip.ZipUtils.get64:([BI)J
putfield java.util.zip.ZipEntry.size:J
12: aload 0
getfield java.util.zip.ZipInputStream.in:Ljava/io/InputStream;
checkcast java.io.PushbackInputStream
13: aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 20
iconst_4
14: invokevirtual java.io.PushbackInputStream.unread:([BII)V
15: goto 33
16: StackMap locals: long
StackMap stack:
aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_4
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.crc:J
17: aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 8
invokestatic java.util.zip.ZipUtils.get64:([BI)J
putfield java.util.zip.ZipEntry.csize:J
18: aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 16
invokestatic java.util.zip.ZipUtils.get64:([BI)J
putfield java.util.zip.ZipEntry.size:J
end local 3 19: goto 33
20: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_0
bipush 16
invokevirtual java.util.zip.ZipInputStream.readFully:([BII)V
21: aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_0
invokestatic java.util.zip.ZipUtils.get32:([BI)J
lstore 3
start local 3 22: lload 3
ldc 134695760
lcmp
ifeq 30
23: aload 1
lload 3
putfield java.util.zip.ZipEntry.crc:J
24: aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_4
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.csize:J
25: aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 8
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.size:J
26: aload 0
getfield java.util.zip.ZipInputStream.in:Ljava/io/InputStream;
checkcast java.io.PushbackInputStream
27: aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 12
iconst_4
28: invokevirtual java.io.PushbackInputStream.unread:([BII)V
29: goto 33
30: StackMap locals: long
StackMap stack:
aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
iconst_4
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.crc:J
31: aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 8
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.csize:J
32: aload 1
aload 0
getfield java.util.zip.ZipInputStream.tmpbuf:[B
bipush 12
invokestatic java.util.zip.ZipUtils.get32:([BI)J
putfield java.util.zip.ZipEntry.size:J
end local 3 33: StackMap locals:
StackMap stack:
aload 1
getfield java.util.zip.ZipEntry.size:J
aload 0
getfield java.util.zip.ZipInputStream.inf:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.getBytesWritten:()J
lcmp
ifeq 39
34: new java.util.zip.ZipException
dup
35: new java.lang.StringBuilder
dup
ldc "invalid entry size (expected "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield java.util.zip.ZipEntry.size:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
36: ldc " but got "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.util.zip.ZipInputStream.inf:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.getBytesWritten:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
37: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
38: invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals:
StackMap stack:
aload 1
getfield java.util.zip.ZipEntry.csize:J
aload 0
getfield java.util.zip.ZipInputStream.inf:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.getBytesRead:()J
lcmp
ifeq 45
40: new java.util.zip.ZipException
dup
41: new java.lang.StringBuilder
dup
ldc "invalid entry compressed size (expected "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield java.util.zip.ZipEntry.csize:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
42: ldc " but got "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.util.zip.ZipInputStream.inf:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.getBytesRead:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
43: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
44: invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
45: StackMap locals:
StackMap stack:
aload 1
getfield java.util.zip.ZipEntry.crc:J
aload 0
getfield java.util.zip.ZipInputStream.crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.getValue:()J
lcmp
ifeq 51
46: new java.util.zip.ZipException
dup
47: new java.lang.StringBuilder
dup
ldc "invalid entry CRC (expected 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield java.util.zip.ZipEntry.crc:J
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
48: ldc " but got 0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.util.zip.ZipInputStream.crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.getValue:()J
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
49: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
50: invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
athrow
51: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Ljava/util/zip/ZipInputStream;
0 52 1 e Ljava/util/zip/ZipEntry;
1 52 2 n I
8 19 3 sig J
22 33 3 sig J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
e
private void readFully(byte[], int, int);
descriptor: ([BII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 6
1: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.ZipInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 2: iload 4
iconst_m1
if_icmpne 4
3: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
4: StackMap locals: int
StackMap stack:
iload 2
iload 4
iadd
istore 2
5: iload 3
iload 4
isub
istore 3
end local 4 6: StackMap locals:
StackMap stack:
iload 3
ifgt 1
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/zip/ZipInputStream;
0 8 1 b [B
0 8 2 off I
0 8 3 len I
2 6 4 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
}
SourceFile: "ZipInputStream.java"