public final class org.graalvm.compiler.test.SubprocessUtil
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.graalvm.compiler.test.SubprocessUtil
  super_class: java.lang.Object
{
  private static final java.util.regex.Pattern SAFE_SHELL_ARG;
    descriptor: Ljava/util/regex/Pattern;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final boolean isJava8OrEarlier;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 68
            ldc "[A-Za-z0-9@%_\\-\\+=:,\\./]+"
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            putstatic org.graalvm.compiler.test.SubprocessUtil.SAFE_SHELL_ARG:Ljava/util/regex/Pattern;
         1: .line 239
            ldc "java.specification.version"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            ldc "1.9"
            invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
            ifge 2
            iconst_1
            goto 3
      StackMap locals:
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: putstatic org.graalvm.compiler.test.SubprocessUtil.isJava8OrEarlier:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.test.SubprocessUtil this
         0: .line 45
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 46
            return
        end local 0 // org.graalvm.compiler.test.SubprocessUtil this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/compiler/test/SubprocessUtil;

  public static java.util.List<java.lang.String> getProcessCommandLine();
    descriptor: ()Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 55
            invokestatic java.lang.System.getenv:()Ljava/util/Map;
            ldc "MX_SUBPROCESS_COMMAND_FILE"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 0 /* processArgsFile */
        start local 0 // java.lang.String processArgsFile
         1: .line 56
            aload 0 /* processArgsFile */
            ifnull 5
         2: .line 58
            new java.io.File
            dup
            aload 0 /* processArgsFile */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            invokestatic java.nio.file.Files.readAllLines:(Ljava/nio/file/Path;)Ljava/util/List;
         3: areturn
         4: .line 59
      StackMap locals: java.lang.String
      StackMap stack: java.io.IOException
            pop
         5: .line 62
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // java.lang.String processArgsFile
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            1    6     0  processArgsFile  Ljava/lang/String;
      Exception table:
        from    to  target  type
           2     3       4  Class java.io.IOException
    Signature: ()Ljava/util/List<Ljava/lang/String;>;

  public static java.lang.String quoteShellArg(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // java.lang.String arg
         0: .line 74
            aload 0 /* arg */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 2
         1: .line 75
            ldc "\"\""
            areturn
         2: .line 77
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.test.SubprocessUtil.SAFE_SHELL_ARG:Ljava/util/regex/Pattern;
            aload 0 /* arg */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 1 /* m */
        start local 1 // java.util.regex.Matcher m
         3: .line 78
            aload 1 /* m */
            invokevirtual java.util.regex.Matcher.matches:()Z
            ifeq 5
         4: .line 79
            aload 0 /* arg */
            areturn
         5: .line 82
      StackMap locals: java.util.regex.Matcher
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "'"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* arg */
            ldc "'"
            ldc "'\"'\"'"
            invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
            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;
            areturn
        end local 1 // java.util.regex.Matcher m
        end local 0 // java.lang.String arg
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0   arg  Ljava/lang/String;
            3    6     1     m  Ljava/util/regex/Matcher;
    MethodParameters:
      Name  Flags
      arg   

  public static java.util.List<java.lang.String> withoutDebuggerArguments(java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // java.util.List args
         0: .line 89
            new java.util.ArrayList
            dup
            aload 0 /* args */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 1 /* result */
        start local 1 // java.util.List result
         1: .line 90
            aload 0 /* args */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 5
      StackMap locals: java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* arg */
        start local 2 // java.lang.String arg
         3: .line 91
            aload 2 /* arg */
            ldc "-Xdebug"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 5
            aload 2 /* arg */
            ldc "-Xrunjdwp:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 5
         4: .line 92
            aload 1 /* result */
            aload 2 /* arg */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.lang.String arg
         5: .line 90
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 95
            aload 1 /* result */
            areturn
        end local 1 // java.util.List result
        end local 0 // java.util.List args
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    args  Ljava/util/List<Ljava/lang/String;>;
            1    7     1  result  Ljava/util/List<Ljava/lang/String;>;
            3    5     2     arg  Ljava/lang/String;
    Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
    MethodParameters:
      Name  Flags
      args  

  public static java.util.List<java.lang.String> getVMCommandLine();
    descriptor: ()Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=0
         0: .line 104
            invokestatic org.graalvm.compiler.test.SubprocessUtil.getProcessCommandLine:()Ljava/util/List;
            astore 0 /* args */
        start local 0 // java.util.List args
         1: .line 105
            aload 0 /* args */
            ifnonnull 3
         2: .line 106
            aconst_null
            areturn
         3: .line 108
      StackMap locals: java.util.List
      StackMap stack:
            aload 0 /* args */
            invokestatic org.graalvm.compiler.test.SubprocessUtil.findMainClassIndex:(Ljava/util/List;)I
            istore 1 /* index */
        start local 1 // int index
         4: .line 109
            aload 0 /* args */
            iconst_0
            iload 1 /* index */
            invokeinterface java.util.List.subList:(II)Ljava/util/List;
            areturn
        end local 1 // int index
        end local 0 // java.util.List args
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            1    5     0   args  Ljava/util/List<Ljava/lang/String;>;
            4    5     1  index  I
    Signature: ()Ljava/util/List<Ljava/lang/String;>;

  public static org.graalvm.compiler.test.SubprocessUtil$Subprocess java(java.util.List<java.lang.String>, java.lang.String[]);
    descriptor: (Ljava/util/List;[Ljava/lang/String;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.util.List vmArgs
        start local 1 // java.lang.String[] mainClassAndArgs
         0: .line 178
            aload 0 /* vmArgs */
            aload 1 /* mainClassAndArgs */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokestatic org.graalvm.compiler.test.SubprocessUtil.java:(Ljava/util/List;Ljava/util/List;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
            areturn
        end local 1 // java.lang.String[] mainClassAndArgs
        end local 0 // java.util.List vmArgs
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0            vmArgs  Ljava/util/List<Ljava/lang/String;>;
            0    1     1  mainClassAndArgs  [Ljava/lang/String;
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException
    Signature: (Ljava/util/List<Ljava/lang/String;>;[Ljava/lang/String;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    MethodParameters:
                  Name  Flags
      vmArgs            
      mainClassAndArgs  

  public static org.graalvm.compiler.test.SubprocessUtil$Subprocess java(java.util.List<java.lang.String>, java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;Ljava/util/List;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.util.List vmArgs
        start local 1 // java.util.List mainClassAndArgs
         0: .line 188
            aload 0 /* vmArgs */
            aconst_null
            aload 1 /* mainClassAndArgs */
            invokestatic org.graalvm.compiler.test.SubprocessUtil.javaHelper:(Ljava/util/List;Ljava/util/Map;Ljava/util/List;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
            areturn
        end local 1 // java.util.List mainClassAndArgs
        end local 0 // java.util.List vmArgs
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0            vmArgs  Ljava/util/List<Ljava/lang/String;>;
            0    1     1  mainClassAndArgs  Ljava/util/List<Ljava/lang/String;>;
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException
    Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/List<Ljava/lang/String;>;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    MethodParameters:
                  Name  Flags
      vmArgs            
      mainClassAndArgs  

  public static org.graalvm.compiler.test.SubprocessUtil$Subprocess java(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.String>, java.lang.String[]);
    descriptor: (Ljava/util/List;Ljava/util/Map;[Ljava/lang/String;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // java.util.List vmArgs
        start local 1 // java.util.Map env
        start local 2 // java.lang.String[] mainClassAndArgs
         0: .line 199
            aload 0 /* vmArgs */
            aload 1 /* env */
            aload 2 /* mainClassAndArgs */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokestatic org.graalvm.compiler.test.SubprocessUtil.java:(Ljava/util/List;Ljava/util/Map;Ljava/util/List;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
            areturn
        end local 2 // java.lang.String[] mainClassAndArgs
        end local 1 // java.util.Map env
        end local 0 // java.util.List vmArgs
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0            vmArgs  Ljava/util/List<Ljava/lang/String;>;
            0    1     1               env  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0    1     2  mainClassAndArgs  [Ljava/lang/String;
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException
    Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;[Ljava/lang/String;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    MethodParameters:
                  Name  Flags
      vmArgs            
      env               
      mainClassAndArgs  

  public static org.graalvm.compiler.test.SubprocessUtil$Subprocess java(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.String>, java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;Ljava/util/Map;Ljava/util/List;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // java.util.List vmArgs
        start local 1 // java.util.Map env
        start local 2 // java.util.List mainClassAndArgs
         0: .line 210
            aload 0 /* vmArgs */
            aload 1 /* env */
            aload 2 /* mainClassAndArgs */
            invokestatic org.graalvm.compiler.test.SubprocessUtil.javaHelper:(Ljava/util/List;Ljava/util/Map;Ljava/util/List;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
            areturn
        end local 2 // java.util.List mainClassAndArgs
        end local 1 // java.util.Map env
        end local 0 // java.util.List vmArgs
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0            vmArgs  Ljava/util/List<Ljava/lang/String;>;
            0    1     1               env  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0    1     2  mainClassAndArgs  Ljava/util/List<Ljava/lang/String;>;
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException
    Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/List<Ljava/lang/String;>;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    MethodParameters:
                  Name  Flags
      vmArgs            
      env               
      mainClassAndArgs  

  private static org.graalvm.compiler.test.SubprocessUtil$Subprocess javaHelper(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.String>, java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;Ljava/util/Map;Ljava/util/List;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=9, args_size=3
        start local 0 // java.util.List vmArgs
        start local 1 // java.util.Map env
        start local 2 // java.util.List mainClassAndArgs
         0: .line 221
            new java.util.ArrayList
            dup
            aload 0 /* vmArgs */
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            astore 3 /* command */
        start local 3 // java.util.List command
         1: .line 222
            aload 3 /* command */
            aload 2 /* mainClassAndArgs */
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         2: .line 223
            new java.lang.ProcessBuilder
            dup
            aload 3 /* command */
            invokespecial java.lang.ProcessBuilder.<init>:(Ljava/util/List;)V
            astore 4 /* processBuilder */
        start local 4 // java.lang.ProcessBuilder processBuilder
         3: .line 224
            aload 1 /* env */
            ifnull 6
         4: .line 225
            aload 4 /* processBuilder */
            invokevirtual java.lang.ProcessBuilder.environment:()Ljava/util/Map;
            astore 5 /* processBuilderEnv */
        start local 5 // java.util.Map processBuilderEnv
         5: .line 226
            aload 5 /* processBuilderEnv */
            aload 1 /* env */
            invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
        end local 5 // java.util.Map processBuilderEnv
         6: .line 228
      StackMap locals: java.util.List java.lang.ProcessBuilder
      StackMap stack:
            aload 4 /* processBuilder */
            iconst_1
            invokevirtual java.lang.ProcessBuilder.redirectErrorStream:(Z)Ljava/lang/ProcessBuilder;
            pop
         7: .line 229
            aload 4 /* processBuilder */
            invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
            astore 5 /* process */
        start local 5 // java.lang.Process process
         8: .line 230
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 5 /* process */
            invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
            astore 6 /* stdout */
        start local 6 // java.io.BufferedReader stdout
         9: .line 232
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 8 /* output */
        start local 8 // java.util.List output
        10: .line 233
            goto 12
        start local 7 // java.lang.String line
        11: .line 234
      StackMap locals: java.util.List java.util.Map java.util.List java.util.List java.lang.ProcessBuilder java.lang.Process java.io.BufferedReader java.lang.String java.util.List
      StackMap stack:
            aload 8 /* output */
            aload 7 /* line */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 7 // java.lang.String line
        12: .line 233
      StackMap locals: java.util.List java.util.Map java.util.List java.util.List java.lang.ProcessBuilder java.lang.Process java.io.BufferedReader top java.util.List
      StackMap stack:
            aload 6 /* stdout */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            dup
            astore 7 /* line */
        start local 7 // java.lang.String line
        13: ifnonnull 11
        14: .line 236
            new org.graalvm.compiler.test.SubprocessUtil$Subprocess
            dup
            aload 3 /* command */
            aload 5 /* process */
            invokevirtual java.lang.Process.waitFor:()I
            aload 8 /* output */
            invokespecial org.graalvm.compiler.test.SubprocessUtil$Subprocess.<init>:(Ljava/util/List;ILjava/util/List;)V
            areturn
        end local 8 // java.util.List output
        end local 7 // java.lang.String line
        end local 6 // java.io.BufferedReader stdout
        end local 5 // java.lang.Process process
        end local 4 // java.lang.ProcessBuilder processBuilder
        end local 3 // java.util.List command
        end local 2 // java.util.List mainClassAndArgs
        end local 1 // java.util.Map env
        end local 0 // java.util.List vmArgs
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   15     0             vmArgs  Ljava/util/List<Ljava/lang/String;>;
            0   15     1                env  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0   15     2   mainClassAndArgs  Ljava/util/List<Ljava/lang/String;>;
            1   15     3            command  Ljava/util/List<Ljava/lang/String;>;
            3   15     4     processBuilder  Ljava/lang/ProcessBuilder;
            5    6     5  processBuilderEnv  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            8   15     5            process  Ljava/lang/Process;
            9   15     6             stdout  Ljava/io/BufferedReader;
           11   12     7               line  Ljava/lang/String;
           13   15     7               line  Ljava/lang/String;
           10   15     8             output  Ljava/util/List<Ljava/lang/String;>;
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException
    Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/List<Ljava/lang/String;>;)Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
    MethodParameters:
                  Name  Flags
      vmArgs            
      env               
      mainClassAndArgs  

  private static boolean hasArg(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String optionName
         0: .line 242
            aload 0 /* optionName */
            ldc "-cp"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 1
            aload 0 /* optionName */
            ldc "-classpath"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 243
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
         2: .line 245
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.test.SubprocessUtil.isJava8OrEarlier:Z
            ifne 14
         3: .line 246
            aload 0 /* optionName */
            ldc "--version"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         4: .line 247
            aload 0 /* optionName */
            ldc "--show-version"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         5: .line 248
            aload 0 /* optionName */
            ldc "--dry-run"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         6: .line 249
            aload 0 /* optionName */
            ldc "--disable-@files"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         7: .line 250
            aload 0 /* optionName */
            ldc "--dry-run"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         8: .line 251
            aload 0 /* optionName */
            ldc "--help"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         9: .line 252
            aload 0 /* optionName */
            ldc "--help-extra"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 11
        10: .line 253
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        11: .line 255
      StackMap locals:
      StackMap stack:
            aload 0 /* optionName */
            ldc "--"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 14
        12: .line 256
            aload 0 /* optionName */
            bipush 61
            invokevirtual java.lang.String.indexOf:(I)I
            iconst_m1
            if_icmpne 13
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
        13: iconst_0
            ireturn
        14: .line 259
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // java.lang.String optionName
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   15     0  optionName  Ljava/lang/String;
    MethodParameters:
            Name  Flags
      optionName  

  private static int findMainClassIndex(java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.util.List commandLine
         0: .line 263
            iconst_1
            istore 1 /* i */
        start local 1 // int i
         1: .line 265
            goto 9
         2: .line 266
      StackMap locals: int
      StackMap stack:
            aload 0 /* commandLine */
            iload 1 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* s */
        start local 2 // java.lang.String s
         3: .line 267
            aload 2 /* s */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 45
            if_icmpeq 5
         4: .line 268
            iload 1 /* i */
            ireturn
         5: .line 269
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* s */
            invokestatic org.graalvm.compiler.test.SubprocessUtil.hasArg:(Ljava/lang/String;)Z
            ifeq 8
         6: .line 270
            iinc 1 /* i */ 2
         7: .line 271
            goto 9
         8: .line 272
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
        end local 2 // java.lang.String s
         9: .line 265
      StackMap locals:
      StackMap stack:
            iload 1 /* i */
            aload 0 /* commandLine */
            invokeinterface java.util.List.size:()I
            if_icmplt 2
        10: .line 275
            new java.lang.InternalError
            dup
            invokespecial java.lang.InternalError.<init>:()V
            athrow
        end local 1 // int i
        end local 0 // java.util.List commandLine
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0  commandLine  Ljava/util/List<Ljava/lang/String;>;
            1   11     1            i  I
            3    9     2            s  Ljava/lang/String;
    Signature: (Ljava/util/List<Ljava/lang/String;>;)I
    MethodParameters:
             Name  Flags
      commandLine  
}
SourceFile: "SubprocessUtil.java"
NestMembers:
  org.graalvm.compiler.test.SubprocessUtil$Subprocess
InnerClasses:
  public Subprocess = org.graalvm.compiler.test.SubprocessUtil$Subprocess of org.graalvm.compiler.test.SubprocessUtil