jpackage: remove macOS-specific code from jdk.jpackage.internal.ModuleInfo

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 27
    • Component/s: tools
    • None
    • generic
    • generic

      ModuleInfo#fromCookedRuntime() has macOS-specific code that shouldn't be there [1].

      The parameter of ModuleInfo#fromCookedRuntime() should always be a directory with the standard JDK structure, not the root directory of a macOS bundle.

      [1] https://github.com/openjdk/jdk/blob/e0b040a6c6713827033e9ba51c9ded920dd0203b/src/jdk.jpackage/share/classes/jdk/jpackage/internal/ModuleInfo.java#L65

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

              Created:
              Updated: