class jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream extends java.util.zip.DeflaterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream
super_class: java.util.zip.DeflaterOutputStream
{
private final java.util.zip.CRC32 crc;
descriptor: Ljava/util/zip/CRC32;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nio.zipfs.ZipFileSystem$Entry e;
descriptor: Ljdk/nio/zipfs/ZipFileSystem$Entry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean isClosed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final jdk.nio.zipfs.ZipFileSystem this$0;
descriptor: Ljdk/nio/zipfs/ZipFileSystem;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.nio.zipfs.ZipFileSystem, jdk.nio.zipfs.ZipFileSystem$Entry, java.io.OutputStream);
descriptor: (Ljdk/nio/zipfs/ZipFileSystem;Ljdk/nio/zipfs/ZipFileSystem$Entry;Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
1: aload 0
aload 3
aload 1
invokevirtual jdk.nio.zipfs.ZipFileSystem.getDeflater:()Ljava/util/zip/Deflater;
invokespecial java.util.zip.DeflaterOutputStream.<init>:(Ljava/io/OutputStream;Ljava/util/zip/Deflater;)V
2: aload 0
aload 2
ldc "Zip entry is null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast jdk.nio.zipfs.ZipFileSystem$Entry
putfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
3: aload 0
new java.util.zip.CRC32
dup
invokespecial java.util.zip.CRC32.<init>:()V
putfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.crc:Ljava/util/zip/CRC32;
4: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nio/zipfs/ZipFileSystem$DeflatingEntryOutputStream;
0 5 2 e Ljdk/nio/zipfs/ZipFileSystem$Entry;
0 5 3 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
this$0 final
e
os
public synchronized void write(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial java.util.zip.DeflaterOutputStream.write:(I)V
1: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.crc:Ljava/util/zip/CRC32;
iload 1
invokevirtual java.util.zip.CRC32.update:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nio/zipfs/ZipFileSystem$DeflatingEntryOutputStream;
0 3 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public synchronized void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokespecial java.util.zip.DeflaterOutputStream.write:([BII)V
1: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.crc:Ljava/util/zip/CRC32;
aload 1
iload 2
iload 3
invokevirtual java.util.zip.CRC32.update:([BII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nio/zipfs/ZipFileSystem$DeflatingEntryOutputStream;
0 3 1 b [B
0 3 2 off I
0 3 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.isClosed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.isClosed:Z
3: aload 0
invokevirtual jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.finish:()V
4: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.getBytesRead:()J
putfield jdk.nio.zipfs.ZipFileSystem$Entry.size:J
5: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.getBytesWritten:()J
putfield jdk.nio.zipfs.ZipFileSystem$Entry.csize:J
6: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.getValue:()J
putfield jdk.nio.zipfs.ZipFileSystem$Entry.crc:J
7: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.out:Ljava/io/OutputStream;
instanceof java.io.ByteArrayOutputStream
ifeq 9
8: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.out:Ljava/io/OutputStream;
checkcast java.io.ByteArrayOutputStream
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
putfield jdk.nio.zipfs.ZipFileSystem$Entry.bytes:[B
9: StackMap locals:
StackMap stack:
aload 0
invokespecial java.util.zip.DeflaterOutputStream.close:()V
10: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
invokevirtual jdk.nio.zipfs.ZipFileSystem.update:(Ljdk/nio/zipfs/ZipFileSystem$Entry;)V
11: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual jdk.nio.zipfs.ZipFileSystem.releaseDeflater:(Ljava/util/zip/Deflater;)V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/nio/zipfs/ZipFileSystem$DeflatingEntryOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "ZipFileSystem.java"
NestHost: jdk.nio.zipfs.ZipFileSystem
InnerClasses:
private DeflatingEntryOutputStream = jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream of jdk.nio.zipfs.ZipFileSystem
Entry = jdk.nio.zipfs.ZipFileSystem$Entry of jdk.nio.zipfs.ZipFileSystem