class jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel extends jdk.nio.zipfs.ByteArrayChannel
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel
super_class: jdk.nio.zipfs.ByteArrayChannel
{
final jdk.nio.zipfs.ZipFileSystem$Entry e;
descriptor: Ljdk/nio/zipfs/ZipFileSystem$Entry;
flags: (0x0010) ACC_FINAL
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);
descriptor: (Ljdk/nio/zipfs/ZipFileSystem;Ljdk/nio/zipfs/ZipFileSystem$Entry;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel.this$0:Ljdk/nio/zipfs/ZipFileSystem;
1: aload 0
aload 2
getfield jdk.nio.zipfs.ZipFileSystem$Entry.size:J
lconst_0
lcmp
ifle 2
aload 2
getfield jdk.nio.zipfs.ZipFileSystem$Entry.size:J
l2i
goto 3
StackMap locals:
StackMap stack: uninitialized-this
2: sipush 8192
StackMap locals: uninitialized-this jdk.nio.zipfs.ZipFileSystem jdk.nio.zipfs.ZipFileSystem$Entry
StackMap stack: uninitialized-this int
3: iconst_0
invokespecial jdk.nio.zipfs.ByteArrayChannel.<init>:(IZ)V
4: aload 0
aload 2
putfield jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
5: aload 2
getfield jdk.nio.zipfs.ZipFileSystem$Entry.mtime:J
ldc -1
lcmp
ifne 7
6: aload 2
invokestatic java.lang.System.currentTimeMillis:()J
putfield jdk.nio.zipfs.ZipFileSystem$Entry.mtime:J
7: StackMap locals: jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel jdk.nio.zipfs.ZipFileSystem jdk.nio.zipfs.ZipFileSystem$Entry
StackMap stack:
aload 2
getfield jdk.nio.zipfs.ZipFileSystem$Entry.method:I
iconst_m1
if_icmpne 9
8: aload 2
aload 1
getfield jdk.nio.zipfs.ZipFileSystem.defaultCompressionMethod:I
putfield jdk.nio.zipfs.ZipFileSystem$Entry.method:I
9: StackMap locals:
StackMap stack:
aload 2
bipush 8
putfield jdk.nio.zipfs.ZipFileSystem$Entry.flag:I
10: aload 1
getfield jdk.nio.zipfs.ZipFileSystem.zc:Ljdk/nio/zipfs/ZipCoder;
invokevirtual jdk.nio.zipfs.ZipCoder.isUTF8:()Z
ifeq 12
11: aload 2
dup
getfield jdk.nio.zipfs.ZipFileSystem$Entry.flag:I
sipush 2048
ior
putfield jdk.nio.zipfs.ZipFileSystem$Entry.flag:I
12: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/nio/zipfs/ZipFileSystem$EntryOutputChannel;
0 13 2 e Ljdk/nio/zipfs/ZipFileSystem$Entry;
MethodParameters:
Name Flags
this$0 final
e
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel.this$0:Ljdk/nio/zipfs/ZipFileSystem;
aload 0
getfield jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel.e:Ljdk/nio/zipfs/ZipFileSystem$Entry;
invokevirtual jdk.nio.zipfs.ZipFileSystem.getOutputStream:(Ljdk/nio/zipfs/ZipFileSystem$Entry;)Ljava/io/OutputStream;
astore 3
start local 3 2: aload 3
aload 0
invokevirtual jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel.toByteArray:()[B
invokevirtual java.io.OutputStream.write:([B)V
3: aload 3
ifnull 9
aload 3
invokevirtual java.io.OutputStream.close:()V
goto 9
StackMap locals: jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel java.lang.Throwable java.lang.Throwable java.io.OutputStream
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual java.io.OutputStream.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
aload 0
invokespecial jdk.nio.zipfs.ByteArrayChannel.close:()V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nio/zipfs/ZipFileSystem$EntryOutputChannel;
2 5 3 os Ljava/io/OutputStream;
Exception table:
from to target type
2 3 4 any
1 6 6 any
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 EntryOutputChannel = jdk.nio.zipfs.ZipFileSystem$EntryOutputChannel of jdk.nio.zipfs.ZipFileSystem