public class jdk.jshell.execution.RemoteExecutionControl extends jdk.jshell.execution.DirectExecutionControl implements jdk.jshell.spi.ExecutionControl
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.jshell.execution.RemoteExecutionControl
  super_class: jdk.jshell.execution.DirectExecutionControl
{
  private boolean inClientCode;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean expectingStop;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private final jdk.jshell.execution.RemoteExecutionControl$StopExecutionException stopException;
    descriptor: Ljdk/jshell/execution/RemoteExecutionControl$StopExecutionException;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public static void main(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 61
            aconst_null
            astore 1 /* loopBack */
        start local 1 // java.lang.String loopBack
         1: .line 62
            new java.net.Socket
            dup
            aload 1 /* loopBack */
            aload 0 /* args */
            iconst_0
            aaload
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            invokespecial java.net.Socket.<init>:(Ljava/lang/String;I)V
            astore 2 /* socket */
        start local 2 // java.net.Socket socket
         2: .line 63
            aload 2 /* socket */
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
            astore 3 /* inStream */
        start local 3 // java.io.InputStream inStream
         3: .line 64
            aload 2 /* socket */
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            astore 4 /* outStream */
        start local 4 // java.io.OutputStream outStream
         4: .line 65
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 5 /* outputs */
        start local 5 // java.util.Map outputs
         5: .line 66
            aload 5 /* outputs */
            ldc "out"
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/jshell/execution/RemoteExecutionControl.lambda$0(Ljava/io/OutputStream;)V (6)
                  (Ljava/io/OutputStream;)V
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 67
            aload 5 /* outputs */
            ldc "err"
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/jshell/execution/RemoteExecutionControl.lambda$1(Ljava/io/OutputStream;)V (6)
                  (Ljava/io/OutputStream;)V
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 68
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 6 /* input */
        start local 6 // java.util.Map input
         8: .line 69
            aload 6 /* input */
            ldc "in"
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  java/lang/System.setIn(Ljava/io/InputStream;)V (6)
                  (Ljava/io/InputStream;)V
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         9: .line 70
            new jdk.jshell.execution.RemoteExecutionControl
            dup
            invokespecial jdk.jshell.execution.RemoteExecutionControl.<init>:()V
            aload 3 /* inStream */
            aload 4 /* outStream */
            aload 5 /* outputs */
            aload 6 /* input */
            invokestatic jdk.jshell.execution.Util.forwardExecutionControlAndIO:(Ljdk/jshell/spi/ExecutionControl;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/util/Map;Ljava/util/Map;)V
        10: .line 71
            return
        end local 6 // java.util.Map input
        end local 5 // java.util.Map outputs
        end local 4 // java.io.OutputStream outStream
        end local 3 // java.io.InputStream inStream
        end local 2 // java.net.Socket socket
        end local 1 // java.lang.String loopBack
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       args  [Ljava/lang/String;
            1   11     1   loopBack  Ljava/lang/String;
            2   11     2     socket  Ljava/net/Socket;
            3   11     3   inStream  Ljava/io/InputStream;
            4   11     4  outStream  Ljava/io/OutputStream;
            5   11     5    outputs  Ljava/util/Map<Ljava/lang/String;Ljava/util/function/Consumer<Ljava/io/OutputStream;>;>;
            8   11     6      input  Ljava/util/Map<Ljava/lang/String;Ljava/util/function/Consumer<Ljava/io/InputStream;>;>;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      args  

  public void <init>(jdk.jshell.execution.LoaderDelegate);
    descriptor: (Ljdk/jshell/execution/LoaderDelegate;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
        start local 1 // jdk.jshell.execution.LoaderDelegate loaderDelegate
         0: .line 90
            aload 0 /* this */
            aload 1 /* loaderDelegate */
            invokespecial jdk.jshell.execution.DirectExecutionControl.<init>:(Ljdk/jshell/execution/LoaderDelegate;)V
         1: .line 81
            aload 0 /* this */
            new jdk.jshell.execution.RemoteExecutionControl$StopExecutionException
            dup
            aload 0 /* this */
            invokespecial jdk.jshell.execution.RemoteExecutionControl$StopExecutionException.<init>:(Ljdk/jshell/execution/RemoteExecutionControl;)V
            putfield jdk.jshell.execution.RemoteExecutionControl.stopException:Ljdk/jshell/execution/RemoteExecutionControl$StopExecutionException;
         2: .line 91
            return
        end local 1 // jdk.jshell.execution.LoaderDelegate loaderDelegate
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0            this  Ljdk/jshell/execution/RemoteExecutionControl;
            0    3     1  loaderDelegate  Ljdk/jshell/execution/LoaderDelegate;
    MethodParameters:
                Name  Flags
      loaderDelegate  

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
         0: .line 96
            aload 0 /* this */
            invokespecial jdk.jshell.execution.DirectExecutionControl.<init>:()V
         1: .line 81
            aload 0 /* this */
            new jdk.jshell.execution.RemoteExecutionControl$StopExecutionException
            dup
            aload 0 /* this */
            invokespecial jdk.jshell.execution.RemoteExecutionControl$StopExecutionException.<init>:(Ljdk/jshell/execution/RemoteExecutionControl;)V
            putfield jdk.jshell.execution.RemoteExecutionControl.stopException:Ljdk/jshell/execution/RemoteExecutionControl$StopExecutionException;
         2: .line 97
            return
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jshell/execution/RemoteExecutionControl;

  public void redefine(jdk.jshell.spi.ExecutionControl$ClassBytecodes[]);
    descriptor: ([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
        start local 1 // jdk.jshell.spi.ExecutionControl$ClassBytecodes[] cbcs
         0: .line 105
            aload 0 /* this */
            aload 1 /* cbcs */
            invokevirtual jdk.jshell.execution.RemoteExecutionControl.classesRedefined:([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
         1: .line 106
            return
        end local 1 // jdk.jshell.spi.ExecutionControl$ClassBytecodes[] cbcs
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jshell/execution/RemoteExecutionControl;
            0    2     1  cbcs  [Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$ClassInstallException, jdk.jshell.spi.ExecutionControl$NotImplementedException, jdk.jshell.spi.ExecutionControl$EngineTerminationException
    MethodParameters:
      Name  Flags
      cbcs  

  public void stop();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
         0: .line 111
            return
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jshell/execution/RemoteExecutionControl;
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException

  protected java.lang.String invoke(java.lang.reflect.Method);
    descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
        start local 1 // java.lang.reflect.Method doitMethod
         0: .line 116
            aload 0 /* this */
            aload 1 /* doitMethod */
            invokespecial jdk.jshell.execution.DirectExecutionControl.invoke:(Ljava/lang/reflect/Method;)Ljava/lang/String;
            areturn
        end local 1 // java.lang.reflect.Method doitMethod
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0        this  Ljdk/jshell/execution/RemoteExecutionControl;
            0    1     1  doitMethod  Ljava/lang/reflect/Method;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
            Name  Flags
      doitMethod  

  public java.lang.String varValue(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
        start local 1 // java.lang.String className
        start local 2 // java.lang.String varName
         0: .line 122
            aload 0 /* this */
            aload 1 /* className */
            aload 2 /* varName */
            invokespecial jdk.jshell.execution.DirectExecutionControl.varValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 2 // java.lang.String varName
        end local 1 // java.lang.String className
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Ljdk/jshell/execution/RemoteExecutionControl;
            0    1     1  className  Ljava/lang/String;
            0    1     2    varName  Ljava/lang/String;
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
    MethodParameters:
           Name  Flags
      className  
      varName    

  protected java.lang.String throwConvertedInvocationException(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
        start local 1 // java.lang.Throwable cause
         0: .line 127
            aload 1 /* cause */
            instanceof jdk.jshell.execution.RemoteExecutionControl$StopExecutionException
            ifeq 3
         1: .line 128
            aload 0 /* this */
            iconst_0
            putfield jdk.jshell.execution.RemoteExecutionControl.expectingStop:Z
         2: .line 129
            new jdk.jshell.spi.ExecutionControl$StoppedException
            dup
            invokespecial jdk.jshell.spi.ExecutionControl$StoppedException.<init>:()V
            athrow
         3: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* cause */
            invokespecial jdk.jshell.execution.DirectExecutionControl.throwConvertedInvocationException:(Ljava/lang/Throwable;)Ljava/lang/String;
            areturn
        end local 1 // java.lang.Throwable cause
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Ljdk/jshell/execution/RemoteExecutionControl;
            0    4     1  cause  Ljava/lang/Throwable;
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$InternalException
    MethodParameters:
       Name  Flags
      cause  

  protected java.lang.String throwConvertedOtherException(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
        start local 1 // java.lang.Throwable ex
         0: .line 137
            aload 1 /* ex */
            instanceof jdk.jshell.execution.RemoteExecutionControl$StopExecutionException
            ifne 2
         1: .line 138
            aload 1 /* ex */
            invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
            instanceof jdk.jshell.execution.RemoteExecutionControl$StopExecutionException
            ifeq 4
         2: .line 139
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield jdk.jshell.execution.RemoteExecutionControl.expectingStop:Z
         3: .line 140
            new jdk.jshell.spi.ExecutionControl$StoppedException
            dup
            invokespecial jdk.jshell.spi.ExecutionControl$StoppedException.<init>:()V
            athrow
         4: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* ex */
            invokespecial jdk.jshell.execution.DirectExecutionControl.throwConvertedOtherException:(Ljava/lang/Throwable;)Ljava/lang/String;
            areturn
        end local 1 // java.lang.Throwable ex
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jshell/execution/RemoteExecutionControl;
            0    5     1    ex  Ljava/lang/Throwable;
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$InternalException
    MethodParameters:
      Name  Flags
      ex    

  protected void clientCodeEnter();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
         0: .line 147
            aload 0 /* this */
            iconst_0
            putfield jdk.jshell.execution.RemoteExecutionControl.expectingStop:Z
         1: .line 148
            aload 0 /* this */
            iconst_1
            putfield jdk.jshell.execution.RemoteExecutionControl.inClientCode:Z
         2: .line 149
            return
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jshell/execution/RemoteExecutionControl;

  protected void clientCodeLeave();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // jdk.jshell.execution.RemoteExecutionControl this
         0: .line 153
            aload 0 /* this */
            iconst_0
            putfield jdk.jshell.execution.RemoteExecutionControl.inClientCode:Z
         1: .line 154
            goto 6
         2: .line 156
      StackMap locals:
      StackMap stack:
            lconst_0
            invokestatic java.lang.Thread.sleep:(J)V
         3: .line 157
            goto 6
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         4: astore 1 /* ex */
        start local 1 // java.lang.InterruptedException ex
         5: .line 158
            new jdk.jshell.spi.ExecutionControl$InternalException
            dup
            new java.lang.StringBuilder
            dup
            ldc "*** Sleep interrupted while waiting for stop exception: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* ex */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial jdk.jshell.spi.ExecutionControl$InternalException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.InterruptedException ex
         6: .line 154
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jshell.execution.RemoteExecutionControl.expectingStop:Z
            ifne 2
         7: .line 161
            return
        end local 0 // jdk.jshell.execution.RemoteExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/jshell/execution/RemoteExecutionControl;
            5    6     1    ex  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.InterruptedException
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$InternalException

  private static void lambda$0(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.io.OutputStream st
         0: .line 66
            new java.io.PrintStream
            dup
            aload 0 /* st */
            iconst_1
            invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
            invokestatic java.lang.System.setOut:(Ljava/io/PrintStream;)V
            return
        end local 0 // java.io.OutputStream st
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    st  Ljava/io/OutputStream;

  private static void lambda$1(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.io.OutputStream st
         0: .line 67
            new java.io.PrintStream
            dup
            aload 0 /* st */
            iconst_1
            invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
            invokestatic java.lang.System.setErr:(Ljava/io/PrintStream;)V
            return
        end local 0 // java.io.OutputStream st
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    st  Ljava/io/OutputStream;
}
SourceFile: "RemoteExecutionControl.java"
NestMembers:
  jdk.jshell.execution.RemoteExecutionControl$StopExecutionException
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private StopExecutionException = jdk.jshell.execution.RemoteExecutionControl$StopExecutionException of jdk.jshell.execution.RemoteExecutionControl
  public final ClassBytecodes = jdk.jshell.spi.ExecutionControl$ClassBytecodes of jdk.jshell.spi.ExecutionControl
  public ClassInstallException = jdk.jshell.spi.ExecutionControl$ClassInstallException of jdk.jshell.spi.ExecutionControl
  public EngineTerminationException = jdk.jshell.spi.ExecutionControl$EngineTerminationException of jdk.jshell.spi.ExecutionControl
  public InternalException = jdk.jshell.spi.ExecutionControl$InternalException of jdk.jshell.spi.ExecutionControl
  public NotImplementedException = jdk.jshell.spi.ExecutionControl$NotImplementedException of jdk.jshell.spi.ExecutionControl
  public abstract RunException = jdk.jshell.spi.ExecutionControl$RunException of jdk.jshell.spi.ExecutionControl
  public StoppedException = jdk.jshell.spi.ExecutionControl$StoppedException of jdk.jshell.spi.ExecutionControl