class jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32 extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32
super_class: java.io.FilterOutputStream
{
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 long written;
descriptor: J
flags: (0x0002) ACC_PRIVATE
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$EntryOutputStreamCRC32.this$0:Ljdk/nio/zipfs/ZipFileSystem;
1: aload 0
aload 3
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)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$EntryOutputStreamCRC32.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$EntryOutputStreamCRC32.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$EntryOutputStreamCRC32;
0 5 2 e Ljdk/nio/zipfs/ZipFileSystem$Entry;
0 5 3 os Ljava/io/OutputStream;
MethodParameters:
Name Flags
this$0 final
e
os
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.crc:Ljava/util/zip/CRC32;
iload 1
invokevirtual java.util.zip.CRC32.update:(I)V
2: aload 0
dup
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.written:J
lconst_1
ladd
putfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.written:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nio/zipfs/ZipFileSystem$EntryOutputStreamCRC32;
0 4 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
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
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
1: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.crc:Ljava/util/zip/CRC32;
aload 1
iload 2
iload 3
invokevirtual java.util.zip.CRC32.update:([BII)V
2: aload 0
dup
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.written:J
iload 3
i2l
ladd
putfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.written:J
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nio/zipfs/ZipFileSystem$EntryOutputStreamCRC32;
0 4 1 b [B
0 4 2 off I
0 4 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.isClosed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.isClosed:Z
3: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.written:J
dup2_x1
putfield jdk.nio.zipfs.ZipFileSystem$Entry.csize:J
putfield jdk.nio.zipfs.ZipFileSystem$Entry.size:J
4: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32.crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.getValue:()J
putfield jdk.nio.zipfs.ZipFileSystem$Entry.crc:J
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nio/zipfs/ZipFileSystem$EntryOutputStreamCRC32;
}
SourceFile: "ZipFileSystem.java"
NestHost: jdk.nio.zipfs.ZipFileSystem
InnerClasses:
Entry = jdk.nio.zipfs.ZipFileSystem$Entry of jdk.nio.zipfs.ZipFileSystem
private EntryOutputStreamCRC32 = jdk.nio.zipfs.ZipFileSystem$EntryOutputStreamCRC32 of jdk.nio.zipfs.ZipFileSystem