jpackage uses wrong separators to split values of "--app-content" and "--mac-dmg-content" options

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 17, 21, 25
    • Component/s: tools
    • None
    • generic
    • generic

      The values of "--app-content" and "--mac-dmg-content" options are lists of paths. The standard path separator character is a colon (:) on Unix and a semicolon (;) on Windows. However, jpackage uses a comma (,) as a path separator. See [1], [2], and [3].

      Documentation and cli help are consistent with this behavior.

      [1] https://github.com/openjdk/jdk/blob/0e725c6fb1f324b0fd17d206806b4104dc7ba767/src/jdk.jpackage/share/classes/jdk/jpackage/internal/StandardBundlerParam.java#L423
      [2] https://github.com/openjdk/jdk/blob/0e725c6fb1f324b0fd17d206806b4104dc7ba767/src/jdk.jpackage/share/classes/jdk/jpackage/internal/StandardBundlerParam.java#L414
      [3] https://github.com/openjdk/jdk/blob/0e725c6fb1f324b0fd17d206806b4104dc7ba767/src/jdk.jpackage/share/classes/jdk/jpackage/internal/DeployParams.java#L344

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

              Created:
              Updated: