public class jdk.incubator.jpackage.internal.IOUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.incubator.jpackage.internal.IOUtils
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.jpackage.internal.IOUtils this
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.incubator.jpackage.internal.IOUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/jpackage/internal/IOUtils;

  public static void deleteRecursive(java.io.File);
    descriptor: (Ljava/io/File;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.io.File path
         0: .line 51
            aload 0 /* path */
            invokevirtual java.io.File.exists:()Z
            ifne 2
         1: .line 52
            return
         2: .line 54
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            astore 1 /* directory */
        start local 1 // java.nio.file.Path directory
         3: .line 55
            aload 1 /* directory */
            new jdk.incubator.jpackage.internal.IOUtils$1
            dup
            invokespecial jdk.incubator.jpackage.internal.IOUtils$1.<init>:()V
            invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
            pop
         4: .line 82
            return
        end local 1 // java.nio.file.Path directory
        end local 0 // java.io.File path
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       path  Ljava/io/File;
            3    5     1  directory  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      path  

  public static void copyRecursive(java.nio.file.Path, java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.nio.file.Path src
        start local 1 // java.nio.file.Path dest
         0: .line 85
            aload 0 /* src */
            aload 1 /* dest */
            invokestatic java.util.List.of:()Ljava/util/List;
            invokestatic jdk.incubator.jpackage.internal.IOUtils.copyRecursive:(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/List;)V
         1: .line 86
            return
        end local 1 // java.nio.file.Path dest
        end local 0 // java.nio.file.Path src
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0   src  Ljava/nio/file/Path;
            0    2     1  dest  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   
      dest  

  public static void copyRecursive(java.nio.file.Path, java.nio.file.Path, java.util.List<java.lang.String>);
    descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/List;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // java.nio.file.Path src
        start local 1 // java.nio.file.Path dest
        start local 2 // java.util.List excludes
         0: .line 90
            aload 0 /* src */
            new jdk.incubator.jpackage.internal.IOUtils$2
            dup
            aload 2 /* excludes */
            aload 1 /* dest */
            aload 0 /* src */
            invokespecial jdk.incubator.jpackage.internal.IOUtils$2.<init>:(Ljava/util/List;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
            invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
            pop
         1: .line 111
            return
        end local 2 // java.util.List excludes
        end local 1 // java.nio.file.Path dest
        end local 0 // java.nio.file.Path src
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0       src  Ljava/nio/file/Path;
            0    2     1      dest  Ljava/nio/file/Path;
            0    2     2  excludes  Ljava/util/List<Ljava/lang/String;>;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/List<Ljava/lang/String;>;)V
    MethodParameters:
          Name  Flags
      src       
      dest      
      excludes  final

  public static void copyFile(java.io.File, java.io.File);
    descriptor: (Ljava/io/File;Ljava/io/File;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=6, args_size=2
        start local 0 // java.io.File sourceFile
        start local 1 // java.io.File destFile
         0: .line 115
            aload 1 /* destFile */
            invokevirtual java.io.File.getParentFile:()Ljava/io/File;
            invokevirtual java.io.File.mkdirs:()Z
            pop
         1: .line 118
            aload 1 /* destFile */
            invokevirtual java.io.File.delete:()Z
            pop
         2: .line 119
            aload 1 /* destFile */
            invokevirtual java.io.File.createNewFile:()Z
            pop
         3: .line 121
            aconst_null
            astore 2
            aconst_null
            astore 3
         4: new java.io.FileInputStream
            dup
            aload 0 /* sourceFile */
            invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
            invokevirtual java.io.FileInputStream.getChannel:()Ljava/nio/channels/FileChannel;
            astore 4 /* source */
        start local 4 // java.nio.channels.FileChannel source
         5: .line 123
            new java.io.FileOutputStream
            dup
            aload 1 /* destFile */
            invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
            invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
         6: .line 122
            astore 5 /* destination */
        start local 5 // java.nio.channels.FileChannel destination
         7: .line 124
            aload 5 /* destination */
            aload 4 /* source */
            lconst_0
            aload 4 /* source */
            invokevirtual java.nio.channels.FileChannel.size:()J
            invokevirtual java.nio.channels.FileChannel.transferFrom:(Ljava/nio/channels/ReadableByteChannel;JJ)J
            pop2
         8: .line 125
            aload 5 /* destination */
            ifnull 11
            aload 5 /* destination */
            invokevirtual java.nio.channels.FileChannel.close:()V
            goto 11
      StackMap locals: java.io.File java.io.File java.lang.Throwable java.lang.Throwable java.nio.channels.FileChannel java.nio.channels.FileChannel
      StackMap stack: java.lang.Throwable
         9: astore 2
            aload 5 /* destination */
            ifnull 10
            aload 5 /* destination */
            invokevirtual java.nio.channels.FileChannel.close:()V
        end local 5 // java.nio.channels.FileChannel destination
      StackMap locals:
      StackMap stack:
        10: aload 2
            athrow
      StackMap locals:
      StackMap stack:
        11: aload 4 /* source */
            ifnull 19
            aload 4 /* source */
            invokevirtual java.nio.channels.FileChannel.close:()V
            goto 19
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: astore 3
            aload 2
            ifnonnull 13
            aload 3
            astore 2
            goto 14
      StackMap locals:
      StackMap stack:
        13: aload 2
            aload 3
            if_acmpeq 14
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        14: aload 4 /* source */
            ifnull 15
            aload 4 /* source */
            invokevirtual java.nio.channels.FileChannel.close:()V
        end local 4 // java.nio.channels.FileChannel source
      StackMap locals:
      StackMap stack:
        15: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        16: astore 3
            aload 2
            ifnonnull 17
            aload 3
            astore 2
            goto 18
      StackMap locals:
      StackMap stack:
        17: aload 2
            aload 3
            if_acmpeq 18
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        18: aload 2
            athrow
        19: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* sourceFile */
            invokevirtual java.io.File.canExecute:()Z
            ifeq 21
        20: .line 129
            aload 1 /* destFile */
            iconst_1
            iconst_0
            invokevirtual java.io.File.setExecutable:(ZZ)Z
            pop
        21: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* sourceFile */
            invokevirtual java.io.File.canWrite:()Z
            ifne 23
        22: .line 132
            aload 1 /* destFile */
            invokevirtual java.io.File.setReadOnly:()Z
            pop
        23: .line 134
      StackMap locals:
      StackMap stack:
            aload 1 /* destFile */
            iconst_1
            iconst_0
            invokevirtual java.io.File.setReadable:(ZZ)Z
            pop
        24: .line 135
            return
        end local 1 // java.io.File destFile
        end local 0 // java.io.File sourceFile
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   25     0   sourceFile  Ljava/io/File;
            0   25     1     destFile  Ljava/io/File;
            5   15     4       source  Ljava/nio/channels/FileChannel;
            7   10     5  destination  Ljava/nio/channels/FileChannel;
      Exception table:
        from    to  target  type
           7     8       9  any
           5    11      12  any
           4    16      16  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
            Name  Flags
      sourceFile  
      destFile    

  public static void run(java.lang.String, java.io.File);
    descriptor: (Ljava/lang/String;Ljava/io/File;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // java.lang.String launcher
        start local 1 // java.io.File paramFile
         0: .line 140
            aload 1 /* paramFile */
            ifnull 5
            aload 1 /* paramFile */
            invokevirtual java.io.File.exists:()Z
            ifeq 5
         1: .line 142
            new java.lang.ProcessBuilder
            dup
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            aload 0 /* launcher */
            aastore
            dup
            iconst_1
            aload 1 /* paramFile */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
         2: .line 141
            astore 2 /* pb */
        start local 2 // java.lang.ProcessBuilder pb
         3: .line 143
            aload 2 /* pb */
            aload 1 /* paramFile */
            invokevirtual java.io.File.getParentFile:()Ljava/io/File;
            invokevirtual java.lang.ProcessBuilder.directory:(Ljava/io/File;)Ljava/lang/ProcessBuilder;
            astore 2 /* pb */
         4: .line 144
            aload 2 /* pb */
            invokestatic jdk.incubator.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
        end local 2 // java.lang.ProcessBuilder pb
         5: .line 146
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.io.File paramFile
        end local 0 // java.lang.String launcher
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0   launcher  Ljava/lang/String;
            0    6     1  paramFile  Ljava/io/File;
            3    5     2         pb  Ljava/lang/ProcessBuilder;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      launcher   
      paramFile  

  public static void exec(java.lang.ProcessBuilder);
    descriptor: (Ljava/lang/ProcessBuilder;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.ProcessBuilder pb
         0: .line 150
            aload 0 /* pb */
            iconst_0
            aconst_null
            iconst_0
            invokestatic jdk.incubator.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;Z)V
         1: .line 151
            return
        end local 0 // java.lang.ProcessBuilder pb
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0    pb  Ljava/lang/ProcessBuilder;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pb    

  public static void exec(java.lang.ProcessBuilder, boolean);
    descriptor: (Ljava/lang/ProcessBuilder;Z)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.lang.ProcessBuilder pb
        start local 1 // boolean waitBeforeOutput
         0: .line 158
            aload 0 /* pb */
            iconst_0
            aconst_null
            iload 1 /* waitBeforeOutput */
            invokestatic jdk.incubator.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;Z)V
         1: .line 159
            return
        end local 1 // boolean waitBeforeOutput
        end local 0 // java.lang.ProcessBuilder pb
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0                pb  Ljava/lang/ProcessBuilder;
            0    2     1  waitBeforeOutput  Z
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                  Name  Flags
      pb                
      waitBeforeOutput  

  static void exec(java.lang.ProcessBuilder, boolean, java.io.PrintStream);
    descriptor: (Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // java.lang.ProcessBuilder pb
        start local 1 // boolean testForPresenceOnly
        start local 2 // java.io.PrintStream consumer
         0: .line 163
            aload 0 /* pb */
            iload 1 /* testForPresenceOnly */
            aload 2 /* consumer */
            iconst_0
            invokestatic jdk.incubator.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;Z)V
         1: .line 164
            return
        end local 2 // java.io.PrintStream consumer
        end local 1 // boolean testForPresenceOnly
        end local 0 // java.lang.ProcessBuilder pb
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    2     0                   pb  Ljava/lang/ProcessBuilder;
            0    2     1  testForPresenceOnly  Z
            0    2     2             consumer  Ljava/io/PrintStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                     Name  Flags
      pb                   
      testForPresenceOnly  
      consumer             

  static void exec(java.lang.ProcessBuilder, boolean, java.io.PrintStream, boolean);
    descriptor: (Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;Z)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=6, args_size=4
        start local 0 // java.lang.ProcessBuilder pb
        start local 1 // boolean testForPresenceOnly
        start local 2 // java.io.PrintStream consumer
        start local 3 // boolean waitBeforeOutput
         0: .line 168
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* output */
        start local 4 // java.util.List output
         1: .line 169
            aload 0 /* pb */
            invokestatic jdk.incubator.jpackage.internal.Executor.of:(Ljava/lang/ProcessBuilder;)Ljdk/incubator/jpackage/internal/Executor;
            iload 3 /* waitBeforeOutput */
            invokevirtual jdk.incubator.jpackage.internal.Executor.setWaitBeforeOutput:(Z)Ljdk/incubator/jpackage/internal/Executor;
            aload 4 /* output */
            aload 2 /* consumer */
            invokedynamic accept(Ljava/util/List;Ljava/io/PrintStream;)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/incubator/jpackage/internal/IOUtils.lambda$0(Ljava/util/List;Ljava/io/PrintStream;Ljava/util/stream/Stream;)V (6)
                  (Ljava/util/stream/Stream;)V
            invokevirtual jdk.incubator.jpackage.internal.Executor.setOutputConsumer:(Ljava/util/function/Consumer;)Ljdk/incubator/jpackage/internal/Executor;
            astore 5 /* exec */
        start local 5 // jdk.incubator.jpackage.internal.Executor exec
         2: .line 176
            iload 1 /* testForPresenceOnly */
            ifeq 5
         3: .line 177
            aload 5 /* exec */
            invokevirtual jdk.incubator.jpackage.internal.Executor.execute:()I
            pop
         4: .line 178
            goto 6
         5: .line 179
      StackMap locals: java.util.List jdk.incubator.jpackage.internal.Executor
      StackMap stack:
            aload 5 /* exec */
            invokevirtual jdk.incubator.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/incubator/jpackage/internal/Executor;
            pop
         6: .line 181
      StackMap locals:
      StackMap stack:
            return
        end local 5 // jdk.incubator.jpackage.internal.Executor exec
        end local 4 // java.util.List output
        end local 3 // boolean waitBeforeOutput
        end local 2 // java.io.PrintStream consumer
        end local 1 // boolean testForPresenceOnly
        end local 0 // java.lang.ProcessBuilder pb
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    7     0                   pb  Ljava/lang/ProcessBuilder;
            0    7     1  testForPresenceOnly  Z
            0    7     2             consumer  Ljava/io/PrintStream;
            0    7     3     waitBeforeOutput  Z
            1    7     4               output  Ljava/util/List<Ljava/lang/String;>;
            2    7     5                 exec  Ljdk/incubator/jpackage/internal/Executor;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                     Name  Flags
      pb                   
      testForPresenceOnly  
      consumer             
      waitBeforeOutput     

  public static int getProcessOutput(java.util.List<java.lang.String>, java.lang.String[]);
    descriptor: (Ljava/util/List;[Ljava/lang/String;)I
    flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
    Code:
      stack=5, locals=9, args_size=2
        start local 0 // java.util.List result
        start local 1 // java.lang.String[] args
         0: .line 186
            new java.lang.ProcessBuilder
            dup
            aload 1 /* args */
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 2 /* pb */
        start local 2 // java.lang.ProcessBuilder pb
         1: .line 188
            aload 2 /* pb */
            invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
            astore 3 /* p */
        start local 3 // java.lang.Process p
         2: .line 190
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* list */
        start local 4 // java.util.List list
         3: .line 193
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 3 /* p */
            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
         4: .line 192
            astore 5 /* in */
        start local 5 // java.io.BufferedReader in
         5: .line 195
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 3 /* p */
            invokevirtual java.lang.Process.getErrorStream:()Ljava/io/InputStream;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
         6: .line 194
            astore 6 /* err */
        start local 6 // java.io.BufferedReader err
         7: .line 197
            new java.lang.Thread
            dup
            aload 5 /* in */
            aload 4 /* list */
            aload 6 /* err */
            invokedynamic run(Ljava/io/BufferedReader;Ljava/util/List;Ljava/io/BufferedReader;)Ljava/lang/Runnable;
              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:
                  ()V
                  jdk/incubator/jpackage/internal/IOUtils.lambda$3(Ljava/io/BufferedReader;Ljava/util/List;Ljava/io/BufferedReader;)V (6)
                  ()V
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
            astore 7 /* t */
        start local 7 // java.lang.Thread t
         8: .line 216
            aload 7 /* t */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         9: .line 217
            aload 7 /* t */
            invokevirtual java.lang.Thread.start:()V
        10: .line 219
            aload 3 /* p */
            invokevirtual java.lang.Process.waitFor:()I
            istore 8 /* ret */
        start local 8 // int ret
        11: .line 221
            aload 0 /* result */
            invokeinterface java.util.List.clear:()V
        12: .line 222
            aload 0 /* result */
            aload 4 /* list */
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
        13: .line 224
            iload 8 /* ret */
            ireturn
        end local 8 // int ret
        end local 7 // java.lang.Thread t
        end local 6 // java.io.BufferedReader err
        end local 5 // java.io.BufferedReader in
        end local 4 // java.util.List list
        end local 3 // java.lang.Process p
        end local 2 // java.lang.ProcessBuilder pb
        end local 1 // java.lang.String[] args
        end local 0 // java.util.List result
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0  result  Ljava/util/List<Ljava/lang/String;>;
            0   14     1    args  [Ljava/lang/String;
            1   14     2      pb  Ljava/lang/ProcessBuilder;
            2   14     3       p  Ljava/lang/Process;
            3   14     4    list  Ljava/util/List<Ljava/lang/String;>;
            5   14     5      in  Ljava/io/BufferedReader;
            7   14     6     err  Ljava/io/BufferedReader;
            8   14     7       t  Ljava/lang/Thread;
           11   14     8     ret  I
    Exceptions:
      throws java.io.IOException, java.lang.InterruptedException
    Signature: (Ljava/util/List<Ljava/lang/String;>;[Ljava/lang/String;)I
    MethodParameters:
        Name  Flags
      result  
      args    

  static void writableOutputDir(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // java.nio.file.Path outdir
         0: .line 228
            aload 0 /* outdir */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            astore 1 /* file */
        start local 1 // java.io.File file
         1: .line 230
            aload 1 /* file */
            invokevirtual java.io.File.isDirectory:()Z
            ifne 5
            aload 1 /* file */
            invokevirtual java.io.File.mkdirs:()Z
            ifne 5
         2: .line 231
            new jdk.incubator.jpackage.internal.PackagerException
            dup
            ldc "error.cannot-create-output-dir"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
         3: .line 232
            aload 1 /* file */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
         4: .line 231
            aastore
            invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
            athrow
         5: .line 234
      StackMap locals: java.io.File
      StackMap stack:
            aload 1 /* file */
            invokevirtual java.io.File.canWrite:()Z
            ifne 9
         6: .line 235
            new jdk.incubator.jpackage.internal.PackagerException
            dup
            ldc "error.cannot-write-to-output-dir"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
         7: .line 236
            aload 1 /* file */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
         8: .line 235
            aastore
            invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
            athrow
         9: .line 238
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.io.File file
        end local 0 // java.nio.file.Path outdir
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0  outdir  Ljava/nio/file/Path;
            1   10     1    file  Ljava/io/File;
    Exceptions:
      throws jdk.incubator.jpackage.internal.PackagerException
    MethodParameters:
        Name  Flags
      outdir  

  public static java.nio.file.Path replaceSuffix(java.nio.file.Path, java.lang.String);
    descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // java.nio.file.Path path
        start local 1 // java.lang.String suffix
         0: .line 241
            aload 0 /* path */
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            astore 2 /* parent */
        start local 2 // java.nio.file.Path parent
         1: .line 242
            new java.lang.StringBuilder
            dup
            aload 0 /* path */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            ldc "\\.[^.]*$"
            ldc ""
            invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         2: .line 243
            aload 1 /* suffix */
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
            ldc ""
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         3: .line 242
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* filename */
        start local 3 // java.lang.String filename
         4: .line 244
            aload 2 /* parent */
            ifnull 5
            aload 2 /* parent */
            aload 3 /* filename */
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            goto 6
      StackMap locals: java.nio.file.Path java.lang.String
      StackMap stack:
         5: aload 3 /* filename */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
      StackMap locals:
      StackMap stack: java.nio.file.Path
         6: areturn
        end local 3 // java.lang.String filename
        end local 2 // java.nio.file.Path parent
        end local 1 // java.lang.String suffix
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      path  Ljava/nio/file/Path;
            0    7     1    suffix  Ljava/lang/String;
            1    7     2    parent  Ljava/nio/file/Path;
            4    7     3  filename  Ljava/lang/String;
    MethodParameters:
        Name  Flags
      path    
      suffix  

  public static java.nio.file.Path addSuffix(java.nio.file.Path, java.lang.String);
    descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // java.nio.file.Path path
        start local 1 // java.lang.String suffix
         0: .line 248
            aload 0 /* path */
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            astore 2 /* parent */
        start local 2 // java.nio.file.Path parent
         1: .line 249
            new java.lang.StringBuilder
            dup
            aload 0 /* path */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* suffix */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* filename */
        start local 3 // java.lang.String filename
         2: .line 250
            aload 2 /* parent */
            ifnull 3
            aload 2 /* parent */
            aload 3 /* filename */
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            goto 4
      StackMap locals: java.nio.file.Path java.lang.String
      StackMap stack:
         3: aload 3 /* filename */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
      StackMap locals:
      StackMap stack: java.nio.file.Path
         4: areturn
        end local 3 // java.lang.String filename
        end local 2 // java.nio.file.Path parent
        end local 1 // java.lang.String suffix
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      path  Ljava/nio/file/Path;
            0    5     1    suffix  Ljava/lang/String;
            1    5     2    parent  Ljava/nio/file/Path;
            2    5     3  filename  Ljava/lang/String;
    MethodParameters:
        Name  Flags
      path    
      suffix  

  public static java.lang.String getSuffix(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.nio.file.Path path
         0: .line 254
            aload 0 /* path */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            aconst_null
            invokestatic jdk.incubator.jpackage.internal.IOUtils.replaceSuffix:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            astore 1 /* filename */
        start local 1 // java.lang.String filename
         1: .line 255
            aload 0 /* path */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aload 1 /* filename */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            areturn
        end local 1 // java.lang.String filename
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      path  Ljava/nio/file/Path;
            1    2     1  filename  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  

  public static void createXml(java.nio.file.Path, jdk.incubator.jpackage.internal.IOUtils$XmlConsumer);
    descriptor: (Ljava/nio/file/Path;Ljdk/incubator/jpackage/internal/IOUtils$XmlConsumer;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 265
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tXMLOutputFactory cannot be resolved to a type\n\tXMLOutputFactory cannot be resolved\n\tXMLStreamWriter cannot be resolved to a type\n\tXMLStreamWriter cannot be resolved to a type\n\tXMLStreamWriter cannot be resolved to a type\n\tXMLStreamWriter cannot be resolved to a type\n\tXMLStreamException cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      dstFile      
      xmlConsumer  

  private static void lambda$0(java.util.List, java.io.PrintStream, java.util.stream.Stream);
    descriptor: (Ljava/util/List;Ljava/io/PrintStream;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 lines
         0: .line 170
            aload 2 /* lines */
            aload 0
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic accept(Ljava/util/List;)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
                  java/util/List.add(Ljava/lang/Object;)Z (9 itf)
                  (Ljava/lang/String;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         1: .line 171
            aload 1
            ifnull 3
         2: .line 172
            aload 0
            aload 1
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic accept(Ljava/io/PrintStream;)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
                  java/io/PrintStream.println(Ljava/lang/String;)V (5)
                  (Ljava/lang/String;)V
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
         3: .line 174
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.stream.Stream lines
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     2  lines  Ljava/util/stream/Stream<Ljava/lang/String;>;

  private static void lambda$3(java.io.BufferedReader, java.util.List, java.io.BufferedReader);
    descriptor: (Ljava/io/BufferedReader;Ljava/util/List;Ljava/io/BufferedReader;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=4, args_size=3
         0: .line 200
            goto 2
        start local 3 // java.lang.String line
         1: .line 201
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1
            aload 3 /* line */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // java.lang.String line
         2: .line 200
      StackMap locals:
      StackMap stack:
            aload 0
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            dup
            astore 3 /* line */
        start local 3 // java.lang.String line
         3: ifnonnull 1
        end local 3 // java.lang.String line
         4: .line 203
            goto 9
      StackMap locals:
      StackMap stack: java.io.IOException
         5: astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
         6: .line 204
            aload 3 /* ioe */
            invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        end local 3 // java.io.IOException ioe
         7: .line 209
            goto 9
        start local 3 // java.lang.String line
         8: .line 210
      StackMap locals: java.lang.String
      StackMap stack:
            aload 3 /* line */
            invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
        end local 3 // java.lang.String line
         9: .line 209
      StackMap locals:
      StackMap stack:
            aload 2
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            dup
            astore 3 /* line */
        start local 3 // java.lang.String line
        10: ifnonnull 8
        end local 3 // java.lang.String line
        11: .line 212
            goto 14
      StackMap locals:
      StackMap stack: java.io.IOException
        12: astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
        13: .line 213
            aload 3 /* ioe */
            invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        end local 3 // java.io.IOException ioe
        14: .line 215
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    2     3  line  Ljava/lang/String;
            3    4     3  line  Ljava/lang/String;
            6    7     3   ioe  Ljava/io/IOException;
            8    9     3  line  Ljava/lang/String;
           10   11     3  line  Ljava/lang/String;
           13   14     3   ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     4       5  Class java.io.IOException
           7    11      12  Class java.io.IOException
}
SourceFile: "IOUtils.java"
NestMembers:
  jdk.incubator.jpackage.internal.IOUtils$1  jdk.incubator.jpackage.internal.IOUtils$2  jdk.incubator.jpackage.internal.IOUtils$PrettyPrintHandler  jdk.incubator.jpackage.internal.IOUtils$XmlConsumer
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  jdk.incubator.jpackage.internal.IOUtils$1
  jdk.incubator.jpackage.internal.IOUtils$2
  private PrettyPrintHandler = jdk.incubator.jpackage.internal.IOUtils$PrettyPrintHandler of jdk.incubator.jpackage.internal.IOUtils
  public abstract XmlConsumer = jdk.incubator.jpackage.internal.IOUtils$XmlConsumer of jdk.incubator.jpackage.internal.IOUtils