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=1, locals=0, args_size=0
         0: .line 74
            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 252
            getstatic org.graalvm.compiler.serviceprovider.JavaVersionUtil.Java8OrEarlier:Z
            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 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 50
            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=0, args_size=0
         0: .line 66
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tAssume cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    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 80
            aload 0 /* arg */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 2
         1: .line 81
            ldc "\"\""
            areturn
         2: .line 83
      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 84
            aload 1 /* m */
            invokevirtual java.util.regex.Matcher.matches:()Z
            ifeq 5
         4: .line 85
            aload 0 /* arg */
            areturn
         5: .line 88
      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 95
            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 96
            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 97
            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 98
            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 96
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 101
            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 110
            invokestatic org.graalvm.compiler.test.SubprocessUtil.getProcessCommandLine:()Ljava/util/List;
            astore 0 /* args */
        start local 0 // java.util.List args
         1: .line 111
            aload 0 /* args */
            ifnonnull 3
         2: .line 112
            aconst_null
            areturn
         3: .line 114
      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 115
            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 boolean isJavaAgentAttached();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 123
            invokestatic org.graalvm.compiler.test.SubprocessUtil.getVMCommandLine:()Ljava/util/List;
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  org/graalvm/compiler/test/SubprocessUtil.lambda$0(Ljava/lang/String;)Z (6)
                  (Ljava/lang/String;)Z
            invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  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 191
            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 201
            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 212
            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 223
            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 234
            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 235
            aload 3 /* command */
            aload 2 /* mainClassAndArgs */
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         2: .line 236
            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 237
            aload 1 /* env */
            ifnull 6
         4: .line 238
            aload 4 /* processBuilder */
            invokevirtual java.lang.ProcessBuilder.environment:()Ljava/util/Map;
            astore 5 /* processBuilderEnv */
        start local 5 // java.util.Map processBuilderEnv
         5: .line 239
            aload 5 /* processBuilderEnv */
            aload 1 /* env */
            invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
        end local 5 // java.util.Map processBuilderEnv
         6: .line 241
      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 242
            aload 4 /* processBuilder */
            invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
            astore 5 /* process */
        start local 5 // java.lang.Process process
         8: .line 243
            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 245
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 8 /* output */
        start local 8 // java.util.List output
        10: .line 246
            goto 12
        start local 7 // java.lang.String line
        11: .line 247
      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 246
      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 249
            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 255
            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 256
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
         2: .line 258
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.test.SubprocessUtil.isJava8OrEarlier:Z
            ifne 14
         3: .line 259
            aload 0 /* optionName */
            ldc "--version"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         4: .line 260
            aload 0 /* optionName */
            ldc "--show-version"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         5: .line 261
            aload 0 /* optionName */
            ldc "--dry-run"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         6: .line 262
            aload 0 /* optionName */
            ldc "--disable-@files"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         7: .line 263
            aload 0 /* optionName */
            ldc "--dry-run"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         8: .line 264
            aload 0 /* optionName */
            ldc "--help"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         9: .line 265
            aload 0 /* optionName */
            ldc "--help-extra"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 11
        10: .line 266
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        11: .line 268
      StackMap locals:
      StackMap stack:
            aload 0 /* optionName */
            ldc "--"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 14
        12: .line 269
            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 272
      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 276
            iconst_1
            istore 1 /* i */
        start local 1 // int i
         1: .line 278
            goto 9
         2: .line 279
      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 280
            aload 2 /* s */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 45
            if_icmpeq 5
         4: .line 281
            iload 1 /* i */
            ireturn
         5: .line 282
      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 283
            iinc 1 /* i */ 2
         7: .line 284
            goto 9
         8: .line 285
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
        end local 2 // java.lang.String s
         9: .line 278
      StackMap locals:
      StackMap stack:
            iload 1 /* i */
            aload 0 /* commandLine */
            invokeinterface java.util.List.size:()I
            if_icmplt 2
        10: .line 288
            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  

  private static boolean lambda$0(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String args
         0: .line 123
            aload 0 /* args */
            ldc "-javaagent"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ireturn
        end local 0 // java.lang.String args
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  args  Ljava/lang/String;
}
SourceFile: "SubprocessUtil.java"
NestMembers:
  org.graalvm.compiler.test.SubprocessUtil$Subprocess
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public Subprocess = org.graalvm.compiler.test.SubprocessUtil$Subprocess of org.graalvm.compiler.test.SubprocessUtil