public class com.sun.tools.sjavac.client.SjavacClient implements com.sun.tools.sjavac.server.Sjavac
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.tools.sjavac.client.SjavacClient
  super_class: java.lang.Object
{
  private final java.lang.String id;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.sun.tools.sjavac.server.PortFile portFile;
    descriptor: Lcom/sun/tools/sjavac/server/PortFile;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int keepalive;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int poolsize;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  static int CONNECTION_TIMEOUT;
    descriptor: I
    flags: (0x0008) ACC_STATIC

  static int MAX_CONNECT_ATTEMPTS;
    descriptor: I
    flags: (0x0008) ACC_STATIC

  static int WAIT_BETWEEN_CONNECT_ATTEMPTS;
    descriptor: I
    flags: (0x0008) ACC_STATIC

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 81
            sipush 2000
            putstatic com.sun.tools.sjavac.client.SjavacClient.CONNECTION_TIMEOUT:I
         1: .line 82
            iconst_3
            putstatic com.sun.tools.sjavac.client.SjavacClient.MAX_CONNECT_ATTEMPTS:I
         2: .line 83
            sipush 2000
            putstatic com.sun.tools.sjavac.client.SjavacClient.WAIT_BETWEEN_CONNECT_ATTEMPTS:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(com.sun.tools.sjavac.options.Options);
    descriptor: (Lcom/sun/tools/sjavac/options/Options;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=8, args_size=2
        start local 0 // com.sun.tools.sjavac.client.SjavacClient this
        start local 1 // com.sun.tools.sjavac.options.Options options
         0: .line 88
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 89
            aload 1 /* options */
            invokevirtual com.sun.tools.sjavac.options.Options.getServerConf:()Ljava/lang/String;
            astore 2 /* tmpServerConf */
        start local 2 // java.lang.String tmpServerConf
         2: .line 90
            aload 2 /* tmpServerConf */
            ifnull 3
            aload 2 /* tmpServerConf */
            goto 4
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient com.sun.tools.sjavac.options.Options java.lang.String
      StackMap stack:
         3: ldc ""
      StackMap locals:
      StackMap stack: java.lang.String
         4: astore 3 /* serverConf */
        start local 3 // java.lang.String serverConf
         5: .line 91
            ldc "id"
            aload 3 /* serverConf */
            invokestatic com.sun.tools.sjavac.Util.extractStringOption:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* tmpId */
        start local 4 // java.lang.String tmpId
         6: .line 92
            aload 0 /* this */
            aload 4 /* tmpId */
            ifnull 7
            aload 4 /* tmpId */
            goto 8
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient com.sun.tools.sjavac.options.Options java.lang.String java.lang.String java.lang.String
      StackMap stack: com.sun.tools.sjavac.client.SjavacClient
         7: new java.lang.StringBuilder
            dup
            ldc "id"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            new java.util.Random
            dup
            invokespecial java.util.Random.<init>:()V
            invokevirtual java.util.Random.nextLong:()J
            ldc 9223372036854775807
            land
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient com.sun.tools.sjavac.options.Options java.lang.String java.lang.String java.lang.String
      StackMap stack: com.sun.tools.sjavac.client.SjavacClient java.lang.String
         8: putfield com.sun.tools.sjavac.client.SjavacClient.id:Ljava/lang/String;
         9: .line 93
            aload 1 /* options */
            invokevirtual com.sun.tools.sjavac.options.Options.getDestDir:()Ljava/nio/file/Path;
        10: .line 94
            ldc "javac_server"
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
        11: .line 95
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
        12: .line 96
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
        13: .line 93
            astore 5 /* defaultPortfile */
        start local 5 // java.lang.String defaultPortfile
        14: .line 97
            ldc "portfile"
            aload 3 /* serverConf */
            aload 5 /* defaultPortfile */
            invokestatic com.sun.tools.sjavac.Util.extractStringOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 6 /* portfileName */
        start local 6 // java.lang.String portfileName
        15: .line 98
            aload 0 /* this */
            aload 6 /* portfileName */
            invokestatic com.sun.tools.sjavac.server.SjavacServer.getPortFile:(Ljava/lang/String;)Lcom/sun/tools/sjavac/server/PortFile;
            putfield com.sun.tools.sjavac.client.SjavacClient.portFile:Lcom/sun/tools/sjavac/server/PortFile;
        16: .line 99
            aload 0 /* this */
            ldc "sjavac"
            aload 3 /* serverConf */
            ldc "sjavac"
            invokestatic com.sun.tools.sjavac.Util.extractStringOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            putfield com.sun.tools.sjavac.client.SjavacClient.sjavacForkCmd:Ljava/lang/String;
        17: .line 100
            ldc "poolsize"
            aload 3 /* serverConf */
            invokestatic com.sun.tools.sjavac.Util.extractIntOption:(Ljava/lang/String;Ljava/lang/String;)I
            istore 7 /* poolsize */
        start local 7 // int poolsize
        18: .line 101
            aload 0 /* this */
            ldc "keepalive"
            aload 3 /* serverConf */
            bipush 120
            invokestatic com.sun.tools.sjavac.Util.extractIntOption:(Ljava/lang/String;Ljava/lang/String;I)I
            putfield com.sun.tools.sjavac.client.SjavacClient.keepalive:I
        19: .line 103
            aload 0 /* this */
            iload 7 /* poolsize */
            ifle 20
            iload 7 /* poolsize */
            goto 21
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient com.sun.tools.sjavac.options.Options java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int
      StackMap stack: com.sun.tools.sjavac.client.SjavacClient
        20: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            invokevirtual java.lang.Runtime.availableProcessors:()I
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient com.sun.tools.sjavac.options.Options java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int
      StackMap stack: com.sun.tools.sjavac.client.SjavacClient int
        21: putfield com.sun.tools.sjavac.client.SjavacClient.poolsize:I
        22: .line 104
            aload 0 /* this */
            aload 3 /* serverConf */
            ldc ""
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 23
            new java.lang.StringBuilder
            dup
            ldc "id="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield com.sun.tools.sjavac.client.SjavacClient.id:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ",portfile="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 6 /* portfileName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            goto 24
      StackMap locals:
      StackMap stack: com.sun.tools.sjavac.client.SjavacClient
        23: aload 3 /* serverConf */
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient com.sun.tools.sjavac.options.Options java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int
      StackMap stack: com.sun.tools.sjavac.client.SjavacClient java.lang.String
        24: putfield com.sun.tools.sjavac.client.SjavacClient.settings:Ljava/lang/String;
        25: .line 105
            return
        end local 7 // int poolsize
        end local 6 // java.lang.String portfileName
        end local 5 // java.lang.String defaultPortfile
        end local 4 // java.lang.String tmpId
        end local 3 // java.lang.String serverConf
        end local 2 // java.lang.String tmpServerConf
        end local 1 // com.sun.tools.sjavac.options.Options options
        end local 0 // com.sun.tools.sjavac.client.SjavacClient this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   26     0             this  Lcom/sun/tools/sjavac/client/SjavacClient;
            0   26     1          options  Lcom/sun/tools/sjavac/options/Options;
            2   26     2    tmpServerConf  Ljava/lang/String;
            5   26     3       serverConf  Ljava/lang/String;
            6   26     4            tmpId  Ljava/lang/String;
           14   26     5  defaultPortfile  Ljava/lang/String;
           15   26     6     portfileName  Ljava/lang/String;
           18   26     7         poolsize  I
    MethodParameters:
         Name  Flags
      options  

  public java.lang.String serverSettings();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.tools.sjavac.client.SjavacClient this
         0: .line 112
            aload 0 /* this */
            getfield com.sun.tools.sjavac.client.SjavacClient.settings:Ljava/lang/String;
            areturn
        end local 0 // com.sun.tools.sjavac.client.SjavacClient this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/tools/sjavac/client/SjavacClient;

  public com.sun.tools.javac.main.Main$Result compile(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=12, args_size=2
        start local 0 // com.sun.tools.sjavac.client.SjavacClient this
        start local 1 // java.lang.String[] args
         0: .line 117
            aconst_null
            astore 2 /* result */
        start local 2 // com.sun.tools.javac.main.Main$Result result
         1: .line 118
            aconst_null
            astore 3
            aconst_null
            astore 4
         2: aload 0 /* this */
            invokevirtual com.sun.tools.sjavac.client.SjavacClient.tryConnect:()Ljava/net/Socket;
            astore 5 /* socket */
        start local 5 // java.net.Socket socket
         3: .line 119
            new java.io.PrintWriter
            dup
            new java.io.OutputStreamWriter
            dup
            aload 5 /* socket */
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
            astore 6 /* out */
        start local 6 // java.io.PrintWriter out
         4: .line 120
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 5 /* socket */
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
            astore 7 /* in */
        start local 7 // java.io.BufferedReader in
         5: .line 123
            aload 6 /* out */
            aload 1 /* args */
            arraylength
            invokevirtual java.io.PrintWriter.println:(I)V
         6: .line 124
            aload 1 /* args */
            dup
            astore 11
            arraylength
            istore 10
            iconst_0
            istore 9
            goto 10
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient java.lang.String[] com.sun.tools.javac.main.Main$Result java.lang.Throwable java.lang.Throwable java.net.Socket java.io.PrintWriter java.io.BufferedReader top int int java.lang.String[]
      StackMap stack:
         7: aload 11
            iload 9
            aaload
            astore 8 /* arg */
        start local 8 // java.lang.String arg
         8: .line 125
            aload 6 /* out */
            aload 8 /* arg */
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
        end local 8 // java.lang.String arg
         9: .line 124
            iinc 9 1
      StackMap locals:
      StackMap stack:
        10: iload 9
            iload 10
            if_icmplt 7
        11: .line 126
            aload 6 /* out */
            invokevirtual java.io.PrintWriter.flush:()V
        12: .line 130
            goto 25
        start local 8 // java.lang.String line
        13: .line 131
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient java.lang.String[] com.sun.tools.javac.main.Main$Result java.lang.Throwable java.lang.Throwable java.net.Socket java.io.PrintWriter java.io.BufferedReader java.lang.String
      StackMap stack:
            aload 8 /* line */
            ldc ":"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifne 15
        14: .line 132
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Could not parse protocol line: >>\""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 8 /* line */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\"<<"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        15: .line 134
      StackMap locals:
      StackMap stack:
            aload 8 /* line */
            ldc ":"
            iconst_2
            invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
            astore 9 /* typeAndContent */
        start local 9 // java.lang.String[] typeAndContent
        16: .line 135
            aload 9 /* typeAndContent */
            iconst_0
            aaload
            astore 10 /* type */
        start local 10 // java.lang.String type
        17: .line 136
            aload 9 /* typeAndContent */
            iconst_1
            aaload
            astore 11 /* content */
        start local 11 // java.lang.String content
        18: .line 139
            invokestatic com.sun.tools.sjavac.Log.isDebugging:()Z
            ifeq 20
        19: .line 141
            new java.lang.StringBuilder
            dup
            ldc "[sjavac-server] "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 11 /* content */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 11 /* content */
        20: .line 143
      StackMap locals: java.lang.String[] java.lang.String java.lang.String
      StackMap stack:
            aload 10 /* type */
            invokestatic com.sun.tools.sjavac.Log$Level.valueOf:(Ljava/lang/String;)Lcom/sun/tools/sjavac/Log$Level;
            aload 11 /* content */
            invokestatic com.sun.tools.sjavac.Log.log:(Lcom/sun/tools/sjavac/Log$Level;Ljava/lang/String;)V
        21: .line 144
            goto 25
        22: .line 145
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
            pop
        23: .line 149
            aload 10 /* type */
            ldc "RC"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 25
        24: .line 150
            aload 11 /* content */
            invokestatic com.sun.tools.javac.main.Main$Result.valueOf:(Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;
            astore 2 /* result */
        end local 11 // java.lang.String content
        end local 10 // java.lang.String type
        end local 9 // java.lang.String[] typeAndContent
        end local 8 // java.lang.String line
        25: .line 130
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient java.lang.String[] com.sun.tools.javac.main.Main$Result java.lang.Throwable java.lang.Throwable java.net.Socket java.io.PrintWriter java.io.BufferedReader
      StackMap stack:
            aload 7 /* in */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            dup
            astore 8 /* line */
        start local 8 // java.lang.String line
        26: ifnonnull 13
        end local 8 // java.lang.String line
        end local 7 // java.io.BufferedReader in
        end local 6 // java.io.PrintWriter out
        27: .line 153
            aload 5 /* socket */
            ifnull 46
            aload 5 /* socket */
            invokevirtual java.net.Socket.close:()V
            goto 46
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient java.lang.String[] com.sun.tools.javac.main.Main$Result java.lang.Throwable java.lang.Throwable java.net.Socket
      StackMap stack: java.lang.Throwable
        28: astore 3
            aload 5 /* socket */
            ifnull 29
            aload 5 /* socket */
            invokevirtual java.net.Socket.close:()V
        end local 5 // java.net.Socket socket
      StackMap locals:
      StackMap stack:
        29: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        30: astore 4
            aload 3
            ifnonnull 31
            aload 4
            astore 3
            goto 32
      StackMap locals:
      StackMap stack:
        31: aload 3
            aload 4
            if_acmpeq 32
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        32: aload 3
            athrow
      StackMap locals: com.sun.tools.sjavac.client.SjavacClient java.lang.String[] com.sun.tools.javac.main.Main$Result
      StackMap stack: com.sun.tools.sjavac.client.PortFileInaccessibleException
        33: pop
        34: .line 154
            ldc "Port file inaccessible."
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
        35: .line 155
            getstatic com.sun.tools.javac.main.Main$Result.ERROR:Lcom/sun/tools/javac/main/Main$Result;
            astore 2 /* result */
            goto 46
        36: .line 156
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
        37: .line 157
            new java.lang.StringBuilder
            dup
            ldc "IOException caught during compilation: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* 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;
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
        38: .line 158
            aload 3 /* ioe */
            invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/Throwable;)V
        39: .line 159
            getstatic com.sun.tools.javac.main.Main$Result.ERROR:Lcom/sun/tools/javac/main/Main$Result;
            astore 2 /* result */
        end local 3 // java.io.IOException ioe
        40: goto 46
        41: .line 160
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 3 /* ie */
        start local 3 // java.lang.InterruptedException ie
        42: .line 161
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
        43: .line 162
            ldc "Compilation interrupted."
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
        44: .line 163
            aload 3 /* ie */
            invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/Throwable;)V
        45: .line 164
            getstatic com.sun.tools.javac.main.Main$Result.ERROR:Lcom/sun/tools/javac/main/Main$Result;
            astore 2 /* result */
        end local 3 // java.lang.InterruptedException ie
        46: .line 167
      StackMap locals:
      StackMap stack:
            aload 2 /* result */
            ifnonnull 48
        47: .line 169
            getstatic com.sun.tools.javac.main.Main$Result.ERROR:Lcom/sun/tools/javac/main/Main$Result;
            astore 2 /* result */
        48: .line 172
      StackMap locals:
      StackMap stack:
            aload 2 /* result */
            areturn
        end local 2 // com.sun.tools.javac.main.Main$Result result
        end local 1 // java.lang.String[] args
        end local 0 // com.sun.tools.sjavac.client.SjavacClient this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   49     0            this  Lcom/sun/tools/sjavac/client/SjavacClient;
            0   49     1            args  [Ljava/lang/String;
            1   49     2          result  Lcom/sun/tools/javac/main/Main$Result;
            3   29     5          socket  Ljava/net/Socket;
            4   27     6             out  Ljava/io/PrintWriter;
            5   27     7              in  Ljava/io/BufferedReader;
            8    9     8             arg  Ljava/lang/String;
           13   25     8            line  Ljava/lang/String;
           26   27     8            line  Ljava/lang/String;
           16   25     9  typeAndContent  [Ljava/lang/String;
           17   25    10            type  Ljava/lang/String;
           18   25    11         content  Ljava/lang/String;
           37   40     3             ioe  Ljava/io/IOException;
           42   46     3              ie  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
          18    21      22  Class java.lang.IllegalArgumentException
           3    27      28  any
           2    30      30  any
           1    33      33  Class com.sun.tools.sjavac.client.PortFileInaccessibleException
           1    33      36  Class java.io.IOException
           1    33      41  Class java.lang.InterruptedException
    MethodParameters:
      Name  Flags
      args  

  private java.net.Socket tryConnect();
    descriptor: ()Ljava/net/Socket;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // com.sun.tools.sjavac.client.SjavacClient this
         0: .line 179
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.tools.sjavac.client.SjavacClient.portFile:Lcom/sun/tools/sjavac/server/PortFile;
            invokevirtual com.sun.tools.sjavac.client.SjavacClient.makeSureServerIsRunning:(Lcom/sun/tools/sjavac/server/PortFile;)V
         1: .line 180
            iconst_0
            istore 1 /* attempt */
        start local 1 // int attempt
         2: .line 182
      StackMap locals: int
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "Trying to connect. Attempt "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iinc 1 /* attempt */ 1
            iload 1 /* attempt */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " of "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            getstatic com.sun.tools.sjavac.client.SjavacClient.MAX_CONNECT_ATTEMPTS:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
         3: .line 184
            aload 0 /* this */
            invokevirtual com.sun.tools.sjavac.client.SjavacClient.makeConnectionAttempt:()Ljava/net/Socket;
         4: areturn
         5: .line 185
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* ex */
        start local 2 // java.io.IOException ex
         6: .line 186
            new java.lang.StringBuilder
            dup
            ldc "Connection attempt failed: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* ex */
            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;
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
         7: .line 187
            iload 1 /* attempt */
            getstatic com.sun.tools.sjavac.client.SjavacClient.MAX_CONNECT_ATTEMPTS:I
            if_icmplt 10
         8: .line 188
            ldc "Giving up"
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
         9: .line 189
            new java.io.IOException
            dup
            ldc "Could not connect to server"
            aload 2 /* ex */
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.io.IOException ex
        10: .line 192
      StackMap locals:
      StackMap stack:
            getstatic com.sun.tools.sjavac.client.SjavacClient.WAIT_BETWEEN_CONNECT_ATTEMPTS:I
            i2l
            invokestatic java.lang.Thread.sleep:(J)V
        11: .line 181
            goto 2
        end local 1 // int attempt
        end local 0 // com.sun.tools.sjavac.client.SjavacClient this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0     this  Lcom/sun/tools/sjavac/client/SjavacClient;
            2   12     1  attempt  I
            6   10     2       ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     4       5  Class java.io.IOException
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException

  private java.net.Socket makeConnectionAttempt();
    descriptor: ()Ljava/net/Socket;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // com.sun.tools.sjavac.client.SjavacClient this
         0: .line 197
            new java.net.Socket
            dup
            invokespecial java.net.Socket.<init>:()V
            astore 1 /* socket */
        start local 1 // java.net.Socket socket
         1: .line 198
            aconst_null
            invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
            astore 2 /* localhost */
        start local 2 // java.net.InetAddress localhost
         2: .line 199
            new java.net.InetSocketAddress
            dup
            aload 2 /* localhost */
            aload 0 /* this */
            getfield com.sun.tools.sjavac.client.SjavacClient.portFile:Lcom/sun/tools/sjavac/server/PortFile;
            invokevirtual com.sun.tools.sjavac.server.PortFile.getPort:()I
            invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
            astore 3 /* address */
        start local 3 // java.net.InetSocketAddress address
         3: .line 200
            aload 1 /* socket */
            aload 3 /* address */
            getstatic com.sun.tools.sjavac.client.SjavacClient.CONNECTION_TIMEOUT:I
            invokevirtual java.net.Socket.connect:(Ljava/net/SocketAddress;I)V
         4: .line 201
            ldc "Connected"
            invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
         5: .line 202
            aload 1 /* socket */
            areturn
        end local 3 // java.net.InetSocketAddress address
        end local 2 // java.net.InetAddress localhost
        end local 1 // java.net.Socket socket
        end local 0 // com.sun.tools.sjavac.client.SjavacClient this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lcom/sun/tools/sjavac/client/SjavacClient;
            1    6     1     socket  Ljava/net/Socket;
            2    6     2  localhost  Ljava/net/InetAddress;
            3    6     3    address  Ljava/net/InetSocketAddress;
    Exceptions:
      throws java.io.IOException

  private void makeSureServerIsRunning(com.sun.tools.sjavac.server.PortFile);
    descriptor: (Lcom/sun/tools/sjavac/server/PortFile;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.sun.tools.sjavac.client.SjavacClient this
        start local 1 // com.sun.tools.sjavac.server.PortFile portFile
         0: .line 212
            aload 1 /* portFile */
            invokevirtual com.sun.tools.sjavac.server.PortFile.exists:()Z
            ifeq 6
         1: .line 213
            aload 1 /* portFile */
            invokevirtual com.sun.tools.sjavac.server.PortFile.lock:()V
         2: .line 214
            aload 1 /* portFile */
            invokevirtual com.sun.tools.sjavac.server.PortFile.getValues:()V
         3: .line 215
            aload 1 /* portFile */
            invokevirtual com.sun.tools.sjavac.server.PortFile.unlock:()V
         4: .line 217
            aload 1 /* portFile */
            invokevirtual com.sun.tools.sjavac.server.PortFile.containsPortInfo:()Z
            ifeq 6
         5: .line 219
            return
         6: .line 224
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.sjavac.client.SjavacClient.sjavacForkCmd:Ljava/lang/String;
         7: .line 225
            aload 1 /* portFile */
         8: .line 226
            aload 0 /* this */
            getfield com.sun.tools.sjavac.client.SjavacClient.poolsize:I
         9: .line 227
            aload 0 /* this */
            getfield com.sun.tools.sjavac.client.SjavacClient.keepalive:I
        10: .line 224
            invokestatic com.sun.tools.sjavac.client.SjavacClient.fork:(Ljava/lang/String;Lcom/sun/tools/sjavac/server/PortFile;II)V
        11: .line 228
            return
        end local 1 // com.sun.tools.sjavac.server.PortFile portFile
        end local 0 // com.sun.tools.sjavac.client.SjavacClient this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0      this  Lcom/sun/tools/sjavac/client/SjavacClient;
            0   12     1  portFile  Lcom/sun/tools/sjavac/server/PortFile;
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException
    MethodParameters:
          Name  Flags
      portFile  

  public void shutdown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // com.sun.tools.sjavac.client.SjavacClient this
         0: .line 233
            return
        end local 0 // com.sun.tools.sjavac.client.SjavacClient this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/tools/sjavac/client/SjavacClient;

  public static void fork(java.lang.String, com.sun.tools.sjavac.server.PortFile, int, int);
    descriptor: (Ljava/lang/String;Lcom/sun/tools/sjavac/server/PortFile;II)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=11, args_size=4
        start local 0 // java.lang.String sjavacCmd
        start local 1 // com.sun.tools.sjavac.server.PortFile portFile
        start local 2 // int poolsize
        start local 3 // int keepalive
         0: .line 240
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* cmd */
        start local 4 // java.util.List cmd
         1: .line 241
            aload 4 /* cmd */
            aload 0 /* sjavacCmd */
            invokestatic com.sun.tools.sjavac.options.OptionHelper.unescapeCmdArg:(Ljava/lang/String;)Ljava/lang/String;
            ldc " "
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         2: .line 242
            aload 4 /* cmd */
            new java.lang.StringBuilder
            dup
            ldc "--startserver:portfile="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         3: .line 243
            aload 1 /* portFile */
            invokevirtual com.sun.tools.sjavac.server.PortFile.getFilename:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         4: .line 244
            ldc ",poolsize="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 2 /* poolsize */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         5: .line 245
            ldc ",keepalive="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 3 /* keepalive */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         6: .line 242
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         7: .line 248
            new java.lang.StringBuilder
            dup
            ldc "Starting server. Command: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " "
            aload 4 /* cmd */
            invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
         8: .line 253
            new java.lang.ProcessBuilder
            dup
            aload 4 /* cmd */
            invokespecial java.lang.ProcessBuilder.<init>:(Ljava/util/List;)V
         9: .line 254
            iconst_1
            invokevirtual java.lang.ProcessBuilder.redirectErrorStream:(Z)Ljava/lang/ProcessBuilder;
        10: .line 255
            invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
        11: .line 253
            astore 5 /* serverProcess */
        start local 5 // java.lang.Process serverProcess
        12: .line 256
            goto 17
        end local 5 // java.lang.Process serverProcess
      StackMap locals: java.lang.String com.sun.tools.sjavac.server.PortFile int int java.util.List
      StackMap stack: java.io.IOException
        13: astore 6 /* ex */
        start local 6 // java.io.IOException ex
        14: .line 259
            new java.lang.StringBuilder
            dup
            ldc "Failed to create server process: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 6 /* ex */
            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;
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
        15: .line 260
            aload 6 /* ex */
            invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/Throwable;)V
        16: .line 261
            new java.io.IOException
            dup
            aload 6 /* ex */
            invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 6 // java.io.IOException ex
        start local 5 // java.lang.Process serverProcess
        17: .line 267
      StackMap locals: java.lang.Process
      StackMap stack:
            aload 1 /* portFile */
            invokevirtual com.sun.tools.sjavac.server.PortFile.waitForValidValues:()V
        18: .line 268
            goto 37
      StackMap locals:
      StackMap stack: java.io.IOException
        19: astore 6 /* ex */
        start local 6 // java.io.IOException ex
        20: .line 272
            new java.lang.StringBuilder
            dup
            ldc "Sjavac server failed to initialize: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 6 /* ex */
            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;
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
        21: .line 273
            ldc "Process output:"
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
        22: .line 274
            new java.io.InputStreamReader
            dup
            aload 5 /* serverProcess */
            invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            astore 7 /* serverStdoutStderr */
        start local 7 // java.io.Reader serverStdoutStderr
        23: .line 275
            aconst_null
            astore 8
            aconst_null
            astore 9
        24: new java.io.BufferedReader
            dup
            aload 7 /* serverStdoutStderr */
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
            astore 10 /* br */
        start local 10 // java.io.BufferedReader br
        25: .line 276
            aload 10 /* br */
            invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
            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
                  com/sun/tools/sjavac/Log.error(Ljava/lang/String;)V (6)
                  (Ljava/lang/String;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
        26: .line 277
            aload 10 /* br */
            ifnull 32
            aload 10 /* br */
            invokevirtual java.io.BufferedReader.close:()V
            goto 32
      StackMap locals: java.lang.String com.sun.tools.sjavac.server.PortFile int int java.util.List java.lang.Process java.io.IOException java.io.Reader java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack: java.lang.Throwable
        27: astore 8
            aload 10 /* br */
            ifnull 28
            aload 10 /* br */
            invokevirtual java.io.BufferedReader.close:()V
        end local 10 // java.io.BufferedReader br
      StackMap locals:
      StackMap stack:
        28: aload 8
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        29: astore 9
            aload 8
            ifnonnull 30
            aload 9
            astore 8
            goto 31
      StackMap locals:
      StackMap stack:
        30: aload 8
            aload 9
            if_acmpeq 31
            aload 8
            aload 9
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        31: aload 8
            athrow
        32: .line 278
      StackMap locals:
      StackMap stack:
            ldc "<End of process output>"
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
        33: .line 280
            new java.lang.StringBuilder
            dup
            ldc "Process exit code: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* serverProcess */
            invokevirtual java.lang.Process.exitValue:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
        34: .line 281
            goto 36
      StackMap locals:
      StackMap stack: java.lang.IllegalThreadStateException
        35: pop
        36: .line 284
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Server failed to initialize: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 6 /* ex */
            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;
            aload 6 /* ex */
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 7 // java.io.Reader serverStdoutStderr
        end local 6 // java.io.IOException ex
        37: .line 286
      StackMap locals:
      StackMap stack:
            return
        end local 5 // java.lang.Process serverProcess
        end local 4 // java.util.List cmd
        end local 3 // int keepalive
        end local 2 // int poolsize
        end local 1 // com.sun.tools.sjavac.server.PortFile portFile
        end local 0 // java.lang.String sjavacCmd
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   38     0           sjavacCmd  Ljava/lang/String;
            0   38     1            portFile  Lcom/sun/tools/sjavac/server/PortFile;
            0   38     2            poolsize  I
            0   38     3           keepalive  I
            1   38     4                 cmd  Ljava/util/List<Ljava/lang/String;>;
           12   13     5       serverProcess  Ljava/lang/Process;
           17   38     5       serverProcess  Ljava/lang/Process;
           14   17     6                  ex  Ljava/io/IOException;
           20   37     6                  ex  Ljava/io/IOException;
           23   37     7  serverStdoutStderr  Ljava/io/Reader;
           25   28    10                  br  Ljava/io/BufferedReader;
      Exception table:
        from    to  target  type
           8    12      13  Class java.io.IOException
          17    18      19  Class java.io.IOException
          25    26      27  any
          24    29      29  any
          33    34      35  Class java.lang.IllegalThreadStateException
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException
    MethodParameters:
           Name  Flags
      sjavacCmd  
      portFile   
      poolsize   
      keepalive  
}
SourceFile: "SjavacClient.java"
InnerClasses:
  public final Result = com.sun.tools.javac.main.Main$Result of com.sun.tools.javac.main.Main
  public final Level = com.sun.tools.sjavac.Log$Level of com.sun.tools.sjavac.Log
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles