class jdk.nio.zipfs.ZipFileSystem$EntryOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nio.zipfs.ZipFileSystem$EntryOutputStream
super_class: java.io.FilterOutputStream
{
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$EntryOutputStream.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$EntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nio/zipfs/ZipFileSystem$EntryOutputStream;
0 4 2 e Ljdk/nio/zipfs/ZipFileSystem$Entry;
0 4 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=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
dup
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.written:J
lconst_1
ladd
putfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.written:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nio/zipfs/ZipFileSystem$EntryOutputStream;
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=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$EntryOutputStream.out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
1: aload 0
dup
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.written:J
iload 3
i2l
ladd
putfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.written:J
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$EntryOutputStream;
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$EntryOutputStream.isClosed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.isClosed:Z
3: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.written:J
putfield jdk.nio.zipfs.ZipFileSystem$Entry.size:J
4: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.out:Ljava/io/OutputStream;
instanceof java.io.ByteArrayOutputStream
ifeq 6
5: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.out:Ljava/io/OutputStream;
checkcast java.io.ByteArrayOutputStream
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
putfield jdk.nio.zipfs.ZipFileSystem$Entry.bytes:[B
6: StackMap locals:
StackMap stack:
aload 0
invokespecial java.io.FilterOutputStream.close:()V
7: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputStream.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
invokevirtual jdk.nio.zipfs.ZipFileSystem.update:(Ljdk/nio/zipfs/ZipFileSystem$Entry;)V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/nio/zipfs/ZipFileSystem$EntryOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "ZipFileSystem.java"
NestHost: jdk.nio.zipfs.ZipFileSystem
InnerClasses:
Entry = jdk.nio.zipfs.ZipFileSystem$Entry of jdk.nio.zipfs.ZipFileSystem
private EntryOutputStream = jdk.nio.zipfs.ZipFileSystem$EntryOutputStream of jdk.nio.zipfs.ZipFileSystem