public class jdk.jpackage.internal.IOUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.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.jpackage.internal.IOUtils this
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.jpackage.internal.IOUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/IOUtils;

  public static void deleteRecursive(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.nio.file.Path directory
         0: .line 59
            aload 0 /* directory */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 2
         1: .line 60
            return
         2: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* directory */
            new jdk.jpackage.internal.IOUtils$1
            dup
            invokespecial jdk.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
         3: .line 90
            return
        end local 0 // java.nio.file.Path directory
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0  directory  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      directory  

  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 93
            aload 0 /* src */
            aload 1 /* dest */
            invokestatic java.util.List.of:()Ljava/util/List;
            invokestatic jdk.jpackage.internal.IOUtils.copyRecursive:(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/List;)V
         1: .line 94
            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 98
            aload 0 /* src */
            new jdk.jpackage.internal.IOUtils$2
            dup
            aload 2 /* excludes */
            aload 1 /* dest */
            aload 0 /* src */
            invokespecial jdk.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 119
            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.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=6, locals=2, args_size=2
        start local 0 // java.nio.file.Path sourceFile
        start local 1 // java.nio.file.Path destFile
         0: .line 123
            aload 1 /* destFile */
            invokestatic jdk.jpackage.internal.IOUtils.getParent:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
         1: .line 125
            aload 0 /* sourceFile */
            aload 1 /* destFile */
            iconst_2
            anewarray java.nio.file.CopyOption
            dup
            iconst_0
         2: .line 126
            getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
            aastore
            dup
            iconst_1
         3: .line 127
            getstatic java.nio.file.StandardCopyOption.COPY_ATTRIBUTES:Ljava/nio/file/StandardCopyOption;
            aastore
         4: .line 125
            invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
            pop
         5: .line 128
            return
        end local 1 // java.nio.file.Path destFile
        end local 0 // java.nio.file.Path sourceFile
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0  sourceFile  Ljava/nio/file/Path;
            0    6     1    destFile  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
            Name  Flags
      sourceFile  
      destFile    

  public static boolean exists(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.nio.file.Path path
         0: .line 131
            aload 0 /* path */
            ifnonnull 2
         1: .line 132
            iconst_0
            ireturn
         2: .line 135
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ireturn
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  path  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      path  

  public static void run(java.lang.String, java.nio.file.Path);
    descriptor: (Ljava/lang/String;Ljava/nio/file/Path;)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.nio.file.Path paramFile
         0: .line 141
            aload 1 /* paramFile */
            invokestatic jdk.jpackage.internal.IOUtils.exists:(Ljava/nio/file/Path;)Z
            ifeq 7
         1: .line 143
            new java.lang.ProcessBuilder
            dup
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            aload 0 /* launcher */
            aastore
            dup
            iconst_1
         2: .line 144
            aload 1 /* paramFile */
            invokestatic jdk.jpackage.internal.IOUtils.getFileName:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
         3: .line 143
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
         4: .line 142
            astore 2 /* pb */
        start local 2 // java.lang.ProcessBuilder pb
         5: .line 145
            aload 2 /* pb */
            aload 1 /* paramFile */
            invokestatic jdk.jpackage.internal.IOUtils.getParent:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.lang.ProcessBuilder.directory:(Ljava/io/File;)Ljava/lang/ProcessBuilder;
            astore 2 /* pb */
         6: .line 146
            aload 2 /* pb */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
        end local 2 // java.lang.ProcessBuilder pb
         7: .line 148
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.nio.file.Path paramFile
        end local 0 // java.lang.String launcher
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0   launcher  Ljava/lang/String;
            0    8     1  paramFile  Ljava/nio/file/Path;
            5    7     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=6, locals=1, args_size=1
        start local 0 // java.lang.ProcessBuilder pb
         0: .line 152
            aload 0 /* pb */
            iconst_0
            aconst_null
            iconst_0
            ldc -1
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;ZJ)V
         1: .line 153
            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, long);
    descriptor: (Ljava/lang/ProcessBuilder;J)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // java.lang.ProcessBuilder pb
        start local 1 // long timeout
         0: .line 158
            aload 0 /* pb */
            iconst_0
            aconst_null
            iconst_0
            lload 1 /* timeout */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;ZJ)V
         1: .line 159
            return
        end local 1 // long timeout
        end local 0 // java.lang.ProcessBuilder pb
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0       pb  Ljava/lang/ProcessBuilder;
            0    2     1  timeout  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      pb       
      timeout  

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

  static void exec(java.lang.ProcessBuilder, boolean, java.io.PrintStream);
    descriptor: (Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, 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 173
            aload 0 /* pb */
            iload 1 /* testForPresenceOnly */
            aload 2 /* consumer */
            iconst_0
            ldc -1
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;ZJ)V
         1: .line 174
            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, long);
    descriptor: (Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;ZJ)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=8, args_size=5
        start local 0 // java.lang.ProcessBuilder pb
        start local 1 // boolean testForPresenceOnly
        start local 2 // java.io.PrintStream consumer
        start local 3 // boolean writeOutputToFile
        start local 4 // long timeout
         0: .line 179
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 6 /* output */
        start local 6 // java.util.List output
         1: .line 180
            aload 0 /* pb */
            invokestatic jdk.jpackage.internal.Executor.of:(Ljava/lang/ProcessBuilder;)Ljdk/jpackage/internal/Executor;
            iload 3 /* writeOutputToFile */
            invokevirtual jdk.jpackage.internal.Executor.setWriteOutputToFile:(Z)Ljdk/jpackage/internal/Executor;
         2: .line 181
            lload 4 /* timeout */
            invokevirtual jdk.jpackage.internal.Executor.setTimeout:(J)Ljdk/jpackage/internal/Executor;
            aload 6 /* 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/jpackage/internal/IOUtils.lambda$0(Ljava/util/List;Ljava/io/PrintStream;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;
         3: .line 180
            astore 7 /* exec */
        start local 7 // jdk.jpackage.internal.Executor exec
         4: .line 188
            iload 1 /* testForPresenceOnly */
            ifeq 7
         5: .line 189
            aload 7 /* exec */
            invokevirtual jdk.jpackage.internal.Executor.execute:()I
            pop
         6: .line 190
            goto 8
         7: .line 191
      StackMap locals: java.util.List jdk.jpackage.internal.Executor
      StackMap stack:
            aload 7 /* exec */
            invokevirtual jdk.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/jpackage/internal/Executor;
            pop
         8: .line 193
      StackMap locals:
      StackMap stack:
            return
        end local 7 // jdk.jpackage.internal.Executor exec
        end local 6 // java.util.List output
        end local 4 // long timeout
        end local 3 // boolean writeOutputToFile
        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    9     0                   pb  Ljava/lang/ProcessBuilder;
            0    9     1  testForPresenceOnly  Z
            0    9     2             consumer  Ljava/io/PrintStream;
            0    9     3    writeOutputToFile  Z
            0    9     4              timeout  J
            1    9     6               output  Ljava/util/List<Ljava/lang/String;>;
            4    9     7                 exec  Ljdk/jpackage/internal/Executor;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                     Name  Flags
      pb                   
      testForPresenceOnly  
      consumer             
      writeOutputToFile    
      timeout              

  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 198
            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 200
            aload 2 /* pb */
            invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
            astore 3 /* p */
        start local 3 // java.lang.Process p
         2: .line 202
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* list */
        start local 4 // java.util.List list
         3: .line 205
            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 204
            astore 5 /* in */
        start local 5 // java.io.BufferedReader in
         5: .line 207
            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 206
            astore 6 /* err */
        start local 6 // java.io.BufferedReader err
         7: .line 209
            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/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 228
            aload 7 /* t */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         9: .line 229
            aload 7 /* t */
            invokevirtual java.lang.Thread.start:()V
        10: .line 231
            aload 3 /* p */
            invokevirtual java.lang.Process.waitFor:()I
            istore 8 /* ret */
        start local 8 // int ret
        11: .line 232
            aload 2 /* pb */
            invokevirtual java.lang.ProcessBuilder.command:()Ljava/util/List;
            aload 4 /* list */
            iload 8 /* ret */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/util/List;Ljava/util/List;I)V
        12: .line 234
            aload 0 /* result */
            invokeinterface java.util.List.clear:()V
        13: .line 235
            aload 0 /* result */
            aload 4 /* list */
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
        14: .line 237
            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   15     0  result  Ljava/util/List<Ljava/lang/String;>;
            0   15     1    args  [Ljava/lang/String;
            1   15     2      pb  Ljava/lang/ProcessBuilder;
            2   15     3       p  Ljava/lang/Process;
            3   15     4    list  Ljava/util/List<Ljava/lang/String;>;
            5   15     5      in  Ljava/io/BufferedReader;
            7   15     6     err  Ljava/io/BufferedReader;
            8   15     7       t  Ljava/lang/Thread;
           11   15     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=1, args_size=1
        start local 0 // java.nio.file.Path outdir
         0: .line 241
            aload 0 /* outdir */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 7
         1: .line 243
            aload 0 /* outdir */
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
         2: .line 244
            goto 7
      StackMap locals:
      StackMap stack: java.io.IOException
         3: pop
         4: .line 245
            new jdk.jpackage.internal.PackagerException
            dup
            ldc "error.cannot-create-output-dir"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
         5: .line 246
            aload 0 /* outdir */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
         6: .line 245
            aastore
            invokespecial jdk.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
            athrow
         7: .line 250
      StackMap locals:
      StackMap stack:
            aload 0 /* outdir */
            invokestatic java.nio.file.Files.isWritable:(Ljava/nio/file/Path;)Z
            ifne 11
         8: .line 251
            new jdk.jpackage.internal.PackagerException
            dup
            ldc "error.cannot-write-to-output-dir"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
         9: .line 252
            aload 0 /* outdir */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
        10: .line 251
            aastore
            invokespecial jdk.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
            athrow
        11: .line 254
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.nio.file.Path outdir
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0  outdir  Ljava/nio/file/Path;
      Exception table:
        from    to  target  type
           1     2       3  Class java.io.IOException
    Exceptions:
      throws jdk.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 257
            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 258
            new java.lang.StringBuilder
            dup
            aload 0 /* path */
            invokestatic jdk.jpackage.internal.IOUtils.getFileName:(Ljava/nio/file/Path;)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 259
            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 258
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* filename */
        start local 3 // java.lang.String filename
         4: .line 260
            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 264
            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 265
            new java.lang.StringBuilder
            dup
            aload 0 /* path */
            invokestatic jdk.jpackage.internal.IOUtils.getFileName:(Ljava/nio/file/Path;)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 266
            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 270
            aload 0 /* path */
            invokestatic jdk.jpackage.internal.IOUtils.getFileName:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
            aconst_null
            invokestatic jdk.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 271
            aload 0 /* path */
            invokestatic jdk.jpackage.internal.IOUtils.getFileName:(Ljava/nio/file/Path;)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.jpackage.internal.IOUtils$XmlConsumer);
    descriptor: (Ljava/nio/file/Path;Ljdk/jpackage/internal/IOUtils$XmlConsumer;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 281
            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  

  public static java.nio.file.Path getParent(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.nio.file.Path p
         0: .line 303
            aload 0 /* p */
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            astore 1 /* parent */
        start local 1 // java.nio.file.Path parent
         1: .line 304
            aload 1 /* parent */
            ifnonnull 6
         2: .line 306
            new java.lang.IllegalArgumentException
            dup
            aload 0 /* p */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
         3: .line 305
            astore 2 /* iae */
        start local 2 // java.lang.IllegalArgumentException iae
         4: .line 307
            aload 2 /* iae */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
         5: .line 308
            aload 2 /* iae */
            athrow
        end local 2 // java.lang.IllegalArgumentException iae
         6: .line 310
      StackMap locals: java.nio.file.Path
      StackMap stack:
            aload 1 /* parent */
            areturn
        end local 1 // java.nio.file.Path parent
        end local 0 // java.nio.file.Path p
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0       p  Ljava/nio/file/Path;
            1    7     1  parent  Ljava/nio/file/Path;
            4    6     2     iae  Ljava/lang/IllegalArgumentException;
    MethodParameters:
      Name  Flags
      p     

  public static java.nio.file.Path getFileName(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.nio.file.Path p
         0: .line 314
            aload 0 /* p */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            astore 1 /* filename */
        start local 1 // java.nio.file.Path filename
         1: .line 315
            aload 1 /* filename */
            ifnonnull 6
         2: .line 317
            new java.lang.IllegalArgumentException
            dup
            aload 0 /* p */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
         3: .line 316
            astore 2 /* iae */
        start local 2 // java.lang.IllegalArgumentException iae
         4: .line 318
            aload 2 /* iae */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
         5: .line 319
            aload 2 /* iae */
            athrow
        end local 2 // java.lang.IllegalArgumentException iae
         6: .line 321
      StackMap locals: java.nio.file.Path
      StackMap stack:
            aload 1 /* filename */
            areturn
        end local 1 // java.nio.file.Path filename
        end local 0 // java.nio.file.Path p
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0         p  Ljava/nio/file/Path;
            1    7     1  filename  Ljava/nio/file/Path;
            4    6     2       iae  Ljava/lang/IllegalArgumentException;
    MethodParameters:
      Name  Flags
      p     

  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 182
            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 183
            aload 1
            ifnull 3
         2: .line 184
            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 186
      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 212
            goto 2
        start local 3 // java.lang.String line
         1: .line 213
      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 212
      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 215
            goto 9
      StackMap locals:
      StackMap stack: java.io.IOException
         5: astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
         6: .line 216
            aload 3 /* ioe */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        end local 3 // java.io.IOException ioe
         7: .line 221
            goto 9
        start local 3 // java.lang.String line
         8: .line 222
      StackMap locals: java.lang.String
      StackMap stack:
            aload 3 /* line */
            invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
        end local 3 // java.lang.String line
         9: .line 221
      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 224
            goto 14
      StackMap locals:
      StackMap stack: java.io.IOException
        12: astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
        13: .line 225
            aload 3 /* ioe */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        end local 3 // java.io.IOException ioe
        14: .line 227
      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.jpackage.internal.IOUtils$1  jdk.jpackage.internal.IOUtils$2  jdk.jpackage.internal.IOUtils$PrettyPrintHandler  jdk.jpackage.internal.IOUtils$XmlConsumer
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  jdk.jpackage.internal.IOUtils$1
  jdk.jpackage.internal.IOUtils$2
  private PrettyPrintHandler = jdk.jpackage.internal.IOUtils$PrettyPrintHandler of jdk.jpackage.internal.IOUtils
  public abstract XmlConsumer = jdk.jpackage.internal.IOUtils$XmlConsumer of jdk.jpackage.internal.IOUtils