public final class jdk.jpackage.internal.RetryExecutor
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jpackage.internal.RetryExecutor
  super_class: java.lang.Object
{
  private java.util.function.Consumer<jdk.jpackage.internal.Executor> executorInitializer;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/function/Consumer<Ljdk/jpackage/internal/Executor;>;

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

  private int attempts;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int timeoutMillis;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.RetryExecutor this
         0: .line 32
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 33
            aload 0 /* this */
            iconst_5
            invokevirtual jdk.jpackage.internal.RetryExecutor.setMaxAttemptsCount:(I)Ljdk/jpackage/internal/RetryExecutor;
            pop
         2: .line 34
            aload 0 /* this */
            sipush 2000
            invokevirtual jdk.jpackage.internal.RetryExecutor.setAttemptTimeoutMillis:(I)Ljdk/jpackage/internal/RetryExecutor;
            pop
         3: .line 35
            return
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jpackage/internal/RetryExecutor;

  public jdk.jpackage.internal.RetryExecutor setMaxAttemptsCount(int);
    descriptor: (I)Ljdk/jpackage/internal/RetryExecutor;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.RetryExecutor this
        start local 1 // int v
         0: .line 38
            aload 0 /* this */
            iload 1 /* v */
            putfield jdk.jpackage.internal.RetryExecutor.attempts:I
         1: .line 39
            aload 0 /* this */
            areturn
        end local 1 // int v
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/RetryExecutor;
            0    2     1     v  I
    MethodParameters:
      Name  Flags
      v     

  public jdk.jpackage.internal.RetryExecutor setAttemptTimeoutMillis(int);
    descriptor: (I)Ljdk/jpackage/internal/RetryExecutor;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.RetryExecutor this
        start local 1 // int v
         0: .line 43
            aload 0 /* this */
            iload 1 /* v */
            putfield jdk.jpackage.internal.RetryExecutor.timeoutMillis:I
         1: .line 44
            aload 0 /* this */
            areturn
        end local 1 // int v
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/RetryExecutor;
            0    2     1     v  I
    MethodParameters:
      Name  Flags
      v     

  public jdk.jpackage.internal.RetryExecutor setExecutorInitializer(java.util.function.Consumer<jdk.jpackage.internal.Executor>);
    descriptor: (Ljava/util/function/Consumer;)Ljdk/jpackage/internal/RetryExecutor;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.RetryExecutor this
        start local 1 // java.util.function.Consumer v
         0: .line 48
            aload 0 /* this */
            aload 1 /* v */
            putfield jdk.jpackage.internal.RetryExecutor.executorInitializer:Ljava/util/function/Consumer;
         1: .line 49
            aload 0 /* this */
            areturn
        end local 1 // java.util.function.Consumer v
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/RetryExecutor;
            0    2     1     v  Ljava/util/function/Consumer<Ljdk/jpackage/internal/Executor;>;
    Signature: (Ljava/util/function/Consumer<Ljdk/jpackage/internal/Executor;>;)Ljdk/jpackage/internal/RetryExecutor;
    MethodParameters:
      Name  Flags
      v     

  public void abort();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.RetryExecutor this
         0: .line 53
            aload 0 /* this */
            iconst_1
            putfield jdk.jpackage.internal.RetryExecutor.aborted:Z
         1: .line 54
            return
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/RetryExecutor;

  public boolean isAborted();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.RetryExecutor this
         0: .line 57
            aload 0 /* this */
            getfield jdk.jpackage.internal.RetryExecutor.aborted:Z
            ireturn
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/RetryExecutor;

  static jdk.jpackage.internal.RetryExecutor retryOnKnownErrorMessage(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/jpackage/internal/RetryExecutor;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.String v
         0: .line 61
            new jdk.jpackage.internal.RetryExecutor
            dup
            invokespecial jdk.jpackage.internal.RetryExecutor.<init>:()V
            astore 1 /* result */
        start local 1 // jdk.jpackage.internal.RetryExecutor result
         1: .line 62
            aload 1 /* result */
            aload 0 /* v */
            aload 1 /* result */
            invokedynamic accept(Ljava/lang/String;Ljdk/jpackage/internal/RetryExecutor;)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/RetryExecutor.lambda$0(Ljava/lang/String;Ljdk/jpackage/internal/RetryExecutor;Ljdk/jpackage/internal/Executor;)V (6)
                  (Ljdk/jpackage/internal/Executor;)V
            invokevirtual jdk.jpackage.internal.RetryExecutor.setExecutorInitializer:(Ljava/util/function/Consumer;)Ljdk/jpackage/internal/RetryExecutor;
            areturn
        end local 1 // jdk.jpackage.internal.RetryExecutor result
        end local 0 // java.lang.String v
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0       v  Ljava/lang/String;
            1    2     1  result  Ljdk/jpackage/internal/RetryExecutor;
    MethodParameters:
      Name  Flags
      v     

  public void execute(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.RetryExecutor this
        start local 1 // java.lang.String[] cmdline
         0: .line 72
            aload 0 /* this */
            aload 1 /* cmdline */
            invokedynamic get([Ljava/lang/String;)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/RetryExecutor.lambda$3([Ljava/lang/String;)Ljdk/jpackage/internal/Executor; (6)
                  ()Ljdk/jpackage/internal/Executor;
            invokevirtual jdk.jpackage.internal.RetryExecutor.executeLoop:(Ljava/util/function/Supplier;)V
         1: .line 73
            return
        end local 1 // java.lang.String[] cmdline
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Ljdk/jpackage/internal/RetryExecutor;
            0    2     1  cmdline  [Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      cmdline  

  public void execute(java.lang.ProcessBuilder);
    descriptor: (Ljava/lang/ProcessBuilder;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.RetryExecutor this
        start local 1 // java.lang.ProcessBuilder pb
         0: .line 76
            aload 0 /* this */
            aload 1 /* pb */
            invokedynamic get(Ljava/lang/ProcessBuilder;)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/RetryExecutor.lambda$4(Ljava/lang/ProcessBuilder;)Ljdk/jpackage/internal/Executor; (6)
                  ()Ljdk/jpackage/internal/Executor;
            invokevirtual jdk.jpackage.internal.RetryExecutor.executeLoop:(Ljava/util/function/Supplier;)V
         1: .line 77
            return
        end local 1 // java.lang.ProcessBuilder pb
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/RetryExecutor;
            0    2     1    pb  Ljava/lang/ProcessBuilder;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pb    

  private void executeLoop(java.util.function.Supplier<jdk.jpackage.internal.Executor>);
    descriptor: (Ljava/util/function/Supplier;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.jpackage.internal.RetryExecutor this
        start local 1 // java.util.function.Supplier execSupplier
         0: .line 80
            aload 0 /* this */
            iconst_0
            putfield jdk.jpackage.internal.RetryExecutor.aborted:Z
         1: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jpackage.internal.RetryExecutor.aborted:Z
            ifeq 3
         2: .line 83
            goto 16
         3: .line 87
      StackMap locals:
      StackMap stack:
            aload 1 /* execSupplier */
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            checkcast jdk.jpackage.internal.Executor
            astore 2 /* exec */
        start local 2 // jdk.jpackage.internal.Executor exec
         4: .line 88
            aload 0 /* this */
            getfield jdk.jpackage.internal.RetryExecutor.executorInitializer:Ljava/util/function/Consumer;
            ifnull 6
         5: .line 89
            aload 0 /* this */
            getfield jdk.jpackage.internal.RetryExecutor.executorInitializer:Ljava/util/function/Consumer;
            aload 2 /* exec */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         6: .line 91
      StackMap locals: jdk.jpackage.internal.Executor
      StackMap stack:
            aload 2 /* exec */
            invokevirtual jdk.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/jpackage/internal/Executor;
            pop
         7: .line 92
            goto 16
        end local 2 // jdk.jpackage.internal.Executor exec
         8: .line 93
      StackMap locals: jdk.jpackage.internal.RetryExecutor java.util.function.Supplier
      StackMap stack: java.io.IOException
            astore 2 /* ex */
        start local 2 // java.io.IOException ex
         9: .line 94
            aload 0 /* this */
            getfield jdk.jpackage.internal.RetryExecutor.aborted:Z
            ifne 10
            aload 0 /* this */
            dup
            getfield jdk.jpackage.internal.RetryExecutor.attempts:I
            iconst_1
            isub
            dup_x1
            putfield jdk.jpackage.internal.RetryExecutor.attempts:I
            ifgt 11
        10: .line 95
      StackMap locals: java.io.IOException
      StackMap stack:
            aload 2 /* ex */
            athrow
        end local 2 // java.io.IOException ex
        11: .line 100
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jpackage.internal.RetryExecutor.timeoutMillis:I
            i2l
            invokestatic java.lang.Thread.sleep:(J)V
        12: .line 101
            goto 1
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        13: astore 2 /* ex */
        start local 2 // java.lang.InterruptedException ex
        14: .line 102
            aload 2 /* ex */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        15: .line 103
            new java.lang.RuntimeException
            dup
            aload 2 /* ex */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.InterruptedException ex
        16: .line 106
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.function.Supplier execSupplier
        end local 0 // jdk.jpackage.internal.RetryExecutor this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   17     0          this  Ljdk/jpackage/internal/RetryExecutor;
            0   17     1  execSupplier  Ljava/util/function/Supplier<Ljdk/jpackage/internal/Executor;>;
            4    8     2          exec  Ljdk/jpackage/internal/Executor;
            9   11     2            ex  Ljava/io/IOException;
           14   16     2            ex  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           3     7       8  Class java.io.IOException
          11    12      13  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/function/Supplier<Ljdk/jpackage/internal/Executor;>;)V
    MethodParameters:
              Name  Flags
      execSupplier  

  private static void lambda$0(java.lang.String, jdk.jpackage.internal.RetryExecutor, jdk.jpackage.internal.Executor);
    descriptor: (Ljava/lang/String;Ljdk/jpackage/internal/RetryExecutor;Ljdk/jpackage/internal/Executor;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 2 // jdk.jpackage.internal.Executor exec
         0: .line 63
            aload 2 /* exec */
            aload 0
            aload 1
            invokedynamic accept(Ljava/lang/String;Ljdk/jpackage/internal/RetryExecutor;)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/RetryExecutor.lambda$1(Ljava/lang/String;Ljdk/jpackage/internal/RetryExecutor;Ljava/util/stream/Stream;)V (6)
                  (Ljava/util/stream/Stream;)V
            invokevirtual jdk.jpackage.internal.Executor.setOutputConsumer:(Ljava/util/function/Consumer;)Ljdk/jpackage/internal/Executor;
            pop
         1: .line 68
            return
        end local 2 // jdk.jpackage.internal.Executor exec
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     2  exec  Ljdk/jpackage/internal/Executor;

  private static jdk.jpackage.internal.Executor lambda$3(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Ljdk/jpackage/internal/Executor;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 72
            aload 0
            invokestatic jdk.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/jpackage/internal/Executor;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static jdk.jpackage.internal.Executor lambda$4(java.lang.ProcessBuilder);
    descriptor: (Ljava/lang/ProcessBuilder;)Ljdk/jpackage/internal/Executor;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 76
            aload 0
            invokestatic jdk.jpackage.internal.Executor.of:(Ljava/lang/ProcessBuilder;)Ljdk/jpackage/internal/Executor;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static void lambda$1(java.lang.String, jdk.jpackage.internal.RetryExecutor, java.util.stream.Stream);
    descriptor: (Ljava/lang/String;Ljdk/jpackage/internal/RetryExecutor;Ljava/util/stream/Stream;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 2 // java.util.stream.Stream output
         0: .line 64
            aload 2 /* output */
            aload 0
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic test(Ljava/lang/String;)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
                  java/lang/String.equals(Ljava/lang/Object;)Z (5)
                  (Ljava/lang/String;)Z
            invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
            ifne 2
         1: .line 65
            aload 1
            invokevirtual jdk.jpackage.internal.RetryExecutor.abort:()V
         2: .line 67
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.stream.Stream output
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     2  output  Ljava/util/stream/Stream<Ljava/lang/String;>;
}
SourceFile: "RetryExecutor.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles