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 // jdk.jshell.execution.Util$2 this
         0: .line 168
            aload 0 /* this */
            aload 1
            putfield jdk.jshell.execution.Util$2.val$in:Ljava/io/InputStream;
            aload 0 /* this */
            aload 2
            putfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            aload 0 /* this */
            aload 3
            putfield jdk.jshell.execution.Util$2.val$result:[Ljdk/jshell/spi/ExecutionControl;
            aload 0 /* this */
            aload 4
            putfield jdk.jshell.execution.Util$2.val$e:Ljava/util/Map$Entry;
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
            return
        end local 0 // jdk.jshell.execution.Util$2 this
      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 // jdk.jshell.execution.Util$2 this
        start local 1 // int b
         0: .line 173
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 2 /* r */
        start local 2 // int r
         1: .line 174
            iload 2 /* r */
            iconst_m1
            if_icmpne 4
         2: .line 175
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            iconst_1
            invokevirtual java.io.OutputStream.write:(I)V
         3: .line 176
            goto 20
         4: .line 177
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            iconst_2
            newarray 8
            dup
            iconst_1
            iload 2 /* r */
            i2b
            bastore
            invokevirtual java.io.OutputStream.write:([B)V
        end local 2 // int r
         5: .line 179
            goto 20
      StackMap locals: jdk.jshell.execution.Util$2 int
      StackMap stack: java.io.InterruptedIOException
         6: pop
         7: .line 181
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$result:[Ljdk/jshell/spi/ExecutionControl;
            iconst_0
            aaload
            invokeinterface jdk.jshell.spi.ExecutionControl.stop:()V
         8: .line 182
            goto 20
      StackMap locals:
      StackMap stack: jdk.jshell.spi.ExecutionControl$ExecutionControlException
         9: astore 2 /* ex */
        start local 2 // jdk.jshell.spi.ExecutionControl$ExecutionControlException ex
        10: .line 183
            aload 2 /* ex */
            new java.lang.StringBuilder
            dup
            ldc "$"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            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 // jdk.jshell.spi.ExecutionControl$ExecutionControlException ex
        11: goto 20
        12: .line 185
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* exc */
        start local 2 // java.io.IOException exc
        13: .line 186
            aload 2 /* exc */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            ldc "UTF-8"
            invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
            astore 3 /* message */
        start local 3 // byte[] message
        14: .line 187
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            iconst_2
            invokevirtual java.io.OutputStream.write:(I)V
        15: .line 188
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            aload 3 /* message */
            arraylength
            iconst_0
            ishr
            sipush 255
            iand
            invokevirtual java.io.OutputStream.write:(I)V
        16: .line 189
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            aload 3 /* message */
            arraylength
            bipush 8
            ishr
            sipush 255
            iand
            invokevirtual java.io.OutputStream.write:(I)V
        17: .line 190
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            aload 3 /* message */
            arraylength
            bipush 16
            ishr
            sipush 255
            iand
            invokevirtual java.io.OutputStream.write:(I)V
        18: .line 191
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            aload 3 /* message */
            arraylength
            bipush 24
            ishr
            sipush 255
            iand
            invokevirtual java.io.OutputStream.write:(I)V
        19: .line 192
            aload 0 /* this */
            getfield jdk.jshell.execution.Util$2.val$inTarget:Ljava/io/OutputStream;
            aload 3 /* message */
            invokevirtual java.io.OutputStream.write:([B)V
        end local 3 // byte[] message
        end local 2 // java.io.IOException exc
        20: .line 194
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int b
        end local 0 // jdk.jshell.execution.Util$2 this
      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