Fix minor jpackage issues

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 17, 21, 25, 26
    • Component/s: tools
    • b21
    • generic
    • generic

      Few minor jpackage issues:

       - Remove debug logging of arguments at [1]. It looks like a leftover from some debug session years ago.
       - The default module path is not passed to jlink. A regression from JDK-8333664. jlink without an explicit "--module-path" option set to the default module path should work just fine, so this issue doesn't have a functional impact.
       - Fix incorrect configuration of BuildEnv instance in msi/exe bundlers. The directory for cooking app image when bundling msi/exe packages is supposed to be "${TMP}/image", but it is "${TMP}/image/${AppName}", which is correct for app image bundling, but not for msi/exe bundling. The issue doesn't have a functional impact.

      [1] https://github.com/openjdk/jdk/blob/0cb8ccd89a659eaf1e245cfb7f8c32fb16bff4c7/src/jdk.jpackage/share/classes/jdk/jpackage/internal/Arguments.java#L128

            Assignee:
            Alexey Semenyuk
            Reporter:
            Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: