class jdk.jshell.execution.Util$2 extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.execution.Util$2
super_class: java.io.OutputStream
{
private final java.io.InputStream val$in;
descriptor: Ljava/io/InputStream;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.io.OutputStream val$inTarget;
descriptor: Ljava/io/OutputStream;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final jdk.jshell.spi.ExecutionControl[] val$result;
descriptor: [Ljdk/jshell/spi/ExecutionControl;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.Map$Entry val$e;
descriptor: Ljava/util/Map$Entry;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.io.InputStream, java.io.OutputStream, jdk.jshell.spi.ExecutionControl[], java.util.Map$Entry);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;[Ljdk/jshell/spi/ExecutionControl;Ljava/util/Map$Entry;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield jdk.jshell.execution.Util$2.val$in:Ljava/io/InputStream;
aload 0
aload 2
putfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
aload 0
aload 3
putfield jdk.jshell.execution.Util$2.val$result:[Ljdk/jshell/spi/ExecutionControl;
aload 0
aload 4
putfield jdk.jshell.execution.Util$2.val$e:Ljava/util/Map$Entry;
aload 0
invokespecial java.io.OutputStream.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/Util$2;
MethodParameters:
Name Flags
val$in final
val$inTarget final
val$result final
val$e final
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.execution.Util$2.val$in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpne 4
2: aload 0
getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
iconst_1
invokevirtual java.io.OutputStream.write:(I)V
3: goto 20
4: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
iconst_2
newarray 8
dup
iconst_1
iload 2
i2b
bastore
invokevirtual java.io.OutputStream.write:([B)V
end local 2 5: goto 20
StackMap locals: jdk.jshell.execution.Util$2 int
StackMap stack: java.io.InterruptedIOException
6: pop
7: aload 0
getfield jdk.jshell.execution.Util$2.val$result:[Ljdk/jshell/spi/ExecutionControl;
iconst_0
aaload
invokeinterface jdk.jshell.spi.ExecutionControl.stop:()V
8: goto 20
StackMap locals:
StackMap stack: jdk.jshell.spi.ExecutionControl$ExecutionControlException
9: astore 2
start local 2 10: aload 2
new java.lang.StringBuilder
dup
ldc "$"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.jshell.execution.Util$2.val$e:Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-input-requested.write"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jshell.execution.Util.debug:(Ljava/lang/Throwable;Ljava/lang/String;)V
end local 2 11: goto 20
12: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 13: aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 3
start local 3 14: aload 0
getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
iconst_2
invokevirtual java.io.OutputStream.write:(I)V
15: aload 0
getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
aload 3
arraylength
iconst_0
ishr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
16: aload 0
getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
aload 3
arraylength
bipush 8
ishr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
17: aload 0
getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
aload 3
arraylength
bipush 16
ishr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
18: aload 0
getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
aload 3
arraylength
bipush 24
ishr
sipush 255
iand
invokevirtual java.io.OutputStream.write:(I)V
19: aload 0
getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
aload 3
invokevirtual java.io.OutputStream.write:([B)V
end local 3 end local 2 20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/jshell/execution/Util$2;
0 21 1 b I
1 5 2 r I
10 11 2 ex Ljdk/jshell/spi/ExecutionControl$ExecutionControlException;
13 20 2 exc Ljava/io/IOException;
14 20 3 message [B
Exception table:
from to target type
0 5 6 Class java.io.InterruptedIOException
7 8 9 Class jdk.jshell.spi.ExecutionControl$ExecutionControlException
0 5 12 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
}
SourceFile: "Util.java"
EnclosingMethod: jdk.jshell.execution.Util.remoteInputOutput:(Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/util/Map;Ljava/util/Map;Ljava/util/function/BiFunction;)Ljdk/jshell/spi/ExecutionControl;
NestHost: jdk.jshell.execution.Util
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
jdk.jshell.execution.Util$2
public abstract ExecutionControlException = jdk.jshell.spi.ExecutionControl$ExecutionControlException of jdk.jshell.spi.ExecutionControl