public final class jdk.jpackage.internal.Executor
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jpackage.internal.Executor
  super_class: java.lang.Object
{
  public static final int INFINITE_TIMEOUT;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  private java.lang.ProcessBuilder pb;
    descriptor: Ljava/lang/ProcessBuilder;
    flags: (0x0002) ACC_PRIVATE

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

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

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

  private long timeout;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private java.util.List<java.lang.String> output;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Ljava/lang/String;>;

  private java.util.function.Consumer<java.util.stream.Stream<java.lang.String>> outputConsumer;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/function/Consumer<Ljava/util/stream/Stream<Ljava/lang/String;>;>;

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.Executor this
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 232
            aload 0 /* this */
            ldc -1
            putfield jdk.jpackage.internal.Executor.timeout:J
         2: .line 42
            return
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jpackage/internal/Executor;

  jdk.jpackage.internal.Executor setOutputConsumer(java.util.function.Consumer<java.util.stream.Stream<java.lang.String>>);
    descriptor: (Ljava/util/function/Consumer;)Ljdk/jpackage/internal/Executor;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.Executor this
        start local 1 // java.util.function.Consumer v
         0: .line 45
            aload 0 /* this */
            aload 1 /* v */
            putfield jdk.jpackage.internal.Executor.outputConsumer:Ljava/util/function/Consumer;
         1: .line 46
            aload 0 /* this */
            areturn
        end local 1 // java.util.function.Consumer v
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/Executor;
            0    2     1     v  Ljava/util/function/Consumer<Ljava/util/stream/Stream<Ljava/lang/String;>;>;
    Signature: (Ljava/util/function/Consumer<Ljava/util/stream/Stream<Ljava/lang/String;>;>;)Ljdk/jpackage/internal/Executor;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.Executor saveOutput(boolean);
    descriptor: (Z)Ljdk/jpackage/internal/Executor;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.Executor this
        start local 1 // boolean v
         0: .line 50
            aload 0 /* this */
            iload 1 /* v */
            putfield jdk.jpackage.internal.Executor.saveOutput:Z
         1: .line 51
            aload 0 /* this */
            areturn
        end local 1 // boolean v
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/Executor;
            0    2     1     v  Z
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.Executor setWriteOutputToFile(boolean);
    descriptor: (Z)Ljdk/jpackage/internal/Executor;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.Executor this
        start local 1 // boolean v
         0: .line 55
            aload 0 /* this */
            iload 1 /* v */
            putfield jdk.jpackage.internal.Executor.writeOutputToFile:Z
         1: .line 56
            aload 0 /* this */
            areturn
        end local 1 // boolean v
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/Executor;
            0    2     1     v  Z
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.Executor setTimeout(long);
    descriptor: (J)Ljdk/jpackage/internal/Executor;
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.jpackage.internal.Executor this
        start local 1 // long v
         0: .line 60
            aload 0 /* this */
            lload 1 /* v */
            putfield jdk.jpackage.internal.Executor.timeout:J
         1: .line 61
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.timeout:J
            ldc -1
            lcmp
            ifeq 3
         2: .line 64
            aload 0 /* this */
            iconst_1
            invokevirtual jdk.jpackage.internal.Executor.setWriteOutputToFile:(Z)Ljdk/jpackage/internal/Executor;
            pop
         3: .line 66
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 1 // long v
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jpackage/internal/Executor;
            0    4     1     v  J
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.Executor setProcessBuilder(java.lang.ProcessBuilder);
    descriptor: (Ljava/lang/ProcessBuilder;)Ljdk/jpackage/internal/Executor;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.Executor this
        start local 1 // java.lang.ProcessBuilder v
         0: .line 70
            aload 0 /* this */
            aload 1 /* v */
            putfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
         1: .line 71
            aload 0 /* this */
            areturn
        end local 1 // java.lang.ProcessBuilder v
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/Executor;
            0    2     1     v  Ljava/lang/ProcessBuilder;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.Executor setCommandLine(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Ljdk/jpackage/internal/Executor;
    flags: (0x0080) ACC_VARARGS
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.Executor this
        start local 1 // java.lang.String[] cmdline
         0: .line 75
            aload 0 /* this */
            new java.lang.ProcessBuilder
            dup
            aload 1 /* cmdline */
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            invokevirtual jdk.jpackage.internal.Executor.setProcessBuilder:(Ljava/lang/ProcessBuilder;)Ljdk/jpackage/internal/Executor;
            areturn
        end local 1 // java.lang.String[] cmdline
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Ljdk/jpackage/internal/Executor;
            0    1     1  cmdline  [Ljava/lang/String;
    MethodParameters:
         Name  Flags
      cmdline  

  jdk.jpackage.internal.Executor setQuiet(boolean);
    descriptor: (Z)Ljdk/jpackage/internal/Executor;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.Executor this
        start local 1 // boolean v
         0: .line 79
            aload 0 /* this */
            iload 1 /* v */
            putfield jdk.jpackage.internal.Executor.quietCommand:Z
         1: .line 80
            aload 0 /* this */
            areturn
        end local 1 // boolean v
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/Executor;
            0    2     1     v  Z
    MethodParameters:
      Name  Flags
      v     

  java.util.List<java.lang.String> getOutput();
    descriptor: ()Ljava/util/List;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.Executor this
         0: .line 84
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.output:Ljava/util/List;
            areturn
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/Executor;
    Signature: ()Ljava/util/List<Ljava/lang/String;>;

  jdk.jpackage.internal.Executor executeExpectSuccess();
    descriptor: ()Ljdk/jpackage/internal/Executor;
    flags: (0x0000) 
    Code:
      stack=8, locals=2, args_size=1
        start local 0 // jdk.jpackage.internal.Executor this
         0: .line 88
            aload 0 /* this */
            invokevirtual jdk.jpackage.internal.Executor.execute:()I
            istore 1 /* ret */
        start local 1 // int ret
         1: .line 89
            iload 1 /* ret */
            ifeq 7
         2: .line 90
            new java.io.IOException
            dup
         3: .line 91
            ldc "Command %s exited with %d code"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         4: .line 92
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            iconst_0
            invokestatic jdk.jpackage.internal.Executor.createLogMessage:(Ljava/lang/ProcessBuilder;Z)Ljava/lang/String;
            aastore
            dup
            iconst_1
            iload 1 /* ret */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         5: .line 91
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         6: .line 90
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 94
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 1 // int ret
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/jpackage/internal/Executor;
            1    8     1   ret  I
    Exceptions:
      throws java.io.IOException

  int execute();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=6, locals=10, args_size=1
        start local 0 // jdk.jpackage.internal.Executor this
         0: .line 98
            aload 0 /* this */
            aconst_null
            putfield jdk.jpackage.internal.Executor.output:Ljava/util/List;
         1: .line 100
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.outputConsumer:Ljava/util/function/Consumer;
            ifnonnull 2
            invokestatic jdk.jpackage.internal.Log.isVerbose:()Z
            ifne 2
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.saveOutput:Z
            ifne 2
            iconst_0
            goto 3
      StackMap locals:
      StackMap stack:
         2: iconst_1
      StackMap locals:
      StackMap stack: int
         3: istore 1 /* needProcessOutput */
        start local 1 // boolean needProcessOutput
         4: .line 101
            aconst_null
            astore 2 /* outputFile */
        start local 2 // java.nio.file.Path outputFile
         5: .line 102
            iload 1 /* needProcessOutput */
            ifeq 11
         6: .line 103
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            iconst_1
            invokevirtual java.lang.ProcessBuilder.redirectErrorStream:(Z)Ljava/lang/ProcessBuilder;
            pop
         7: .line 104
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.writeOutputToFile:Z
            ifeq 13
         8: .line 105
            ldc "jpackageOutputTempFile"
            ldc ".tmp"
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createTempFile:(Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            astore 2 /* outputFile */
         9: .line 106
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            aload 2 /* outputFile */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.lang.ProcessBuilder.redirectOutput:(Ljava/io/File;)Ljava/lang/ProcessBuilder;
            pop
        10: .line 108
            goto 13
        11: .line 112
      StackMap locals: int java.nio.file.Path
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            getstatic java.lang.ProcessBuilder$Redirect.DISCARD:Ljava/lang/ProcessBuilder$Redirect;
            invokevirtual java.lang.ProcessBuilder.redirectError:(Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;
            pop
        12: .line 113
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            getstatic java.lang.ProcessBuilder$Redirect.DISCARD:Ljava/lang/ProcessBuilder$Redirect;
            invokevirtual java.lang.ProcessBuilder.redirectOutput:(Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;
            pop
        13: .line 116
      StackMap locals:
      StackMap stack:
            ldc "Running %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            iconst_1
            invokestatic jdk.jpackage.internal.Executor.createLogMessage:(Ljava/lang/ProcessBuilder;Z)Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
        14: .line 117
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
            astore 3 /* p */
        start local 3 // java.lang.Process p
        15: .line 119
            iconst_0
            istore 4 /* code */
        start local 4 // int code
        16: .line 120
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.writeOutputToFile:Z
            ifeq 22
        17: .line 122
            aload 0 /* this */
            aload 3 /* p */
            invokevirtual jdk.jpackage.internal.Executor.waitForProcess:(Ljava/lang/Process;)I
            istore 4 /* code */
        18: .line 123
            goto 22
      StackMap locals: jdk.jpackage.internal.Executor int java.nio.file.Path java.lang.Process int
      StackMap stack: java.lang.InterruptedException
        19: astore 5 /* ex */
        start local 5 // java.lang.InterruptedException ex
        20: .line 124
            aload 5 /* ex */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        21: .line 125
            new java.lang.RuntimeException
            dup
            aload 5 /* ex */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 5 // java.lang.InterruptedException ex
        22: .line 129
      StackMap locals:
      StackMap stack:
            iload 1 /* needProcessOutput */
            ifeq 52
        23: .line 133
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.writeOutputToFile:Z
            ifeq 31
        24: .line 134
            aload 0 /* this */
            aload 2 /* outputFile */
            invokestatic java.nio.file.Files.readAllLines:(Ljava/nio/file/Path;)Ljava/util/List;
            dup
            astore 5 /* savedOutput */
        start local 5 // java.util.List savedOutput
        25: putfield jdk.jpackage.internal.Executor.output:Ljava/util/List;
        26: .line 135
            aload 2 /* outputFile */
            invokestatic java.nio.file.Files.delete:(Ljava/nio/file/Path;)V
        27: .line 136
            aload 5 /* savedOutput */
            invokedynamic get(Ljava/util/List;)Ljava/util/function/Supplier;
              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;
                  jdk/jpackage/internal/Executor.lambda$0(Ljava/util/List;)Ljava/util/stream/Stream; (6)
                  ()Ljava/util/stream/Stream;
            astore 6 /* outputStream */
        start local 6 // java.util.function.Supplier outputStream
        28: .line 142
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.outputConsumer:Ljava/util/function/Consumer;
            ifnull 52
        29: .line 143
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.outputConsumer:Ljava/util/function/Consumer;
            aload 6 /* outputStream */
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            checkcast java.util.stream.Stream
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        30: .line 145
            goto 52
        end local 6 // java.util.function.Supplier outputStream
        end local 5 // java.util.List savedOutput
        31: .line 146
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 7
            aconst_null
            astore 8
        32: new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
        33: .line 147
            aload 3 /* p */
            invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
        34: .line 146
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
            astore 9 /* br */
        start local 9 // java.io.BufferedReader br
        35: .line 149
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.outputConsumer:Ljava/util/function/Consumer;
            ifnonnull 37
            invokestatic jdk.jpackage.internal.Log.isVerbose:()Z
            ifne 37
        36: .line 150
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.saveOutput:Z
            ifeq 39
        37: .line 151
      StackMap locals: jdk.jpackage.internal.Executor int java.nio.file.Path java.lang.Process int top top java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack:
            aload 9 /* br */
            invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
            invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.List
            astore 5 /* savedOutput */
        start local 5 // java.util.List savedOutput
        38: .line 152
            goto 40
        end local 5 // java.util.List savedOutput
        39: .line 153
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 5 /* savedOutput */
        start local 5 // java.util.List savedOutput
        40: .line 155
      StackMap locals: jdk.jpackage.internal.Executor int java.nio.file.Path java.lang.Process int java.util.List top java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack:
            aload 0 /* this */
            aload 5 /* savedOutput */
            putfield jdk.jpackage.internal.Executor.output:Ljava/util/List;
        41: .line 157
            aload 5 /* savedOutput */
            aload 9 /* br */
            invokedynamic get(Ljava/util/List;Ljava/io/BufferedReader;)Ljava/util/function/Supplier;
              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;
                  jdk/jpackage/internal/Executor.lambda$1(Ljava/util/List;Ljava/io/BufferedReader;)Ljava/util/stream/Stream; (6)
                  ()Ljava/util/stream/Stream;
            astore 6 /* outputStream */
        start local 6 // java.util.function.Supplier outputStream
        42: .line 163
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.outputConsumer:Ljava/util/function/Consumer;
            ifnull 44
        43: .line 164
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.outputConsumer:Ljava/util/function/Consumer;
            aload 6 /* outputStream */
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            checkcast java.util.stream.Stream
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        44: .line 167
      StackMap locals: jdk.jpackage.internal.Executor int java.nio.file.Path java.lang.Process int java.util.List java.util.function.Supplier java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack:
            aload 5 /* savedOutput */
            ifnonnull 46
        45: .line 174
            aload 9 /* 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
                  jdk/jpackage/internal/Executor.lambda$2(Ljava/lang/String;)V (6)
                  (Ljava/lang/String;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
        46: .line 176
      StackMap locals:
      StackMap stack:
            aload 9 /* br */
            ifnull 52
            aload 9 /* br */
            invokevirtual java.io.BufferedReader.close:()V
            goto 52
        end local 6 // java.util.function.Supplier outputStream
        end local 5 // java.util.List savedOutput
      StackMap locals: jdk.jpackage.internal.Executor int java.nio.file.Path java.lang.Process int top top java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack: java.lang.Throwable
        47: astore 7
            aload 9 /* br */
            ifnull 48
            aload 9 /* br */
            invokevirtual java.io.BufferedReader.close:()V
        end local 9 // java.io.BufferedReader br
      StackMap locals:
      StackMap stack:
        48: aload 7
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        49: astore 8
            aload 7
            ifnonnull 50
            aload 8
            astore 7
            goto 51
      StackMap locals:
      StackMap stack:
        50: aload 7
            aload 8
            if_acmpeq 51
            aload 7
            aload 8
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        51: aload 7
            athrow
        52: .line 181
      StackMap locals: jdk.jpackage.internal.Executor int java.nio.file.Path java.lang.Process int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.writeOutputToFile:Z
            ifne 54
        53: .line 182
            aload 3 /* p */
            invokevirtual java.lang.Process.waitFor:()I
            istore 4 /* code */
        54: .line 184
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.quietCommand:Z
            ifne 56
        55: .line 185
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            invokevirtual java.lang.ProcessBuilder.command:()Ljava/util/List;
            aload 0 /* this */
            invokevirtual jdk.jpackage.internal.Executor.getOutput:()Ljava/util/List;
            iload 4 /* code */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/util/List;Ljava/util/List;I)V
        56: .line 187
      StackMap locals:
      StackMap stack:
            iload 4 /* code */
        57: ireturn
        58: .line 188
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 5 /* ex */
        start local 5 // java.lang.InterruptedException ex
        59: .line 189
            aload 5 /* ex */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        60: .line 190
            new java.lang.RuntimeException
            dup
            aload 5 /* ex */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 5 // java.lang.InterruptedException ex
        end local 4 // int code
        end local 3 // java.lang.Process p
        end local 2 // java.nio.file.Path outputFile
        end local 1 // boolean needProcessOutput
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   61     0               this  Ljdk/jpackage/internal/Executor;
            4   61     1  needProcessOutput  Z
            5   61     2         outputFile  Ljava/nio/file/Path;
           15   61     3                  p  Ljava/lang/Process;
           16   61     4               code  I
           20   22     5                 ex  Ljava/lang/InterruptedException;
           25   31     5        savedOutput  Ljava/util/List<Ljava/lang/String;>;
           38   39     5        savedOutput  Ljava/util/List<Ljava/lang/String;>;
           40   47     5        savedOutput  Ljava/util/List<Ljava/lang/String;>;
           28   31     6       outputStream  Ljava/util/function/Supplier<Ljava/util/stream/Stream<Ljava/lang/String;>;>;
           42   47     6       outputStream  Ljava/util/function/Supplier<Ljava/util/stream/Stream<Ljava/lang/String;>;>;
           35   48     9                 br  Ljava/io/BufferedReader;
           59   61     5                 ex  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
          17    18      19  Class java.lang.InterruptedException
          35    46      47  any
          32    49      49  any
          52    57      58  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException

  private int waitForProcess(java.lang.Process);
    descriptor: (Ljava/lang/Process;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.Executor this
        start local 1 // java.lang.Process p
         0: .line 195
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.timeout:J
            ldc -1
            lcmp
            ifne 2
         1: .line 196
            aload 1 /* p */
            invokevirtual java.lang.Process.waitFor:()I
            ireturn
         2: .line 198
      StackMap locals:
      StackMap stack:
            aload 1 /* p */
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.timeout:J
            getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual java.lang.Process.waitFor:(JLjava/util/concurrent/TimeUnit;)Z
            ifeq 4
         3: .line 199
            aload 1 /* p */
            invokevirtual java.lang.Process.exitValue:()I
            ireturn
         4: .line 201
      StackMap locals:
      StackMap stack:
            ldc "Command %s timeout after %d seconds"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 202
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.pb:Ljava/lang/ProcessBuilder;
            iconst_0
            invokestatic jdk.jpackage.internal.Executor.createLogMessage:(Ljava/lang/ProcessBuilder;Z)Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.jpackage.internal.Executor.timeout:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
         6: .line 201
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
         7: .line 203
            aload 1 /* p */
            invokevirtual java.lang.Process.destroy:()V
         8: .line 204
            iconst_m1
            ireturn
        end local 1 // java.lang.Process p
        end local 0 // jdk.jpackage.internal.Executor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/jpackage/internal/Executor;
            0    9     1     p  Ljava/lang/Process;
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
      Name  Flags
      p     

  static jdk.jpackage.internal.Executor of(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Ljdk/jpackage/internal/Executor;
    flags: (0x0088) ACC_STATIC, ACC_VARARGS
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String[] cmdline
         0: .line 210
            new jdk.jpackage.internal.Executor
            dup
            invokespecial jdk.jpackage.internal.Executor.<init>:()V
            aload 0 /* cmdline */
            invokevirtual jdk.jpackage.internal.Executor.setCommandLine:([Ljava/lang/String;)Ljdk/jpackage/internal/Executor;
            areturn
        end local 0 // java.lang.String[] cmdline
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  cmdline  [Ljava/lang/String;
    MethodParameters:
         Name  Flags
      cmdline  

  static jdk.jpackage.internal.Executor of(java.lang.ProcessBuilder);
    descriptor: (Ljava/lang/ProcessBuilder;)Ljdk/jpackage/internal/Executor;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.ProcessBuilder pb
         0: .line 214
            new jdk.jpackage.internal.Executor
            dup
            invokespecial jdk.jpackage.internal.Executor.<init>:()V
            aload 0 /* pb */
            invokevirtual jdk.jpackage.internal.Executor.setProcessBuilder:(Ljava/lang/ProcessBuilder;)Ljdk/jpackage/internal/Executor;
            areturn
        end local 0 // java.lang.ProcessBuilder pb
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    pb  Ljava/lang/ProcessBuilder;
    MethodParameters:
      Name  Flags
      pb    

  private static java.lang.String createLogMessage(java.lang.ProcessBuilder, boolean);
    descriptor: (Ljava/lang/ProcessBuilder;Z)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // java.lang.ProcessBuilder pb
        start local 1 // boolean quiet
         0: .line 218
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 2 /* sb */
        start local 2 // java.lang.StringBuilder sb
         1: .line 219
            aload 2 /* sb */
            iload 1 /* quiet */
            ifeq 2
            aload 0 /* pb */
            invokevirtual java.lang.ProcessBuilder.command:()Ljava/util/List;
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            goto 3
      StackMap locals: java.lang.ProcessBuilder int java.lang.StringBuilder
      StackMap stack: java.lang.StringBuilder
         2: aload 0 /* pb */
            invokevirtual java.lang.ProcessBuilder.command:()Ljava/util/List;
      StackMap locals: java.lang.ProcessBuilder int java.lang.StringBuilder
      StackMap stack: java.lang.StringBuilder java.lang.Object
         3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            pop
         4: .line 220
            aload 0 /* pb */
            invokevirtual java.lang.ProcessBuilder.directory:()Ljava/io/File;
            ifnull 6
         5: .line 221
            aload 2 /* sb */
            ldc " in %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* pb */
            invokevirtual java.lang.ProcessBuilder.directory:()Ljava/io/File;
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 223
      StackMap locals:
      StackMap stack:
            aload 2 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // java.lang.StringBuilder sb
        end local 1 // boolean quiet
        end local 0 // java.lang.ProcessBuilder pb
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0     pb  Ljava/lang/ProcessBuilder;
            0    7     1  quiet  Z
            1    7     2     sb  Ljava/lang/StringBuilder;
    MethodParameters:
       Name  Flags
      pb     
      quiet  

  private static java.util.stream.Stream lambda$0(java.util.List);
    descriptor: (Ljava/util/List;)Ljava/util/stream/Stream;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 137
            aload 0
            ifnull 2
         1: .line 138
            aload 0
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            areturn
         2: .line 140
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.util.stream.Stream lambda$1(java.util.List, java.io.BufferedReader);
    descriptor: (Ljava/util/List;Ljava/io/BufferedReader;)Ljava/util/stream/Stream;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=2
         0: .line 158
            aload 0
            ifnull 2
         1: .line 159
            aload 0
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            areturn
         2: .line 161
      StackMap locals:
      StackMap stack:
            aload 1
            invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static void lambda$2(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // java.lang.String x
         0: .line 174
            return
        end local 0 // java.lang.String x
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     x  Ljava/lang/String;
}
SourceFile: "Executor.java"
InnerClasses:
  public abstract Redirect = java.lang.ProcessBuilder$Redirect of java.lang.ProcessBuilder
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles