final class jdk.jpackage.internal.JLinkBundlerHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jpackage.internal.JLinkBundlerHelper
  super_class: java.lang.Object
{
  private static final java.lang.String ALL_MODULE_PATH;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "ALL-MODULE-PATH"

  private static final java.lang.String ALL_DEFAULT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "ALL-DEFAULT"

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.JLinkBundlerHelper this
         0: .line 53
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.jpackage.internal.JLinkBundlerHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/JLinkBundlerHelper;

  static void execute(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=8, args_size=2
        start local 0 // java.util.Map params
        start local 1 // java.nio.file.Path outputDir
         0: .line 59
            getstatic jdk.jpackage.internal.StandardBundlerParam.MODULE_PATH:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 0 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.util.List
         1: .line 58
            astore 2 /* modulePath */
        start local 2 // java.util.List modulePath
         2: .line 61
            getstatic jdk.jpackage.internal.StandardBundlerParam.ADD_MODULES:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 0 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.util.Set
         3: .line 60
            astore 3 /* addModules */
        start local 3 // java.util.Set addModules
         4: .line 63
            getstatic jdk.jpackage.internal.StandardBundlerParam.LIMIT_MODULES:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 0 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.util.Set
         5: .line 62
            astore 4 /* limitModules */
        start local 4 // java.util.Set limitModules
         6: .line 65
            getstatic jdk.jpackage.internal.StandardBundlerParam.JLINK_OPTIONS:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 0 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.util.List
         7: .line 64
            astore 5 /* options */
        start local 5 // java.util.List options
         8: .line 67
            getstatic jdk.jpackage.internal.StandardBundlerParam.LAUNCHER_DATA:Ljdk/jpackage/internal/StandardBundlerParam;
         9: .line 68
            aload 0 /* params */
        10: .line 67
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast jdk.jpackage.internal.LauncherData
            astore 6 /* launcherData */
        start local 6 // jdk.jpackage.internal.LauncherData launcherData
        11: .line 71
            aload 6 /* launcherData */
            invokevirtual jdk.jpackage.internal.LauncherData.isModular:()Z
            ifne 13
            aload 3 /* addModules */
            invokeinterface java.util.Set.isEmpty:()Z
            ifeq 13
        12: .line 72
            aload 3 /* addModules */
            ldc "ALL-DEFAULT"
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        13: .line 75
      StackMap locals: java.util.Map java.nio.file.Path java.util.List java.util.Set java.util.Set java.util.List jdk.jpackage.internal.LauncherData
      StackMap stack:
            aload 2 /* modulePath */
            aload 3 /* addModules */
            aload 4 /* limitModules */
            invokestatic jdk.jpackage.internal.JLinkBundlerHelper.createModuleList:(Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set;
            astore 7 /* modules */
        start local 7 // java.util.Set modules
        14: .line 77
            aload 6 /* launcherData */
            invokevirtual jdk.jpackage.internal.LauncherData.isModular:()Z
            ifeq 16
        15: .line 78
            aload 7 /* modules */
            aload 6 /* launcherData */
            invokevirtual jdk.jpackage.internal.LauncherData.moduleName:()Ljava/lang/String;
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        16: .line 81
      StackMap locals: java.util.Set
      StackMap stack:
            aload 1 /* outputDir */
            aload 2 /* modulePath */
            aload 7 /* modules */
            aload 4 /* limitModules */
            aload 5 /* options */
            invokestatic jdk.jpackage.internal.JLinkBundlerHelper.runJLink:(Ljava/nio/file/Path;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;)V
        17: .line 82
            return
        end local 7 // java.util.Set modules
        end local 6 // jdk.jpackage.internal.LauncherData launcherData
        end local 5 // java.util.List options
        end local 4 // java.util.Set limitModules
        end local 3 // java.util.Set addModules
        end local 2 // java.util.List modulePath
        end local 1 // java.nio.file.Path outputDir
        end local 0 // java.util.Map params
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   18     0        params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            0   18     1     outputDir  Ljava/nio/file/Path;
            2   18     2    modulePath  Ljava/util/List<Ljava/nio/file/Path;>;
            4   18     3    addModules  Ljava/util/Set<Ljava/lang/String;>;
            6   18     4  limitModules  Ljava/util/Set<Ljava/lang/String;>;
            8   18     5       options  Ljava/util/List<Ljava/lang/String;>;
           11   18     6  launcherData  Ljdk/jpackage/internal/LauncherData;
           14   18     7       modules  Ljava/util/Set<Ljava/lang/String;>;
    Exceptions:
      throws java.io.IOException, jdk.jpackage.internal.PackagerException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;)V
    MethodParameters:
           Name  Flags
      params     
      outputDir  

  private static java.util.Set<java.lang.String> getDefaultModules(java.util.Collection<java.nio.file.Path>, java.util.Collection<java.lang.String>);
    descriptor: (Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // java.util.Collection paths
        start local 1 // java.util.Collection addModules
         0: .line 92
            invokestatic java.lang.module.ModuleFinder.ofSystem:()Ljava/lang/module/ModuleFinder;
            invokeinterface java.lang.module.ModuleFinder.findAll:()Ljava/util/Set;
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         1: .line 93
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/lang/module/ModuleReference.descriptor()Ljava/lang/module/ModuleDescriptor; (5)
                  (Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleDescriptor;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         2: .line 94
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  jdk/jpackage/internal/JLinkBundlerHelper.exportsAPI(Ljava/lang/module/ModuleDescriptor;)Z (6)
                  (Ljava/lang/module/ModuleDescriptor;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         3: .line 95
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/lang/module/ModuleDescriptor.name()Ljava/lang/String; (5)
                  (Ljava/lang/module/ModuleDescriptor;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         4: .line 92
            astore 2 /* systemRoots */
        start local 2 // java.util.stream.Stream systemRoots
         5: .line 97
            aload 2 /* systemRoots */
         6: .line 98
            aload 1 /* addModules */
            invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
         7: .line 97
            invokestatic java.util.stream.Stream.concat:(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
         8: .line 98
            invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.Set
         9: .line 97
            astore 3 /* roots */
        start local 3 // java.util.Set roots
        10: .line 100
            aload 0 /* paths */
            invokestatic jdk.jpackage.internal.JLinkBundlerHelper.createModuleFinder:(Ljava/util/Collection;)Ljava/lang/module/ModuleFinder;
            astore 4 /* finder */
        start local 4 // java.lang.module.ModuleFinder finder
        11: .line 102
            invokestatic java.lang.module.Configuration.empty:()Ljava/lang/module/Configuration;
        12: .line 103
            aload 4 /* finder */
            iconst_0
            anewarray java.nio.file.Path
            invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
            aload 3 /* roots */
            invokevirtual java.lang.module.Configuration.resolveAndBind:(Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Collection;)Ljava/lang/module/Configuration;
        13: .line 104
            invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
        14: .line 105
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
        15: .line 106
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/lang/module/ResolvedModule.name()Ljava/lang/String; (5)
                  (Ljava/lang/module/ResolvedModule;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
        16: .line 107
            invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.Set
        17: .line 102
            areturn
        end local 4 // java.lang.module.ModuleFinder finder
        end local 3 // java.util.Set roots
        end local 2 // java.util.stream.Stream systemRoots
        end local 1 // java.util.Collection addModules
        end local 0 // java.util.Collection paths
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   18     0        paths  Ljava/util/Collection<Ljava/nio/file/Path;>;
            0   18     1   addModules  Ljava/util/Collection<Ljava/lang/String;>;
            5   18     2  systemRoots  Ljava/util/stream/Stream<Ljava/lang/String;>;
           10   18     3        roots  Ljava/util/Set<Ljava/lang/String;>;
           11   18     4       finder  Ljava/lang/module/ModuleFinder;
    Signature: (Ljava/util/Collection<Ljava/nio/file/Path;>;Ljava/util/Collection<Ljava/lang/String;>;)Ljava/util/Set<Ljava/lang/String;>;
    MethodParameters:
            Name  Flags
      paths       
      addModules  

  private static boolean exportsAPI(java.lang.module.ModuleDescriptor);
    descriptor: (Ljava/lang/module/ModuleDescriptor;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.module.ModuleDescriptor descriptor
         0: .line 114
            aload 0 /* descriptor */
            invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
         1: .line 115
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         2: .line 116
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  jdk/jpackage/internal/JLinkBundlerHelper.lambda$4(Ljava/lang/module/ModuleDescriptor$Exports;)Z (6)
                  (Ljava/lang/module/ModuleDescriptor$Exports;)Z
            invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
         3: .line 114
            ireturn
        end local 0 // java.lang.module.ModuleDescriptor descriptor
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0  descriptor  Ljava/lang/module/ModuleDescriptor;
    MethodParameters:
            Name  Flags
      descriptor  

  static java.lang.module.ModuleFinder createModuleFinder(java.util.Collection<java.nio.file.Path>);
    descriptor: (Ljava/util/Collection;)Ljava/lang/module/ModuleFinder;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // java.util.Collection modulePath
         0: .line 120
            iconst_2
            anewarray java.lang.module.ModuleFinder
            dup
            iconst_0
         1: .line 121
            invokestatic java.util.jar.JarFile.runtimeVersion:()Ljava/lang/Runtime$Version;
            iconst_1
         2: .line 122
            aload 0 /* modulePath */
            invokedynamic apply()Ljava/util/function/IntFunction;
              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:
                  (I)Ljava/lang/Object;
                  jdk/jpackage/internal/JLinkBundlerHelper.lambda$5(I)[Ljava/nio/file/Path; (6)
                  (I)[Ljava/nio/file/Path;
            invokeinterface java.util.Collection.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
            checkcast java.nio.file.Path[]
         3: .line 121
            invokestatic jdk.internal.module.ModulePath.of:(Ljava/lang/Runtime$Version;Z[Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
            aastore
            dup
            iconst_1
         4: .line 123
            invokestatic java.lang.module.ModuleFinder.ofSystem:()Ljava/lang/module/ModuleFinder;
            aastore
         5: .line 120
            invokestatic java.lang.module.ModuleFinder.compose:([Ljava/lang/module/ModuleFinder;)Ljava/lang/module/ModuleFinder;
            areturn
        end local 0 // java.util.Collection modulePath
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0  modulePath  Ljava/util/Collection<Ljava/nio/file/Path;>;
    Signature: (Ljava/util/Collection<Ljava/nio/file/Path;>;)Ljava/lang/module/ModuleFinder;
    MethodParameters:
            Name  Flags
      modulePath  

  private static java.util.Set<java.lang.String> createModuleList(java.util.List<java.nio.file.Path>, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>);
    descriptor: (Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=8, args_size=3
        start local 0 // java.util.List paths
        start local 1 // java.util.Set addModules
        start local 2 // java.util.Set limitModules
         0: .line 129
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 3 /* modules */
        start local 3 // java.util.Set modules
         1: .line 132
            ldc "ALL-MODULE-PATH"
         2: .line 133
            aload 0 /* paths */
            invokedynamic get(Ljava/util/List;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/jpackage/internal/JLinkBundlerHelper.lambda$6(Ljava/util/List;)Ljava/util/Collection; (6)
                  ()Ljava/util/Collection;
         3: .line 139
            ldc "ALL-DEFAULT"
         4: .line 140
            aload 0 /* paths */
            aload 3 /* modules */
            invokedynamic get(Ljava/util/List;Ljava/util/Set;)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/JLinkBundlerHelper.lambda$7(Ljava/util/List;Ljava/util/Set;)Ljava/util/Collection; (6)
                  ()Ljava/util/Collection;
         5: .line 131
            invokestatic java.util.Map.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
            astore 4 /* phonyModules */
        start local 4 // java.util.Map phonyModules
         6: .line 142
            aconst_null
            astore 5 /* phonyModule */
        start local 5 // java.util.function.Supplier phonyModule
         7: .line 143
            aload 1 /* addModules */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 7
            goto 12
      StackMap locals: java.util.List java.util.Set java.util.Set java.util.Set java.util.Map java.util.function.Supplier top java.util.Iterator
      StackMap stack:
         8: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 6 /* module */
        start local 6 // java.lang.String module
         9: .line 144
            aload 4 /* phonyModules */
            aload 6 /* module */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.function.Supplier
            astore 5 /* phonyModule */
        10: .line 145
            aload 5 /* phonyModule */
            ifnonnull 12
        11: .line 146
            aload 3 /* modules */
            aload 6 /* module */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 6 // java.lang.String module
        12: .line 143
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        13: .line 150
            aload 5 /* phonyModule */
            ifnull 15
        14: .line 151
            aload 3 /* modules */
            aload 5 /* phonyModule */
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            checkcast java.util.Collection
            invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
            pop
        15: .line 154
      StackMap locals: java.util.List java.util.Set java.util.Set java.util.Set java.util.Map java.util.function.Supplier
      StackMap stack:
            aload 3 /* modules */
            areturn
        end local 5 // java.util.function.Supplier phonyModule
        end local 4 // java.util.Map phonyModules
        end local 3 // java.util.Set modules
        end local 2 // java.util.Set limitModules
        end local 1 // java.util.Set addModules
        end local 0 // java.util.List paths
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   16     0         paths  Ljava/util/List<Ljava/nio/file/Path;>;
            0   16     1    addModules  Ljava/util/Set<Ljava/lang/String;>;
            0   16     2  limitModules  Ljava/util/Set<Ljava/lang/String;>;
            1   16     3       modules  Ljava/util/Set<Ljava/lang/String;>;
            6   16     4  phonyModules  Ljava/util/Map<Ljava/lang/String;Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/String;>;>;>;
            7   16     5   phonyModule  Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/String;>;>;
            9   12     6        module  Ljava/lang/String;
    Signature: (Ljava/util/List<Ljava/nio/file/Path;>;Ljava/util/Set<Ljava/lang/String;>;Ljava/util/Set<Ljava/lang/String;>;)Ljava/util/Set<Ljava/lang/String;>;
    MethodParameters:
              Name  Flags
      paths         
      addModules    
      limitModules  

  private static void runJLink(java.nio.file.Path, java.util.List<java.nio.file.Path>, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>, java.util.List<java.lang.String>);
    descriptor: (Ljava/nio/file/Path;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=10, args_size=5
        start local 0 // java.nio.file.Path output
        start local 1 // java.util.List modulePath
        start local 2 // java.util.Set modules
        start local 3 // java.util.Set limitModules
        start local 4 // java.util.List options
         0: .line 162
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 5 /* args */
        start local 5 // java.util.ArrayList args
         1: .line 163
            aload 5 /* args */
            ldc "--output"
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         2: .line 164
            aload 5 /* args */
            aload 0 /* output */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         3: .line 165
            aload 1 /* modulePath */
            ifnull 6
            aload 1 /* modulePath */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 6
         4: .line 166
            aload 5 /* args */
            ldc "--module-path"
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         5: .line 167
            aload 5 /* args */
            aload 1 /* modulePath */
            invokestatic jdk.jpackage.internal.JLinkBundlerHelper.getPathList:(Ljava/util/List;)Ljava/lang/String;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         6: .line 169
      StackMap locals: java.util.ArrayList
      StackMap stack:
            aload 2 /* modules */
            ifnull 9
            aload 2 /* modules */
            invokeinterface java.util.Set.isEmpty:()Z
            ifne 9
         7: .line 170
            aload 5 /* args */
            ldc "--add-modules"
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         8: .line 171
            aload 5 /* args */
            aload 2 /* modules */
            invokestatic jdk.jpackage.internal.JLinkBundlerHelper.getStringList:(Ljava/util/Set;)Ljava/lang/String;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         9: .line 173
      StackMap locals:
      StackMap stack:
            aload 3 /* limitModules */
            ifnull 12
            aload 3 /* limitModules */
            invokeinterface java.util.Set.isEmpty:()Z
            ifne 12
        10: .line 174
            aload 5 /* args */
            ldc "--limit-modules"
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        11: .line 175
            aload 5 /* args */
            aload 3 /* limitModules */
            invokestatic jdk.jpackage.internal.JLinkBundlerHelper.getStringList:(Ljava/util/Set;)Ljava/lang/String;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        12: .line 177
      StackMap locals:
      StackMap stack:
            aload 4 /* options */
            ifnull 21
        13: .line 178
            aload 4 /* options */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 20
      StackMap locals: java.nio.file.Path java.util.List java.util.Set java.util.Set java.util.List java.util.ArrayList top java.util.Iterator
      StackMap stack:
        14: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 6 /* option */
        start local 6 // java.lang.String option
        15: .line 179
            aload 6 /* option */
            ldc "--output"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 18
        16: .line 180
            aload 6 /* option */
            ldc "--add-modules"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 18
        17: .line 181
            aload 6 /* option */
            ldc "--module-path"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 19
        18: .line 182
      StackMap locals: java.nio.file.Path java.util.List java.util.Set java.util.Set java.util.List java.util.ArrayList java.lang.String java.util.Iterator
      StackMap stack:
            new jdk.jpackage.internal.PackagerException
            dup
            ldc "error.blocked.option"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 6 /* option */
            aastore
            invokespecial jdk.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
            athrow
        19: .line 184
      StackMap locals:
      StackMap stack:
            aload 5 /* args */
            aload 6 /* option */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 6 // java.lang.String option
        20: .line 178
      StackMap locals: java.nio.file.Path java.util.List java.util.Set java.util.Set java.util.List java.util.ArrayList top java.util.Iterator
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 14
        21: .line 188
      StackMap locals: java.nio.file.Path java.util.List java.util.Set java.util.Set java.util.List java.util.ArrayList
      StackMap stack:
            new java.io.StringWriter
            dup
            invokespecial java.io.StringWriter.<init>:()V
            astore 6 /* writer */
        start local 6 // java.io.StringWriter writer
        22: .line 189
            new java.io.PrintWriter
            dup
            aload 6 /* writer */
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
            astore 7 /* pw */
        start local 7 // java.io.PrintWriter pw
        23: .line 191
            getstatic jdk.jpackage.internal.JLinkBundlerHelper$LazyLoad.JLINK_TOOL:Ljava/util/spi/ToolProvider;
            aload 7 /* pw */
            aload 7 /* pw */
            aload 5 /* args */
            iconst_0
            anewarray java.lang.String
            invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.lang.String[]
            invokeinterface java.util.spi.ToolProvider.run:(Ljava/io/PrintWriter;Ljava/io/PrintWriter;[Ljava/lang/String;)I
            istore 8 /* retVal */
        start local 8 // int retVal
        24: .line 192
            aload 6 /* writer */
            invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
            astore 9 /* jlinkOut */
        start local 9 // java.lang.String jlinkOut
        25: .line 194
            aload 5 /* args */
            iconst_0
            ldc "jlink"
            invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
        26: .line 195
            aload 5 /* args */
            aload 9 /* jlinkOut */
            invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
            iload 8 /* retVal */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/util/List;Ljava/util/List;I)V
        27: .line 198
            iload 8 /* retVal */
            ifeq 29
        28: .line 199
            new jdk.jpackage.internal.PackagerException
            dup
            ldc "error.jlink.failed"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 9 /* jlinkOut */
            aastore
            invokespecial jdk.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
            athrow
        29: .line 201
      StackMap locals: java.nio.file.Path java.util.List java.util.Set java.util.Set java.util.List java.util.ArrayList java.io.StringWriter java.io.PrintWriter int java.lang.String
      StackMap stack:
            return
        end local 9 // java.lang.String jlinkOut
        end local 8 // int retVal
        end local 7 // java.io.PrintWriter pw
        end local 6 // java.io.StringWriter writer
        end local 5 // java.util.ArrayList args
        end local 4 // java.util.List options
        end local 3 // java.util.Set limitModules
        end local 2 // java.util.Set modules
        end local 1 // java.util.List modulePath
        end local 0 // java.nio.file.Path output
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   30     0        output  Ljava/nio/file/Path;
            0   30     1    modulePath  Ljava/util/List<Ljava/nio/file/Path;>;
            0   30     2       modules  Ljava/util/Set<Ljava/lang/String;>;
            0   30     3  limitModules  Ljava/util/Set<Ljava/lang/String;>;
            0   30     4       options  Ljava/util/List<Ljava/lang/String;>;
            1   30     5          args  Ljava/util/ArrayList<Ljava/lang/String;>;
           15   20     6        option  Ljava/lang/String;
           22   30     6        writer  Ljava/io/StringWriter;
           23   30     7            pw  Ljava/io/PrintWriter;
           24   30     8        retVal  I
           25   30     9      jlinkOut  Ljava/lang/String;
    Exceptions:
      throws jdk.jpackage.internal.PackagerException, java.io.IOException
    Signature: (Ljava/nio/file/Path;Ljava/util/List<Ljava/nio/file/Path;>;Ljava/util/Set<Ljava/lang/String;>;Ljava/util/Set<Ljava/lang/String;>;Ljava/util/List<Ljava/lang/String;>;)V
    MethodParameters:
              Name  Flags
      output        
      modulePath    
      modules       
      limitModules  
      options       

  private static java.lang.String getPathList(java.util.List<java.nio.file.Path>);
    descriptor: (Ljava/util/List;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.List pathList
         0: .line 204
            aload 0 /* pathList */
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
         1: .line 205
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/nio/file/Path.toString()Ljava/lang/String; (9 itf)
                  (Ljava/nio/file/Path;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         2: .line 206
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/util/regex/Matcher.quoteReplacement(Ljava/lang/String;)Ljava/lang/String; (6)
                  (Ljava/lang/String;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         3: .line 207
            getstatic java.io.File.pathSeparator:Ljava/lang/String;
            invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.lang.String
         4: .line 204
            areturn
        end local 0 // java.util.List pathList
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0  pathList  Ljava/util/List<Ljava/nio/file/Path;>;
    Signature: (Ljava/util/List<Ljava/nio/file/Path;>;)Ljava/lang/String;
    MethodParameters:
          Name  Flags
      pathList  

  private static java.lang.String getStringList(java.util.Set<java.lang.String>);
    descriptor: (Ljava/util/Set;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.Set strings
         0: .line 211
            aload 0 /* strings */
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         1: .line 212
            ldc ","
            invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
         2: .line 211
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 0 // java.util.Set strings
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0  strings  Ljava/util/Set<Ljava/lang/String;>;
    Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/String;
    MethodParameters:
         Name  Flags
      strings  

  private static boolean lambda$4(java.lang.module.ModuleDescriptor$Exports);
    descriptor: (Ljava/lang/module/ModuleDescriptor$Exports;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.module.ModuleDescriptor$Exports e
         0: .line 116
            aload 0 /* e */
            invokevirtual java.lang.module.ModuleDescriptor$Exports.isQualified:()Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // java.lang.module.ModuleDescriptor$Exports e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     e  Ljava/lang/module/ModuleDescriptor$Exports;

  private static java.nio.file.Path[] lambda$5(int);
    descriptor: (I)[Ljava/nio/file/Path;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            iload 0
            anewarray java.nio.file.Path
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.util.Collection lambda$6(java.util.List);
    descriptor: (Ljava/util/List;)Ljava/util/Collection;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
         0: .line 133
            aload 0
            invokestatic jdk.jpackage.internal.JLinkBundlerHelper.createModuleFinder:(Ljava/util/Collection;)Ljava/lang/module/ModuleFinder;
         1: .line 134
            invokeinterface java.lang.module.ModuleFinder.findAll:()Ljava/util/Set;
         2: .line 135
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         3: .line 136
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/lang/module/ModuleReference.descriptor()Ljava/lang/module/ModuleDescriptor; (5)
                  (Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleDescriptor;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         4: .line 137
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/lang/module/ModuleDescriptor.name()Ljava/lang/String; (5)
                  (Ljava/lang/module/ModuleDescriptor;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         5: .line 138
            invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.Collection
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.util.Collection lambda$7(java.util.List, java.util.Set);
    descriptor: (Ljava/util/List;Ljava/util/Set;)Ljava/util/Collection;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 140
            aload 0
            aload 1
            invokestatic jdk.jpackage.internal.JLinkBundlerHelper.getDefaultModules:(Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/Set;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "JLinkBundlerHelper.java"
NestMembers:
  jdk.jpackage.internal.JLinkBundlerHelper$LazyLoad
InnerClasses:
  public final Version = java.lang.Runtime$Version of java.lang.Runtime
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final Exports = java.lang.module.ModuleDescriptor$Exports of java.lang.module.ModuleDescriptor
  private LazyLoad = jdk.jpackage.internal.JLinkBundlerHelper$LazyLoad of jdk.jpackage.internal.JLinkBundlerHelper