When the value of the --add-modules option contains ALL-MODULE-PATH JLinkBundlerHelper.ModuleHelper.getModuleNamesFromPath() is invoked to get a list of all modules on the path.
This is broken for modular jar files, since it only returns the root of the file name, which may or may not be the name of the module.
When it is not, jlink is given a module it cannot find and throws and exception.
This is broken for modular jar files, since it only returns the root of the file name, which may or may not be the name of the module.
When it is not, jlink is given a module it cannot find and throws and exception.
- relates to
-
JDK-8233265 jpackage --add-modules cannot find additional modules with non-modular app
-
- Resolved
-