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 // jdk.jshell.execution.Util$1 this
         0: .line 106
            aload 0 /* this */
            aload 1
            putfield jdk.jshell.execution.Util$1.val$inputSignal:Ljava/io/OutputStream;
            aload 0 /* this */
            invokespecial jdk.jshell.execution.PipeInputStream.<init>:()V
            return
        end local 0 // jdk.jshell.execution.Util$1 this
      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 // jdk.jshell.execution.Util$1 this
         0: .line 108
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$1.val$inputSignal:Ljava/io/OutputStream;
            bipush 49
            invokevirtual java.io.OutputStream.write:(I)V
         1: .line 109
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$1.val$inputSignal:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.flush:()V
         2: .line 110
            return
        end local 0 // jdk.jshell.execution.Util$1 this
      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 // jdk.jshell.execution.Util$1 this
         0: .line 113
            aload 0 /* this */
            invokespecial jdk.jshell.execution.PipeInputStream.read:()I
            istore 1 /* tag */
        start local 1 // int tag
         1: .line 114
            iload 1 /* tag */
            tableswitch { // -1 - 2
                   -1: 12
                    0: 2
                    1: 3
                    2: 4
              default: 13
          }
         2: .line 115
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokespecial jdk.jshell.execution.PipeInputStream.read:()I
            ireturn
         3: .line 116
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.Util$1.close:()V
            iconst_m1
            ireturn
         4: .line 118
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial jdk.jshell.execution.PipeInputStream.read:()I
            iconst_0
            ishl
            aload 0 /* this */
            invokespecial jdk.jshell.execution.PipeInputStream.read:()I
            bipush 8
            ishl
            iadd
            aload 0 /* this */
            invokespecial jdk.jshell.execution.PipeInputStream.read:()I
            bipush 16
            ishl
            iadd
            aload 0 /* this */
            invokespecial jdk.jshell.execution.PipeInputStream.read:()I
            bipush 24
            ishl
            iadd
            istore 2 /* len */
        start local 2 // int len
         5: .line 119
            iload 2 /* len */
            newarray 8
            astore 3 /* message */
        start local 3 // byte[] message
         6: .line 120
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         7: goto 10
         8: .line 121
      StackMap locals: int byte[] int
      StackMap stack:
            aload 3 /* message */
            iload 4 /* i */
            aload 0 /* this */
            invokespecial jdk.jshell.execution.PipeInputStream.read:()I
            i2b
            bastore
         9: .line 120
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 4 /* i */
            iload 2 /* len */
            if_icmplt 8
        end local 4 // int i
        11: .line 123
            new java.io.IOException
            dup
            new java.lang.String
            dup
            aload 3 /* message */
            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 // byte[] message
        end local 2 // int len
        12: .line 125
      StackMap locals:
      StackMap stack:
            iconst_m1
            ireturn
        13: .line 127
      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 /* tag */
            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 // int tag
        end local 0 // jdk.jshell.execution.Util$1 this
      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