class jdk.jshell.execution.Util$1 extends jdk.jshell.execution.PipeInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.execution.Util$1
super_class: jdk.jshell.execution.PipeInputStream
{
private final java.io.OutputStream val$inputSignal;
descriptor: Ljava/io/OutputStream;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.jshell.execution.Util$1.val$inputSignal:Ljava/io/OutputStream;
aload 0
invokespecial jdk.jshell.execution.PipeInputStream.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/Util$1;
MethodParameters:
Name Flags
val$inputSignal final
protected void inputNeeded();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.execution.Util$1.val$inputSignal:Ljava/io/OutputStream;
bipush 49
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
getfield jdk.jshell.execution.Util$1.val$inputSignal: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/Util$1;
Exceptions:
throws java.io.IOException
public synchronized int read();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokespecial jdk.jshell.execution.PipeInputStream.read:()I
istore 1
start local 1 1: iload 1
tableswitch { // -1 - 2
-1: 12
0: 2
1: 3
2: 4
default: 13
}
2: StackMap locals: int
StackMap stack:
aload 0
invokespecial jdk.jshell.execution.PipeInputStream.read:()I
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jshell.execution.Util$1.close:()V
iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokespecial jdk.jshell.execution.PipeInputStream.read:()I
iconst_0
ishl
aload 0
invokespecial jdk.jshell.execution.PipeInputStream.read:()I
bipush 8
ishl
iadd
aload 0
invokespecial jdk.jshell.execution.PipeInputStream.read:()I
bipush 16
ishl
iadd
aload 0
invokespecial jdk.jshell.execution.PipeInputStream.read:()I
bipush 24
ishl
iadd
istore 2
start local 2 5: iload 2
newarray 8
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: int byte[] int
StackMap stack:
aload 3
iload 4
aload 0
invokespecial jdk.jshell.execution.PipeInputStream.read:()I
i2b
bastore
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 2
if_icmplt 8
end local 4 11: new java.io.IOException
dup
new java.lang.String
dup
aload 3
ldc "UTF-8"
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 12: StackMap locals:
StackMap stack:
iconst_m1
ireturn
13: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Internal error: unrecognized message tag: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/jshell/execution/Util$1;
1 14 1 tag I
5 12 2 len I
6 12 3 message [B
7 11 4 i I
Exceptions:
throws java.io.IOException
}
SourceFile: "Util.java"
EnclosingMethod: jdk.jshell.execution.Util.forwardExecutionControlAndIO:(Ljdk/jshell/spi/ExecutionControl;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/util/Map;Ljava/util/Map;)V
NestHost: jdk.jshell.execution.Util
InnerClasses:
jdk.jshell.execution.Util$1