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

--runtime-image on Mac should work for runtime root

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b28

      Backports

        Description

        Right now value of `--runtime-image` option of jpackage should be path to Java runtime home directory.
        In jdk14 it used to work for Java runtime root directory too.
        In jdk15 it works for Java runtime root only. It is not quit clear what changeset to blame. Probably JDK-8246792.
        The fix should include relevant jtreg test.
        The test cases should be covered by the test:

        1. Pass Java runtime home directory in --runtime-image:
        jlink ... --output $runtime
        jpackage ... --runtime-image $runtime

        2. Pass Java runtime root directory in --runtime-image (Mac only):
        jlink ... --output $runtime/Contents/Home
        jpackage ... --runtime-image $runtime

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: