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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 15
    • 15
    • tools
    • b28

        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

              asemenyuk Alexey Semenyuk
              asemenyuk Alexey Semenyuk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: