class jdk.jshell.execution.MultiplexingOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.execution.MultiplexingOutputStream
super_class: java.io.OutputStream
{
private static final int PACKET_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 127
private final byte[] name;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.OutputStream delegate;
descriptor: Ljava/io/OutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
aload 1
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
putfield jdk.jshell.execution.MultiplexingOutputStream.name:[B
2: aload 0
aload 2
putfield jdk.jshell.execution.MultiplexingOutputStream.delegate:Ljava/io/OutputStream;
3: goto 6
StackMap locals: jdk.jshell.execution.MultiplexingOutputStream java.lang.String java.io.OutputStream
StackMap stack: java.io.UnsupportedEncodingException
4: astore 3
start local 3 5: new java.lang.IllegalStateException
dup
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jshell/execution/MultiplexingOutputStream;
0 7 1 name Ljava/lang/String;
0 7 2 delegate Ljava/io/OutputStream;
5 6 3 ex Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
1 3 4 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
name
delegate
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
iconst_1
newarray 8
dup
iconst_0
iload 1
i2b
bastore
invokevirtual jdk.jshell.execution.MultiplexingOutputStream.write:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/MultiplexingOutputStream;
0 2 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=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.delegate:Ljava/io/OutputStream;
dup
astore 4
monitorenter
1: iconst_0
istore 5
start local 5 2: goto 12
3: StackMap locals: java.io.OutputStream int
StackMap stack:
bipush 127
iload 3
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 4: aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.name:[B
arraylength
iconst_1
iadd
iload 6
iadd
iconst_1
iadd
newarray 8
astore 7
start local 7 5: aload 7
iconst_0
aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.name:[B
arraylength
i2b
bastore
6: aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.name:[B
iconst_0
aload 7
iconst_1
aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.name:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 7
aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.name:[B
arraylength
iconst_1
iadd
iload 6
i2b
bastore
8: aload 1
iload 2
iload 5
iadd
aload 7
aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.name:[B
arraylength
iconst_2
iadd
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.delegate:Ljava/io/OutputStream;
aload 7
invokevirtual java.io.OutputStream.write:([B)V
10: iload 5
iload 6
iadd
istore 5
11: iload 3
iload 6
isub
istore 3
end local 7 end local 6 12: StackMap locals:
StackMap stack:
iload 3
ifgt 3
13: aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.delegate:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
end local 5 14: aload 4
monitorexit
15: goto 18
StackMap locals: jdk.jshell.execution.MultiplexingOutputStream byte[] int int java.io.OutputStream
StackMap stack: java.lang.Throwable
16: aload 4
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/jshell/execution/MultiplexingOutputStream;
0 19 1 b [B
0 19 2 off I
0 19 3 len I
2 14 5 i I
4 12 6 size I
5 12 7 data [B
Exception table:
from to target type
1 15 16 any
16 17 16 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.io.OutputStream.flush:()V
1: aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.delegate:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/execution/MultiplexingOutputStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.io.OutputStream.close:()V
1: aload 0
getfield jdk.jshell.execution.MultiplexingOutputStream.delegate:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/execution/MultiplexingOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "MultiplexingOutputStream.java"