< prev index next >
src/jdk.jpackage/share/classes/jdk/jpackage/internal/JLinkBundlerHelper.java
Print this page
*** 153,163 ****
} else if (StandardBundlerParam.MODULE.fetchFrom(params) == null) {
// user specified only main class, all jars will be on the classpath
mainJarType = ModFile.ModType.UnnamedJar;
}
! boolean bindServices = addModules.isEmpty();
// Modules
String mainModule = getMainModule(params);
if (mainModule == null) {
if (mainJarType == ModFile.ModType.UnnamedJar) {
--- 153,164 ----
} else if (StandardBundlerParam.MODULE.fetchFrom(params) == null) {
// user specified only main class, all jars will be on the classpath
mainJarType = ModFile.ModType.UnnamedJar;
}
! boolean bindServices =
! StandardBundlerParam.BIND_SERVICES.fetchFrom(params);
// Modules
String mainModule = getMainModule(params);
if (mainModule == null) {
if (mainJarType == ModFile.ModType.UnnamedJar) {
< prev index next >