class com.sun.tools.example.debug.bdi.ChildSession extends com.sun.tools.example.debug.bdi.Session
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.tools.example.debug.bdi.ChildSession
  super_class: com.sun.tools.example.debug.bdi.Session
{
  private java.lang.Process process;
    descriptor: Ljava/lang/Process;
    flags: (0x0002) ACC_PRIVATE

  private java.io.PrintWriter in;
    descriptor: Ljava/io/PrintWriter;
    flags: (0x0002) ACC_PRIVATE

  private java.io.BufferedReader out;
    descriptor: Ljava/io/BufferedReader;
    flags: (0x0002) ACC_PRIVATE

  private java.io.BufferedReader err;
    descriptor: Ljava/io/BufferedReader;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.tools.example.debug.bdi.InputListener input;
    descriptor: Lcom/sun/tools/example/debug/bdi/InputListener;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.tools.example.debug.bdi.OutputListener output;
    descriptor: Lcom/sun/tools/example/debug/bdi/OutputListener;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.tools.example.debug.bdi.OutputListener error;
    descriptor: Lcom/sun/tools/example/debug/bdi/OutputListener;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(com.sun.tools.example.debug.bdi.ExecutionManager, java.lang.String, java.lang.String, com.sun.tools.example.debug.bdi.InputListener, com.sun.tools.example.debug.bdi.OutputListener, com.sun.tools.example.debug.bdi.OutputListener, com.sun.tools.example.debug.bdi.OutputListener);
    descriptor: (Lcom/sun/tools/example/debug/bdi/ExecutionManager;Ljava/lang/String;Ljava/lang/String;Lcom/sun/tools/example/debug/bdi/InputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=8, args_size=8
        start local 0 // com.sun.tools.example.debug.bdi.ChildSession this
        start local 1 // com.sun.tools.example.debug.bdi.ExecutionManager runtime
        start local 2 // java.lang.String userVMArgs
        start local 3 // java.lang.String cmdLine
        start local 4 // com.sun.tools.example.debug.bdi.InputListener input
        start local 5 // com.sun.tools.example.debug.bdi.OutputListener output
        start local 6 // com.sun.tools.example.debug.bdi.OutputListener error
        start local 7 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
         0: .line 65
            aload 0 /* this */
            aload 1 /* runtime */
            aload 7 /* diagnostics */
            aload 2 /* userVMArgs */
            aload 3 /* cmdLine */
            invokestatic com.sun.tools.example.debug.bdi.ChildSession.getVM:(Lcom/sun/tools/example/debug/bdi/OutputListener;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jdi/VirtualMachine;
         1: .line 66
            aload 4 /* input */
            aload 5 /* output */
            aload 6 /* error */
            aload 7 /* diagnostics */
            invokespecial com.sun.tools.example.debug.bdi.ChildSession.<init>:(Lcom/sun/tools/example/debug/bdi/ExecutionManager;Lcom/sun/jdi/VirtualMachine;Lcom/sun/tools/example/debug/bdi/InputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
         2: .line 67
            return
        end local 7 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
        end local 6 // com.sun.tools.example.debug.bdi.OutputListener error
        end local 5 // com.sun.tools.example.debug.bdi.OutputListener output
        end local 4 // com.sun.tools.example.debug.bdi.InputListener input
        end local 3 // java.lang.String cmdLine
        end local 2 // java.lang.String userVMArgs
        end local 1 // com.sun.tools.example.debug.bdi.ExecutionManager runtime
        end local 0 // com.sun.tools.example.debug.bdi.ChildSession this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Lcom/sun/tools/example/debug/bdi/ChildSession;
            0    3     1      runtime  Lcom/sun/tools/example/debug/bdi/ExecutionManager;
            0    3     2   userVMArgs  Ljava/lang/String;
            0    3     3      cmdLine  Ljava/lang/String;
            0    3     4        input  Lcom/sun/tools/example/debug/bdi/InputListener;
            0    3     5       output  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    3     6        error  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    3     7  diagnostics  Lcom/sun/tools/example/debug/bdi/OutputListener;
    MethodParameters:
             Name  Flags
      runtime      
      userVMArgs   
      cmdLine      
      input        
      output       
      error        
      diagnostics  

  public void <init>(com.sun.tools.example.debug.bdi.ExecutionManager, com.sun.jdi.connect.LaunchingConnector, java.util.Map<java.lang.String, com.sun.jdi.connect.Connector$Argument>, com.sun.tools.example.debug.bdi.InputListener, com.sun.tools.example.debug.bdi.OutputListener, com.sun.tools.example.debug.bdi.OutputListener, com.sun.tools.example.debug.bdi.OutputListener);
    descriptor: (Lcom/sun/tools/example/debug/bdi/ExecutionManager;Lcom/sun/jdi/connect/LaunchingConnector;Ljava/util/Map;Lcom/sun/tools/example/debug/bdi/InputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=8, args_size=8
        start local 0 // com.sun.tools.example.debug.bdi.ChildSession this
        start local 1 // com.sun.tools.example.debug.bdi.ExecutionManager runtime
        start local 2 // com.sun.jdi.connect.LaunchingConnector connector
        start local 3 // java.util.Map arguments
        start local 4 // com.sun.tools.example.debug.bdi.InputListener input
        start local 5 // com.sun.tools.example.debug.bdi.OutputListener output
        start local 6 // com.sun.tools.example.debug.bdi.OutputListener error
        start local 7 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
         0: .line 76
            aload 0 /* this */
            aload 1 /* runtime */
            aload 7 /* diagnostics */
            aload 2 /* connector */
            aload 3 /* arguments */
            invokestatic com.sun.tools.example.debug.bdi.ChildSession.generalGetVM:(Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/jdi/connect/LaunchingConnector;Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;
         1: .line 77
            aload 4 /* input */
            aload 5 /* output */
            aload 6 /* error */
            aload 7 /* diagnostics */
            invokespecial com.sun.tools.example.debug.bdi.ChildSession.<init>:(Lcom/sun/tools/example/debug/bdi/ExecutionManager;Lcom/sun/jdi/VirtualMachine;Lcom/sun/tools/example/debug/bdi/InputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
         2: .line 78
            return
        end local 7 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
        end local 6 // com.sun.tools.example.debug.bdi.OutputListener error
        end local 5 // com.sun.tools.example.debug.bdi.OutputListener output
        end local 4 // com.sun.tools.example.debug.bdi.InputListener input
        end local 3 // java.util.Map arguments
        end local 2 // com.sun.jdi.connect.LaunchingConnector connector
        end local 1 // com.sun.tools.example.debug.bdi.ExecutionManager runtime
        end local 0 // com.sun.tools.example.debug.bdi.ChildSession this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Lcom/sun/tools/example/debug/bdi/ChildSession;
            0    3     1      runtime  Lcom/sun/tools/example/debug/bdi/ExecutionManager;
            0    3     2    connector  Lcom/sun/jdi/connect/LaunchingConnector;
            0    3     3    arguments  Ljava/util/Map<Ljava/lang/String;Lcom/sun/jdi/connect/Connector$Argument;>;
            0    3     4        input  Lcom/sun/tools/example/debug/bdi/InputListener;
            0    3     5       output  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    3     6        error  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    3     7  diagnostics  Lcom/sun/tools/example/debug/bdi/OutputListener;
    Signature: (Lcom/sun/tools/example/debug/bdi/ExecutionManager;Lcom/sun/jdi/connect/LaunchingConnector;Ljava/util/Map<Ljava/lang/String;Lcom/sun/jdi/connect/Connector$Argument;>;Lcom/sun/tools/example/debug/bdi/InputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
    MethodParameters:
             Name  Flags
      runtime      
      connector    
      arguments    
      input        
      output       
      error        
      diagnostics  

  private void <init>(com.sun.tools.example.debug.bdi.ExecutionManager, com.sun.jdi.VirtualMachine, com.sun.tools.example.debug.bdi.InputListener, com.sun.tools.example.debug.bdi.OutputListener, com.sun.tools.example.debug.bdi.OutputListener, com.sun.tools.example.debug.bdi.OutputListener);
    descriptor: (Lcom/sun/tools/example/debug/bdi/ExecutionManager;Lcom/sun/jdi/VirtualMachine;Lcom/sun/tools/example/debug/bdi/InputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=7, args_size=7
        start local 0 // com.sun.tools.example.debug.bdi.ChildSession this
        start local 1 // com.sun.tools.example.debug.bdi.ExecutionManager runtime
        start local 2 // com.sun.jdi.VirtualMachine vm
        start local 3 // com.sun.tools.example.debug.bdi.InputListener input
        start local 4 // com.sun.tools.example.debug.bdi.OutputListener output
        start local 5 // com.sun.tools.example.debug.bdi.OutputListener error
        start local 6 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
         0: .line 86
            aload 0 /* this */
            aload 2 /* vm */
            aload 1 /* runtime */
            aload 6 /* diagnostics */
            invokespecial com.sun.tools.example.debug.bdi.Session.<init>:(Lcom/sun/jdi/VirtualMachine;Lcom/sun/tools/example/debug/bdi/ExecutionManager;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
         1: .line 87
            aload 0 /* this */
            aload 3 /* input */
            putfield com.sun.tools.example.debug.bdi.ChildSession.input:Lcom/sun/tools/example/debug/bdi/InputListener;
         2: .line 88
            aload 0 /* this */
            aload 4 /* output */
            putfield com.sun.tools.example.debug.bdi.ChildSession.output:Lcom/sun/tools/example/debug/bdi/OutputListener;
         3: .line 89
            aload 0 /* this */
            aload 5 /* error */
            putfield com.sun.tools.example.debug.bdi.ChildSession.error:Lcom/sun/tools/example/debug/bdi/OutputListener;
         4: .line 90
            return
        end local 6 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
        end local 5 // com.sun.tools.example.debug.bdi.OutputListener error
        end local 4 // com.sun.tools.example.debug.bdi.OutputListener output
        end local 3 // com.sun.tools.example.debug.bdi.InputListener input
        end local 2 // com.sun.jdi.VirtualMachine vm
        end local 1 // com.sun.tools.example.debug.bdi.ExecutionManager runtime
        end local 0 // com.sun.tools.example.debug.bdi.ChildSession this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lcom/sun/tools/example/debug/bdi/ChildSession;
            0    5     1      runtime  Lcom/sun/tools/example/debug/bdi/ExecutionManager;
            0    5     2           vm  Lcom/sun/jdi/VirtualMachine;
            0    5     3        input  Lcom/sun/tools/example/debug/bdi/InputListener;
            0    5     4       output  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    5     5        error  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    5     6  diagnostics  Lcom/sun/tools/example/debug/bdi/OutputListener;
    MethodParameters:
             Name  Flags
      runtime      
      vm           
      input        
      output       
      error        
      diagnostics  

  public boolean attach();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=4, args_size=1
        start local 0 // com.sun.tools.example.debug.bdi.ChildSession this
         0: .line 95
            aload 0 /* this */
            invokevirtual com.sun.tools.example.debug.bdi.ChildSession.connectToVMProcess:()Z
            ifne 3
         1: .line 96
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.diagnostics:Lcom/sun/tools/example/debug/bdi/OutputListener;
            ldc "Could not launch VM"
            invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
         2: .line 97
            iconst_0
            ireturn
         3: .line 110
      StackMap locals:
      StackMap stack:
            new com.sun.tools.example.debug.bdi.ChildSession$OutputReader
            dup
            ldc "output reader"
            ldc "output"
         4: .line 111
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.out:Ljava/io/BufferedReader;
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.output:Lcom/sun/tools/example/debug/bdi/OutputListener;
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.diagnostics:Lcom/sun/tools/example/debug/bdi/OutputListener;
         5: .line 110
            invokespecial com.sun.tools.example.debug.bdi.ChildSession$OutputReader.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/io/BufferedReader;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
         6: .line 109
            astore 1 /* outputReader */
        start local 1 // com.sun.tools.example.debug.bdi.ChildSession$OutputReader outputReader
         7: .line 112
            aload 1 /* outputReader */
            bipush 9
            invokevirtual com.sun.tools.example.debug.bdi.ChildSession$OutputReader.setPriority:(I)V
         8: .line 113
            aload 1 /* outputReader */
            invokevirtual com.sun.tools.example.debug.bdi.ChildSession$OutputReader.start:()V
         9: .line 116
            new com.sun.tools.example.debug.bdi.ChildSession$OutputReader
            dup
            ldc "error reader"
            ldc "error"
        10: .line 117
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.err:Ljava/io/BufferedReader;
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.error:Lcom/sun/tools/example/debug/bdi/OutputListener;
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.diagnostics:Lcom/sun/tools/example/debug/bdi/OutputListener;
        11: .line 116
            invokespecial com.sun.tools.example.debug.bdi.ChildSession$OutputReader.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/io/BufferedReader;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
        12: .line 115
            astore 2 /* errorReader */
        start local 2 // com.sun.tools.example.debug.bdi.ChildSession$OutputReader errorReader
        13: .line 118
            aload 2 /* errorReader */
            bipush 9
            invokevirtual com.sun.tools.example.debug.bdi.ChildSession$OutputReader.setPriority:(I)V
        14: .line 119
            aload 2 /* errorReader */
            invokevirtual com.sun.tools.example.debug.bdi.ChildSession$OutputReader.start:()V
        15: .line 122
            new com.sun.tools.example.debug.bdi.ChildSession$InputWriter
            dup
            ldc "input writer"
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.in:Ljava/io/PrintWriter;
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.input:Lcom/sun/tools/example/debug/bdi/InputListener;
            invokespecial com.sun.tools.example.debug.bdi.ChildSession$InputWriter.<init>:(Ljava/lang/String;Ljava/io/PrintWriter;Lcom/sun/tools/example/debug/bdi/InputListener;)V
        16: .line 121
            astore 3 /* inputWriter */
        start local 3 // com.sun.tools.example.debug.bdi.ChildSession$InputWriter inputWriter
        17: .line 123
            aload 3 /* inputWriter */
            bipush 9
            invokevirtual com.sun.tools.example.debug.bdi.ChildSession$InputWriter.setPriority:(I)V
        18: .line 124
            aload 3 /* inputWriter */
            invokevirtual com.sun.tools.example.debug.bdi.ChildSession$InputWriter.start:()V
        19: .line 126
            aload 0 /* this */
            invokespecial com.sun.tools.example.debug.bdi.Session.attach:()Z
            ifne 24
        20: .line 127
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
            ifnull 23
        21: .line 128
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.destroy:()V
        22: .line 129
            aload 0 /* this */
            aconst_null
            putfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
        23: .line 131
      StackMap locals: com.sun.tools.example.debug.bdi.ChildSession$OutputReader com.sun.tools.example.debug.bdi.ChildSession$OutputReader com.sun.tools.example.debug.bdi.ChildSession$InputWriter
      StackMap stack:
            iconst_0
            ireturn
        24: .line 137
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 3 // com.sun.tools.example.debug.bdi.ChildSession$InputWriter inputWriter
        end local 2 // com.sun.tools.example.debug.bdi.ChildSession$OutputReader errorReader
        end local 1 // com.sun.tools.example.debug.bdi.ChildSession$OutputReader outputReader
        end local 0 // com.sun.tools.example.debug.bdi.ChildSession this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   25     0          this  Lcom/sun/tools/example/debug/bdi/ChildSession;
            7   25     1  outputReader  Lcom/sun/tools/example/debug/bdi/ChildSession$OutputReader;
           13   25     2   errorReader  Lcom/sun/tools/example/debug/bdi/ChildSession$OutputReader;
           17   25     3   inputWriter  Lcom/sun/tools/example/debug/bdi/ChildSession$InputWriter;

  public void detach();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.tools.example.debug.bdi.ChildSession this
         0: .line 146
            aload 0 /* this */
            invokespecial com.sun.tools.example.debug.bdi.Session.detach:()V
         1: .line 154
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
            ifnull 4
         2: .line 155
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.destroy:()V
         3: .line 156
            aload 0 /* this */
            aconst_null
            putfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
         4: .line 159
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.sun.tools.example.debug.bdi.ChildSession this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/sun/tools/example/debug/bdi/ChildSession;

  private static void dumpStream(com.sun.tools.example.debug.bdi.OutputListener, java.io.InputStream);
    descriptor: (Lcom/sun/tools/example/debug/bdi/OutputListener;Ljava/io/InputStream;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
        start local 1 // java.io.InputStream stream
         0: .line 168
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 1 /* stream */
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
         1: .line 167
            astore 2 /* in */
        start local 2 // java.io.BufferedReader in
         2: .line 170
            goto 4
        start local 3 // java.lang.String line
         3: .line 171
      StackMap locals: java.io.BufferedReader java.lang.String
      StackMap stack:
            aload 0 /* diagnostics */
            aload 3 /* line */
            invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
        end local 3 // java.lang.String line
         4: .line 170
      StackMap locals:
      StackMap stack:
            aload 2 /* in */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            dup
            astore 3 /* line */
        start local 3 // java.lang.String line
         5: ifnonnull 3
         6: .line 173
            return
        end local 3 // java.lang.String line
        end local 2 // java.io.BufferedReader in
        end local 1 // java.io.InputStream stream
        end local 0 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0  diagnostics  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    7     1       stream  Ljava/io/InputStream;
            2    7     2           in  Ljava/io/BufferedReader;
            3    4     3         line  Ljava/lang/String;
            5    7     3         line  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      diagnostics  
      stream       

  private static void dumpFailedLaunchInfo(com.sun.tools.example.debug.bdi.OutputListener, java.lang.Process);
    descriptor: (Lcom/sun/tools/example/debug/bdi/OutputListener;Ljava/lang/Process;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
        start local 1 // java.lang.Process process
         0: .line 178
            aload 0 /* diagnostics */
            aload 1 /* process */
            invokevirtual java.lang.Process.getErrorStream:()Ljava/io/InputStream;
            invokestatic com.sun.tools.example.debug.bdi.ChildSession.dumpStream:(Lcom/sun/tools/example/debug/bdi/OutputListener;Ljava/io/InputStream;)V
         1: .line 179
            aload 0 /* diagnostics */
            aload 1 /* process */
            invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
            invokestatic com.sun.tools.example.debug.bdi.ChildSession.dumpStream:(Lcom/sun/tools/example/debug/bdi/OutputListener;Ljava/io/InputStream;)V
         2: .line 180
            goto 7
      StackMap locals:
      StackMap stack: java.io.IOException
         3: astore 2 /* e */
        start local 2 // java.io.IOException e
         4: .line 181
            aload 0 /* diagnostics */
            new java.lang.StringBuilder
            dup
            ldc "Unable to display process output: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         5: .line 182
            aload 2 /* e */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         6: .line 181
            invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
        end local 2 // java.io.IOException e
         7: .line 184
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Process process
        end local 0 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    8     0  diagnostics  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    8     1      process  Ljava/lang/Process;
            4    7     2            e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     2       3  Class java.io.IOException
    MethodParameters:
             Name  Flags
      diagnostics  
      process      

  private static com.sun.jdi.VirtualMachine getVM(com.sun.tools.example.debug.bdi.OutputListener, java.lang.String, java.lang.String);
    descriptor: (Lcom/sun/tools/example/debug/bdi/OutputListener;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jdi/VirtualMachine;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
        start local 1 // java.lang.String userVMArgs
        start local 2 // java.lang.String cmdLine
         0: .line 189
            invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
            astore 3 /* manager */
        start local 3 // com.sun.jdi.VirtualMachineManager manager
         1: .line 190
            aload 3 /* manager */
            invokeinterface com.sun.jdi.VirtualMachineManager.defaultConnector:()Lcom/sun/jdi/connect/LaunchingConnector;
            astore 4 /* connector */
        start local 4 // com.sun.jdi.connect.LaunchingConnector connector
         2: .line 191
            aload 4 /* connector */
            invokeinterface com.sun.jdi.connect.LaunchingConnector.defaultArguments:()Ljava/util/Map;
            astore 5 /* arguments */
        start local 5 // java.util.Map arguments
         3: .line 192
            aload 5 /* arguments */
            ldc "options"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.sun.jdi.connect.Connector$Argument
            aload 1 /* userVMArgs */
            invokeinterface com.sun.jdi.connect.Connector$Argument.setValue:(Ljava/lang/String;)V
         4: .line 193
            aload 5 /* arguments */
            ldc "main"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.sun.jdi.connect.Connector$Argument
            aload 2 /* cmdLine */
            invokeinterface com.sun.jdi.connect.Connector$Argument.setValue:(Ljava/lang/String;)V
         5: .line 194
            aload 0 /* diagnostics */
            aload 4 /* connector */
            aload 5 /* arguments */
            invokestatic com.sun.tools.example.debug.bdi.ChildSession.generalGetVM:(Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/jdi/connect/LaunchingConnector;Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;
            areturn
        end local 5 // java.util.Map arguments
        end local 4 // com.sun.jdi.connect.LaunchingConnector connector
        end local 3 // com.sun.jdi.VirtualMachineManager manager
        end local 2 // java.lang.String cmdLine
        end local 1 // java.lang.String userVMArgs
        end local 0 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    6     0  diagnostics  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0    6     1   userVMArgs  Ljava/lang/String;
            0    6     2      cmdLine  Ljava/lang/String;
            1    6     3      manager  Lcom/sun/jdi/VirtualMachineManager;
            2    6     4    connector  Lcom/sun/jdi/connect/LaunchingConnector;
            3    6     5    arguments  Ljava/util/Map<Ljava/lang/String;Lcom/sun/jdi/connect/Connector$Argument;>;
    MethodParameters:
             Name  Flags
      diagnostics  
      userVMArgs   
      cmdLine      

  private static com.sun.jdi.VirtualMachine generalGetVM(com.sun.tools.example.debug.bdi.OutputListener, com.sun.jdi.connect.LaunchingConnector, java.util.Map<java.lang.String, com.sun.jdi.connect.Connector$Argument>);
    descriptor: (Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/jdi/connect/LaunchingConnector;Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
        start local 1 // com.sun.jdi.connect.LaunchingConnector connector
        start local 2 // java.util.Map arguments
         0: .line 200
            aconst_null
            astore 3 /* vm */
        start local 3 // com.sun.jdi.VirtualMachine vm
         1: .line 202
            aload 0 /* diagnostics */
            ldc "Starting child."
            invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
         2: .line 203
            aload 1 /* connector */
            aload 2 /* arguments */
            invokeinterface com.sun.jdi.connect.LaunchingConnector.launch:(Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;
            astore 3 /* vm */
         3: .line 204
            goto 13
      StackMap locals: com.sun.tools.example.debug.bdi.OutputListener com.sun.jdi.connect.LaunchingConnector java.util.Map com.sun.jdi.VirtualMachine
      StackMap stack: java.io.IOException
         4: astore 4 /* ioe */
        start local 4 // java.io.IOException ioe
         5: .line 205
            aload 0 /* diagnostics */
            new java.lang.StringBuilder
            dup
            ldc "Unable to start child: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* ioe */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
        end local 4 // java.io.IOException ioe
         6: goto 13
         7: .line 206
      StackMap locals:
      StackMap stack: com.sun.jdi.connect.IllegalConnectorArgumentsException
            astore 4 /* icae */
        start local 4 // com.sun.jdi.connect.IllegalConnectorArgumentsException icae
         8: .line 207
            aload 0 /* diagnostics */
            new java.lang.StringBuilder
            dup
            ldc "Unable to start child: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* icae */
            invokevirtual com.sun.jdi.connect.IllegalConnectorArgumentsException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
        end local 4 // com.sun.jdi.connect.IllegalConnectorArgumentsException icae
         9: goto 13
        10: .line 208
      StackMap locals:
      StackMap stack: com.sun.jdi.connect.VMStartException
            astore 4 /* vmse */
        start local 4 // com.sun.jdi.connect.VMStartException vmse
        11: .line 209
            aload 0 /* diagnostics */
            new java.lang.StringBuilder
            dup
            ldc "Unable to start child: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* vmse */
            invokevirtual com.sun.jdi.connect.VMStartException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 10
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
        12: .line 210
            aload 0 /* diagnostics */
            aload 4 /* vmse */
            invokevirtual com.sun.jdi.connect.VMStartException.process:()Ljava/lang/Process;
            invokestatic com.sun.tools.example.debug.bdi.ChildSession.dumpFailedLaunchInfo:(Lcom/sun/tools/example/debug/bdi/OutputListener;Ljava/lang/Process;)V
        end local 4 // com.sun.jdi.connect.VMStartException vmse
        13: .line 212
      StackMap locals:
      StackMap stack:
            aload 3 /* vm */
            areturn
        end local 3 // com.sun.jdi.VirtualMachine vm
        end local 2 // java.util.Map arguments
        end local 1 // com.sun.jdi.connect.LaunchingConnector connector
        end local 0 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   14     0  diagnostics  Lcom/sun/tools/example/debug/bdi/OutputListener;
            0   14     1    connector  Lcom/sun/jdi/connect/LaunchingConnector;
            0   14     2    arguments  Ljava/util/Map<Ljava/lang/String;Lcom/sun/jdi/connect/Connector$Argument;>;
            1   14     3           vm  Lcom/sun/jdi/VirtualMachine;
            5    6     4          ioe  Ljava/io/IOException;
            8    9     4         icae  Lcom/sun/jdi/connect/IllegalConnectorArgumentsException;
           11   13     4         vmse  Lcom/sun/jdi/connect/VMStartException;
      Exception table:
        from    to  target  type
           1     3       4  Class java.io.IOException
           1     3       7  Class com.sun.jdi.connect.IllegalConnectorArgumentsException
           1     3      10  Class com.sun.jdi.connect.VMStartException
    Signature: (Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/jdi/connect/LaunchingConnector;Ljava/util/Map<Ljava/lang/String;Lcom/sun/jdi/connect/Connector$Argument;>;)Lcom/sun/jdi/VirtualMachine;
    MethodParameters:
             Name  Flags
      diagnostics  
      connector    
      arguments    

  private boolean connectToVMProcess();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // com.sun.tools.example.debug.bdi.ChildSession this
         0: .line 216
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.vm:Lcom/sun/jdi/VirtualMachine;
            ifnonnull 2
         1: .line 217
            iconst_0
            ireturn
         2: .line 219
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.vm:Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.process:()Ljava/lang/Process;
            putfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
         3: .line 220
            aload 0 /* this */
            new java.io.PrintWriter
            dup
            new java.io.OutputStreamWriter
            dup
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.getOutputStream:()Ljava/io/OutputStream;
            invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
            putfield com.sun.tools.example.debug.bdi.ChildSession.in:Ljava/io/PrintWriter;
         4: .line 222
            aload 0 /* this */
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            iconst_1
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
            putfield com.sun.tools.example.debug.bdi.ChildSession.out:Ljava/io/BufferedReader;
         5: .line 223
            aload 0 /* this */
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 0 /* this */
            getfield com.sun.tools.example.debug.bdi.ChildSession.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.getErrorStream:()Ljava/io/InputStream;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            iconst_1
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
            putfield com.sun.tools.example.debug.bdi.ChildSession.err:Ljava/io/BufferedReader;
         6: .line 224
            iconst_1
            ireturn
        end local 0 // com.sun.tools.example.debug.bdi.ChildSession this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/sun/tools/example/debug/bdi/ChildSession;
}
SourceFile: "ChildSession.java"
NestMembers:
  com.sun.tools.example.debug.bdi.ChildSession$InputWriter  com.sun.tools.example.debug.bdi.ChildSession$OutputReader  com.sun.tools.example.debug.bdi.ChildSession$OutputReader$1  com.sun.tools.example.debug.bdi.ChildSession$OutputReader$2
InnerClasses:
  public abstract Argument = com.sun.jdi.connect.Connector$Argument of com.sun.jdi.connect.Connector
  private InputWriter = com.sun.tools.example.debug.bdi.ChildSession$InputWriter of com.sun.tools.example.debug.bdi.ChildSession
  private OutputReader = com.sun.tools.example.debug.bdi.ChildSession$OutputReader of com.sun.tools.example.debug.bdi.ChildSession