Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231882

--add-modules ALL-MODULE-PATH is not handled properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • internal
    • internal
    • tools

      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.

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: