public class jdk.jshell.execution.JdiDefaultExecutionControl extends jdk.jshell.execution.JdiExecutionControl
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.jshell.execution.JdiDefaultExecutionControl
  super_class: jdk.jshell.execution.JdiExecutionControl
{
  private com.sun.jdi.VirtualMachine vm;
    descriptor: Lcom/sun/jdi/VirtualMachine;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.Process process;
    descriptor: Ljava/lang/Process;
    flags: (0x0002) ACC_PRIVATE

  private final java.lang.String remoteAgent;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.Object STOP_LOCK;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  static jdk.jshell.spi.ExecutionControl create(jdk.jshell.spi.ExecutionEnv, java.lang.String, boolean, java.lang.String, int);
    descriptor: (Ljdk/jshell/spi/ExecutionEnv;Ljava/lang/String;ZLjava/lang/String;I)Ljdk/jshell/spi/ExecutionControl;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=9, locals=17, args_size=5
        start local 0 // jdk.jshell.spi.ExecutionEnv env
        start local 1 // java.lang.String remoteAgent
        start local 2 // boolean isLaunch
        start local 3 // java.lang.String host
        start local 4 // int timeout
         0: .line 95
            aconst_null
            astore 5
            aconst_null
            astore 6
         1: new java.net.ServerSocket
            dup
            iconst_0
            iconst_1
            invokestatic java.net.InetAddress.getLoopbackAddress:()Ljava/net/InetAddress;
            invokespecial java.net.ServerSocket.<init>:(IILjava/net/InetAddress;)V
            astore 7 /* listener */
        start local 7 // java.net.ServerSocket listener
         2: .line 97
            aload 7 /* listener */
            iload 4 /* timeout */
            invokevirtual java.net.ServerSocket.setSoTimeout:(I)V
         3: .line 98
            aload 7 /* listener */
            invokevirtual java.net.ServerSocket.getLocalPort:()I
            istore 8 /* port */
        start local 8 // int port
         4: .line 101
            new jdk.jshell.execution.JdiInitiator
            dup
            iload 8 /* port */
         5: .line 102
            aload 0 /* env */
            invokeinterface jdk.jshell.spi.ExecutionEnv.extraRemoteVMOptions:()Ljava/util/List;
            aload 1 /* remoteAgent */
            iload 2 /* isLaunch */
            aload 3 /* host */
         6: .line 103
            iload 4 /* timeout */
            invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
         7: .line 101
            invokespecial jdk.jshell.execution.JdiInitiator.<init>:(ILjava/util/List;Ljava/lang/String;ZLjava/lang/String;ILjava/util/Map;)V
            astore 9 /* jdii */
        start local 9 // jdk.jshell.execution.JdiInitiator jdii
         8: .line 104
            aload 9 /* jdii */
            invokevirtual jdk.jshell.execution.JdiInitiator.vm:()Lcom/sun/jdi/VirtualMachine;
            astore 10 /* vm */
        start local 10 // com.sun.jdi.VirtualMachine vm
         9: .line 105
            aload 9 /* jdii */
            invokevirtual jdk.jshell.execution.JdiInitiator.process:()Ljava/lang/Process;
            astore 11 /* process */
        start local 11 // java.lang.Process process
        10: .line 107
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 12 /* deathListeners */
        start local 12 // java.util.List deathListeners
        11: .line 108
            aload 10 /* vm */
            aload 12 /* deathListeners */
            invokedynamic accept(Ljava/util/List;)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/JdiDefaultExecutionControl.lambda$0(Ljava/util/List;Ljava/lang/String;)V (6)
                  (Ljava/lang/String;)V
            invokestatic jdk.jshell.execution.Util.detectJdiExitEvent:(Lcom/sun/jdi/VirtualMachine;Ljava/util/function/Consumer;)V
        12: .line 116
            aload 7 /* listener */
            invokevirtual java.net.ServerSocket.accept:()Ljava/net/Socket;
            astore 13 /* socket */
        start local 13 // java.net.Socket socket
        13: .line 118
            aload 13 /* socket */
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            astore 14 /* out */
        start local 14 // java.io.OutputStream out
        14: .line 119
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 15 /* outputs */
        start local 15 // java.util.Map outputs
        15: .line 120
            aload 15 /* outputs */
            ldc "out"
            aload 0 /* env */
            invokeinterface jdk.jshell.spi.ExecutionEnv.userOut:()Ljava/io/PrintStream;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        16: .line 121
            aload 15 /* outputs */
            ldc "err"
            aload 0 /* env */
            invokeinterface jdk.jshell.spi.ExecutionEnv.userErr:()Ljava/io/PrintStream;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        17: .line 122
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 16 /* input */
        start local 16 // java.util.Map input
        18: .line 123
            aload 16 /* input */
            ldc "in"
            aload 0 /* env */
            invokeinterface jdk.jshell.spi.ExecutionEnv.userIn:()Ljava/io/InputStream;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        19: .line 124
            aload 13 /* socket */
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
            aload 14 /* out */
            aload 15 /* outputs */
            aload 16 /* input */
        20: .line 125
            aload 0 /* env */
            aload 10 /* vm */
            aload 11 /* process */
            aload 1 /* remoteAgent */
            aload 12 /* deathListeners */
            invokedynamic apply(Ljdk/jshell/spi/ExecutionEnv;Lcom/sun/jdi/VirtualMachine;Ljava/lang/Process;Ljava/lang/String;Ljava/util/List;)Ljava/util/function/BiFunction;
              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;Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/jshell/execution/JdiDefaultExecutionControl.lambda$1(Ljdk/jshell/spi/ExecutionEnv;Lcom/sun/jdi/VirtualMachine;Ljava/lang/Process;Ljava/lang/String;Ljava/util/List;Ljava/io/ObjectInput;Ljava/io/ObjectOutput;)Ljdk/jshell/spi/ExecutionControl; (6)
                  (Ljava/io/ObjectInput;Ljava/io/ObjectOutput;)Ljdk/jshell/spi/ExecutionControl;
        21: .line 124
            invokestatic 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;
        22: .line 127
            aload 7 /* listener */
            ifnull 23
            aload 7 /* listener */
            invokevirtual java.net.ServerSocket.close:()V
        23: .line 124
      StackMap locals: jdk.jshell.spi.ExecutionEnv java.lang.String int java.lang.String int java.lang.Throwable java.lang.Throwable java.net.ServerSocket int jdk.jshell.execution.JdiInitiator com.sun.jdi.VirtualMachine java.lang.Process java.util.List java.net.Socket java.io.OutputStream java.util.Map java.util.Map
      StackMap stack: jdk.jshell.spi.ExecutionControl
            areturn
        end local 16 // java.util.Map input
        end local 15 // java.util.Map outputs
        end local 14 // java.io.OutputStream out
        end local 13 // java.net.Socket socket
        end local 12 // java.util.List deathListeners
        end local 11 // java.lang.Process process
        end local 10 // com.sun.jdi.VirtualMachine vm
        end local 9 // jdk.jshell.execution.JdiInitiator jdii
        end local 8 // int port
      StackMap locals: jdk.jshell.spi.ExecutionEnv java.lang.String int java.lang.String int java.lang.Throwable java.lang.Throwable java.net.ServerSocket
      StackMap stack: java.lang.Throwable
        24: astore 5
        25: .line 127
            aload 7 /* listener */
            ifnull 26
            aload 7 /* listener */
            invokevirtual java.net.ServerSocket.close:()V
        end local 7 // java.net.ServerSocket listener
      StackMap locals:
      StackMap stack:
        26: aload 5
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        27: astore 6
            aload 5
            ifnonnull 28
            aload 6
            astore 5
            goto 29
      StackMap locals:
      StackMap stack:
        28: aload 5
            aload 6
            if_acmpeq 29
            aload 5
            aload 6
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        29: aload 5
            athrow
        end local 4 // int timeout
        end local 3 // java.lang.String host
        end local 2 // boolean isLaunch
        end local 1 // java.lang.String remoteAgent
        end local 0 // jdk.jshell.spi.ExecutionEnv env
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   30     0             env  Ljdk/jshell/spi/ExecutionEnv;
            0   30     1     remoteAgent  Ljava/lang/String;
            0   30     2        isLaunch  Z
            0   30     3            host  Ljava/lang/String;
            0   30     4         timeout  I
            2   26     7        listener  Ljava/net/ServerSocket;
            4   24     8            port  I
            8   24     9            jdii  Ljdk/jshell/execution/JdiInitiator;
            9   24    10              vm  Lcom/sun/jdi/VirtualMachine;
           10   24    11         process  Ljava/lang/Process;
           11   24    12  deathListeners  Ljava/util/List<Ljava/util/function/Consumer<Ljava/lang/String;>;>;
           13   24    13          socket  Ljava/net/Socket;
           14   24    14             out  Ljava/io/OutputStream;
           15   24    15         outputs  Ljava/util/Map<Ljava/lang/String;Ljava/io/OutputStream;>;
           18   24    16           input  Ljava/util/Map<Ljava/lang/String;Ljava/io/InputStream;>;
      Exception table:
        from    to  target  type
           2    22      24  any
           1    23      27  any
          24    27      27  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      env          
      remoteAgent  
      isLaunch     
      host         
      timeout      

  private void <init>(jdk.jshell.spi.ExecutionEnv, java.io.ObjectOutput, java.io.ObjectInput, com.sun.jdi.VirtualMachine, java.lang.Process, java.lang.String, java.util.List<java.util.function.Consumer<java.lang.String>>);
    descriptor: (Ljdk/jshell/spi/ExecutionEnv;Ljava/io/ObjectOutput;Ljava/io/ObjectInput;Lcom/sun/jdi/VirtualMachine;Ljava/lang/Process;Ljava/lang/String;Ljava/util/List;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=8, args_size=8
        start local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
        start local 1 // jdk.jshell.spi.ExecutionEnv env
        start local 2 // java.io.ObjectOutput cmdout
        start local 3 // java.io.ObjectInput cmdin
        start local 4 // com.sun.jdi.VirtualMachine vm
        start local 5 // java.lang.Process process
        start local 6 // java.lang.String remoteAgent
        start local 7 // java.util.List deathListeners
         0: .line 140
            aload 0 /* this */
            aload 2 /* cmdout */
            aload 3 /* cmdin */
            invokespecial jdk.jshell.execution.JdiExecutionControl.<init>:(Ljava/io/ObjectOutput;Ljava/io/ObjectInput;)V
         1: .line 72
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.STOP_LOCK:Ljava/lang/Object;
         2: .line 73
            aload 0 /* this */
            iconst_0
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.userCodeRunning:Z
         3: .line 141
            aload 0 /* this */
            aload 4 /* vm */
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.vm:Lcom/sun/jdi/VirtualMachine;
         4: .line 142
            aload 0 /* this */
            aload 5 /* process */
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
         5: .line 143
            aload 0 /* this */
            aload 6 /* remoteAgent */
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.remoteAgent:Ljava/lang/String;
         6: .line 147
            aload 7 /* deathListeners */
            aload 1 /* env */
            invokedynamic accept(Ljdk/jshell/spi/ExecutionEnv;)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/JdiDefaultExecutionControl.lambda$2(Ljdk/jshell/spi/ExecutionEnv;Ljava/lang/String;)V (6)
                  (Ljava/lang/String;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         7: .line 148
            aload 7 /* deathListeners */
            aload 0 /* this */
            invokedynamic accept(Ljdk/jshell/execution/JdiDefaultExecutionControl;)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/JdiDefaultExecutionControl.lambda$3(Ljava/lang/String;)V (7)
                  (Ljava/lang/String;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         8: .line 149
            return
        end local 7 // java.util.List deathListeners
        end local 6 // java.lang.String remoteAgent
        end local 5 // java.lang.Process process
        end local 4 // com.sun.jdi.VirtualMachine vm
        end local 3 // java.io.ObjectInput cmdin
        end local 2 // java.io.ObjectOutput cmdout
        end local 1 // jdk.jshell.spi.ExecutionEnv env
        end local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    9     0            this  Ljdk/jshell/execution/JdiDefaultExecutionControl;
            0    9     1             env  Ljdk/jshell/spi/ExecutionEnv;
            0    9     2          cmdout  Ljava/io/ObjectOutput;
            0    9     3           cmdin  Ljava/io/ObjectInput;
            0    9     4              vm  Lcom/sun/jdi/VirtualMachine;
            0    9     5         process  Ljava/lang/Process;
            0    9     6     remoteAgent  Ljava/lang/String;
            0    9     7  deathListeners  Ljava/util/List<Ljava/util/function/Consumer<Ljava/lang/String;>;>;
    Signature: (Ljdk/jshell/spi/ExecutionEnv;Ljava/io/ObjectOutput;Ljava/io/ObjectInput;Lcom/sun/jdi/VirtualMachine;Ljava/lang/Process;Ljava/lang/String;Ljava/util/List<Ljava/util/function/Consumer<Ljava/lang/String;>;>;)V
    MethodParameters:
                Name  Flags
      env             
      cmdout          
      cmdin           
      vm              
      process         
      remoteAgent     
      deathListeners  

  public java.lang.String invoke(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
        start local 1 // java.lang.String classname
        start local 2 // java.lang.String methodname
         0: .line 156
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.STOP_LOCK:Ljava/lang/Object;
            dup
            astore 4
            monitorenter
         1: .line 157
            aload 0 /* this */
            iconst_1
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.userCodeRunning:Z
         2: .line 156
            aload 4
            monitorexit
         3: goto 6
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.String java.lang.String top java.lang.Object
      StackMap stack: java.lang.Throwable
         4: aload 4
            monitorexit
         5: athrow
         6: .line 160
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.String java.lang.String
      StackMap stack:
            aload 0 /* this */
            aload 1 /* classname */
            aload 2 /* methodname */
            invokespecial jdk.jshell.execution.JdiExecutionControl.invoke:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* res */
        start local 3 // java.lang.String res
         7: .line 161
            goto 16
        end local 3 // java.lang.String res
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: astore 4
         9: .line 162
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.STOP_LOCK:Ljava/lang/Object;
            dup
            astore 5
            monitorenter
        10: .line 163
            aload 0 /* this */
            iconst_0
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.userCodeRunning:Z
        11: .line 162
            aload 5
            monitorexit
        12: goto 15
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.String java.lang.String top java.lang.Throwable java.lang.Object
      StackMap stack: java.lang.Throwable
        13: aload 5
            monitorexit
        14: athrow
        15: .line 165
      StackMap locals:
      StackMap stack:
            aload 4
            athrow
        start local 3 // java.lang.String res
        16: .line 162
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.String java.lang.String java.lang.String
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.STOP_LOCK:Ljava/lang/Object;
            dup
            astore 5
            monitorenter
        17: .line 163
            aload 0 /* this */
            iconst_0
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.userCodeRunning:Z
        18: .line 162
            aload 5
            monitorexit
        19: goto 22
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.String java.lang.String java.lang.String top java.lang.Object
      StackMap stack: java.lang.Throwable
        20: aload 5
            monitorexit
        21: athrow
        22: .line 166
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.String java.lang.String java.lang.String
      StackMap stack:
            aload 3 /* res */
            areturn
        end local 3 // java.lang.String res
        end local 2 // java.lang.String methodname
        end local 1 // java.lang.String classname
        end local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   23     0        this  Ljdk/jshell/execution/JdiDefaultExecutionControl;
            0   23     1   classname  Ljava/lang/String;
            0   23     2  methodname  Ljava/lang/String;
            7    8     3         res  Ljava/lang/String;
           16   23     3         res  Ljava/lang/String;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
           6     8       8  any
          10    12      13  any
          13    14      13  any
          17    19      20  any
          20    21      20  any
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
    MethodParameters:
            Name  Flags
      classname   
      methodname  

  public void stop();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=12, args_size=1
        start local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
         0: .line 178
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.STOP_LOCK:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 179
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.userCodeRunning:Z
            ifne 4
         2: .line 180
            aload 1
            monitorexit
         3: return
         4: .line 183
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.vm:()Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.suspend:()V
         5: .line 186
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.vm:()Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.allThreads:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 25
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.Object top java.util.Iterator
      StackMap stack:
         6: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.sun.jdi.ThreadReference
            astore 2 /* thread */
        start local 2 // com.sun.jdi.ThreadReference thread
         7: .line 188
            aload 2 /* thread */
            invokeinterface com.sun.jdi.ThreadReference.frames:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 24
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.Object com.sun.jdi.ThreadReference java.util.Iterator top java.util.Iterator
      StackMap stack:
         8: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.sun.jdi.StackFrame
            astore 4 /* frame */
        start local 4 // com.sun.jdi.StackFrame frame
         9: .line 189
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.remoteAgent:Ljava/lang/String;
            aload 4 /* frame */
            invokeinterface com.sun.jdi.StackFrame.location:()Lcom/sun/jdi/Location;
            invokeinterface com.sun.jdi.Location.declaringType:()Lcom/sun/jdi/ReferenceType;
            invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 24
        10: .line 190
            ldc "invoke"
            aload 4 /* frame */
            invokeinterface com.sun.jdi.StackFrame.location:()Lcom/sun/jdi/Location;
            invokeinterface com.sun.jdi.Location.method:()Lcom/sun/jdi/Method;
            invokeinterface com.sun.jdi.Method.name:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 12
        11: .line 191
            ldc "varValue"
            aload 4 /* frame */
            invokeinterface com.sun.jdi.StackFrame.location:()Lcom/sun/jdi/Location;
            invokeinterface com.sun.jdi.Location.method:()Lcom/sun/jdi/Method;
            invokeinterface com.sun.jdi.Method.name:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 24
        12: .line 192
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.Object com.sun.jdi.ThreadReference java.util.Iterator com.sun.jdi.StackFrame java.util.Iterator
      StackMap stack:
            aload 4 /* frame */
            invokeinterface com.sun.jdi.StackFrame.thisObject:()Lcom/sun/jdi/ObjectReference;
            astore 6 /* thiz */
        start local 6 // com.sun.jdi.ObjectReference thiz
        13: .line 193
            aload 6 /* thiz */
            invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
            ldc "inClientCode"
            invokeinterface com.sun.jdi.ReferenceType.fieldByName:(Ljava/lang/String;)Lcom/sun/jdi/Field;
            astore 7 /* inClientCode */
        start local 7 // com.sun.jdi.Field inClientCode
        14: .line 194
            aload 6 /* thiz */
            invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
            ldc "expectingStop"
            invokeinterface com.sun.jdi.ReferenceType.fieldByName:(Ljava/lang/String;)Lcom/sun/jdi/Field;
            astore 8 /* expectingStop */
        start local 8 // com.sun.jdi.Field expectingStop
        15: .line 195
            aload 6 /* thiz */
            invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
            ldc "stopException"
            invokeinterface com.sun.jdi.ReferenceType.fieldByName:(Ljava/lang/String;)Lcom/sun/jdi/Field;
            astore 9 /* stopException */
        start local 9 // com.sun.jdi.Field stopException
        16: .line 196
            aload 6 /* thiz */
            aload 7 /* inClientCode */
            invokeinterface com.sun.jdi.ObjectReference.getValue:(Lcom/sun/jdi/Field;)Lcom/sun/jdi/Value;
            checkcast com.sun.jdi.BooleanValue
            invokeinterface com.sun.jdi.BooleanValue.value:()Z
            ifeq 32
        17: .line 197
            aload 6 /* thiz */
            aload 8 /* expectingStop */
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.vm:()Lcom/sun/jdi/VirtualMachine;
            iconst_1
            invokeinterface com.sun.jdi.VirtualMachine.mirrorOf:(Z)Lcom/sun/jdi/BooleanValue;
            invokeinterface com.sun.jdi.ObjectReference.setValue:(Lcom/sun/jdi/Field;Lcom/sun/jdi/Value;)V
        18: .line 198
            aload 6 /* thiz */
            aload 9 /* stopException */
            invokeinterface com.sun.jdi.ObjectReference.getValue:(Lcom/sun/jdi/Field;)Lcom/sun/jdi/Value;
            checkcast com.sun.jdi.ObjectReference
            astore 10 /* stopInstance */
        start local 10 // com.sun.jdi.ObjectReference stopInstance
        19: .line 200
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.vm:()Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.resume:()V
        20: .line 201
            ldc "Attempting to stop the client code...\n"
            iconst_0
            anewarray java.lang.Object
            invokestatic jdk.jshell.execution.JdiDefaultExecutionControl.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
        21: .line 202
            aload 2 /* thread */
            aload 10 /* stopInstance */
            invokeinterface com.sun.jdi.ThreadReference.stop:(Lcom/sun/jdi/ObjectReference;)V
        22: .line 203
            aload 6 /* thiz */
            aload 8 /* expectingStop */
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.vm:()Lcom/sun/jdi/VirtualMachine;
            iconst_0
            invokeinterface com.sun.jdi.VirtualMachine.mirrorOf:(Z)Lcom/sun/jdi/BooleanValue;
            invokeinterface com.sun.jdi.ObjectReference.setValue:(Lcom/sun/jdi/Field;Lcom/sun/jdi/Value;)V
        end local 10 // com.sun.jdi.ObjectReference stopInstance
        23: .line 206
            goto 32
        end local 9 // com.sun.jdi.Field stopException
        end local 8 // com.sun.jdi.Field expectingStop
        end local 7 // com.sun.jdi.Field inClientCode
        end local 6 // com.sun.jdi.ObjectReference thiz
        end local 4 // com.sun.jdi.StackFrame frame
        24: .line 188
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.Object com.sun.jdi.ThreadReference java.util.Iterator top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        end local 2 // com.sun.jdi.ThreadReference thread
        25: .line 186
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.Object top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 6
        26: .line 210
            goto 32
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl java.lang.Object
      StackMap stack: java.lang.Exception
        27: astore 2 /* ex */
        start local 2 // java.lang.Exception ex
        28: .line 211
            new jdk.jshell.spi.ExecutionControl$InternalException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Exception on remote stop: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* 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 2 // java.lang.Exception ex
        29: .line 212
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 11
        30: .line 213
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.vm:()Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.resume:()V
        31: .line 214
            aload 11
            athrow
        32: .line 213
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.vm:()Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.resume:()V
        33: .line 178
            aload 1
            monitorexit
        34: goto 37
      StackMap locals:
      StackMap stack: java.lang.Throwable
        35: aload 1
            monitorexit
        36: athrow
        37: .line 216
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   38     0           this  Ljdk/jshell/execution/JdiDefaultExecutionControl;
            7   25     2         thread  Lcom/sun/jdi/ThreadReference;
            9   24     4          frame  Lcom/sun/jdi/StackFrame;
           13   24     6           thiz  Lcom/sun/jdi/ObjectReference;
           14   24     7   inClientCode  Lcom/sun/jdi/Field;
           15   24     8  expectingStop  Lcom/sun/jdi/Field;
           16   24     9  stopException  Lcom/sun/jdi/Field;
           19   23    10   stopInstance  Lcom/sun/jdi/ObjectReference;
           28   29     2             ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           5    26      27  Class com.sun.jdi.ClassNotLoadedException
           5    26      27  Class com.sun.jdi.IncompatibleThreadStateException
           5    26      27  Class com.sun.jdi.InvalidTypeException
           5    29      29  any
           1     3      35  any
           4    34      35  any
          35    36      35  any
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
         0: .line 220
            aload 0 /* this */
            invokespecial jdk.jshell.execution.JdiExecutionControl.close:()V
         1: .line 221
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.disposeVM:()V
         2: .line 222
            return
        end local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jshell/execution/JdiDefaultExecutionControl;

  private synchronized void disposeVM();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
         0: .line 226
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.vm:Lcom/sun/jdi/VirtualMachine;
            ifnull 18
         1: .line 227
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.vm:Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.dispose:()V
         2: .line 228
            aload 0 /* this */
            aconst_null
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.vm:Lcom/sun/jdi/VirtualMachine;
         3: .line 230
            goto 18
      StackMap locals:
      StackMap stack: com.sun.jdi.VMDisconnectedException
         4: pop
         5: .line 235
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            ifnull 21
         6: .line 236
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.destroy:()V
         7: .line 237
            aload 0 /* this */
            aconst_null
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            goto 21
         8: .line 232
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 1 /* ex */
        start local 1 // java.lang.Throwable ex
         9: .line 233
            aload 1 /* ex */
            ldc "disposeVM"
            invokestatic jdk.jshell.execution.JdiDefaultExecutionControl.debug:(Ljava/lang/Throwable;Ljava/lang/String;)V
        end local 1 // java.lang.Throwable ex
        10: .line 235
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            ifnull 21
        11: .line 236
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.destroy:()V
        12: .line 237
            aload 0 /* this */
            aconst_null
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            goto 21
        13: .line 234
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2
        14: .line 235
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            ifnull 17
        15: .line 236
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.destroy:()V
        16: .line 237
            aload 0 /* this */
            aconst_null
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
        17: .line 239
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl top java.lang.Throwable
      StackMap stack:
            aload 2
            athrow
        18: .line 235
      StackMap locals: jdk.jshell.execution.JdiDefaultExecutionControl
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            ifnull 21
        19: .line 236
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.destroy:()V
        20: .line 237
            aload 0 /* this */
            aconst_null
            putfield jdk.jshell.execution.JdiDefaultExecutionControl.process:Ljava/lang/Process;
        21: .line 240
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   22     0  this  Ljdk/jshell/execution/JdiDefaultExecutionControl;
            9   10     1    ex  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     3       4  Class com.sun.jdi.VMDisconnectedException
           0     3       8  Class java.lang.Throwable
           0     5      13  any
           8    10      13  any

  protected synchronized com.sun.jdi.VirtualMachine vm();
    descriptor: ()Lcom/sun/jdi/VirtualMachine;
    flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
         0: .line 244
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.vm:Lcom/sun/jdi/VirtualMachine;
            ifnonnull 2
         1: .line 245
            new jdk.jshell.spi.ExecutionControl$EngineTerminationException
            dup
            ldc "VM closed"
            invokespecial jdk.jshell.spi.ExecutionControl$EngineTerminationException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 247
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jshell.execution.JdiDefaultExecutionControl.vm:Lcom/sun/jdi/VirtualMachine;
            areturn
        end local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jshell/execution/JdiDefaultExecutionControl;
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$EngineTerminationException

  private static void debug(java.lang.String, java.lang.Object[]);
    descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // java.lang.String format
        start local 1 // java.lang.Object[] args
         0: .line 260
            return
        end local 1 // java.lang.Object[] args
        end local 0 // java.lang.String format
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  format  Ljava/lang/String;
            0    1     1    args  [Ljava/lang/Object;
    MethodParameters:
        Name  Flags
      format  
      args    

  private static void debug(java.lang.Throwable, java.lang.String);
    descriptor: (Ljava/lang/Throwable;Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // java.lang.Throwable ex
        start local 1 // java.lang.String where
         0: .line 270
            return
        end local 1 // java.lang.String where
        end local 0 // java.lang.Throwable ex
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0     ex  Ljava/lang/Throwable;
            0    1     1  where  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      ex     
      where  

  private static void lambda$0(java.util.List, java.lang.String);
    descriptor: (Ljava/util/List;Ljava/lang/String;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=4, args_size=2
        start local 1 // java.lang.String s
         0: .line 109
            aload 0
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 3
      StackMap locals: java.util.List java.lang.String top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.function.Consumer
            astore 2 /* h */
        start local 2 // java.util.function.Consumer h
         2: .line 110
            aload 2 /* h */
            aload 1 /* s */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        end local 2 // java.util.function.Consumer h
         3: .line 109
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 112
            return
        end local 1 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     1     s  Ljava/lang/String;
            2    3     2     h  Ljava/util/function/Consumer<Ljava/lang/String;>;

  private static jdk.jshell.spi.ExecutionControl lambda$1(jdk.jshell.spi.ExecutionEnv, com.sun.jdi.VirtualMachine, java.lang.Process, java.lang.String, java.util.List, java.io.ObjectInput, java.io.ObjectOutput);
    descriptor: (Ljdk/jshell/spi/ExecutionEnv;Lcom/sun/jdi/VirtualMachine;Ljava/lang/Process;Ljava/lang/String;Ljava/util/List;Ljava/io/ObjectInput;Ljava/io/ObjectOutput;)Ljdk/jshell/spi/ExecutionControl;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=9, locals=7, args_size=7
        start local 5 // java.io.ObjectInput objIn
        start local 6 // java.io.ObjectOutput objOut
         0: .line 125
            new jdk.jshell.execution.JdiDefaultExecutionControl
            dup
            aload 0
         1: .line 126
            aload 6 /* objOut */
            aload 5 /* objIn */
            aload 1
            aload 2
            aload 3
            aload 4
         2: .line 125
            invokespecial jdk.jshell.execution.JdiDefaultExecutionControl.<init>:(Ljdk/jshell/spi/ExecutionEnv;Ljava/io/ObjectOutput;Ljava/io/ObjectInput;Lcom/sun/jdi/VirtualMachine;Ljava/lang/Process;Ljava/lang/String;Ljava/util/List;)V
         3: .line 126
            areturn
        end local 6 // java.io.ObjectOutput objOut
        end local 5 // java.io.ObjectInput objIn
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     5   objIn  Ljava/io/ObjectInput;
            0    4     6  objOut  Ljava/io/ObjectOutput;

  private static void lambda$2(jdk.jshell.spi.ExecutionEnv, java.lang.String);
    descriptor: (Ljdk/jshell/spi/ExecutionEnv;Ljava/lang/String;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=2
        start local 1 // java.lang.String s
         0: .line 147
            aload 0
            invokeinterface jdk.jshell.spi.ExecutionEnv.closeDown:()V
            return
        end local 1 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     1     s  Ljava/lang/String;

  private void lambda$3(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
        start local 1 // java.lang.String s
         0: .line 148
            aload 0 /* this */
            invokevirtual jdk.jshell.execution.JdiDefaultExecutionControl.disposeVM:()V
            return
        end local 1 // java.lang.String s
        end local 0 // jdk.jshell.execution.JdiDefaultExecutionControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jshell/execution/JdiDefaultExecutionControl;
            0    1     1     s  Ljava/lang/String;
}
SourceFile: "JdiDefaultExecutionControl.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  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 abstract RunException = jdk.jshell.spi.ExecutionControl$RunException of jdk.jshell.spi.ExecutionControl