src/jdk.jpackage/share/classes/jdk/jpackage/internal/JLinkBundlerHelper.java
branchJDK-8200758-branch
changeset 58992 7249e95cc439
parent 58889 f04c0704a006
equal deleted inserted replaced
58922:fbaf2e6402ad 58992:7249e95cc439
   153         } else if (StandardBundlerParam.MODULE.fetchFrom(params) == null) {
   153         } else if (StandardBundlerParam.MODULE.fetchFrom(params) == null) {
   154             // user specified only main class, all jars will be on the classpath
   154             // user specified only main class, all jars will be on the classpath
   155             mainJarType = ModFile.ModType.UnnamedJar;
   155             mainJarType = ModFile.ModType.UnnamedJar;
   156         }
   156         }
   157 
   157 
   158         boolean bindServices = addModules.isEmpty();
   158         boolean bindServices =
       
   159                 StandardBundlerParam.BIND_SERVICES.fetchFrom(params);
   159 
   160 
   160         // Modules
   161         // Modules
   161         String mainModule = getMainModule(params);
   162         String mainModule = getMainModule(params);
   162         if (mainModule == null) {
   163         if (mainModule == null) {
   163             if (mainJarType == ModFile.ModType.UnnamedJar) {
   164             if (mainJarType == ModFile.ModType.UnnamedJar) {