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

Revisit the properties in the release file generated by jlink

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd_minor
    • Component/s: tools
    • Labels:
      None

      Description

      jlink includes the following properties in the release file:

      JAVA_VERSION="<JDK version>"
      MODULES="<modules linked in the image in topological order>"

      $JAVA_VERSION may be different from the value of `java.version` system property which is of $VNUM(-$PRE)?\+$BUILD(-$OPT)?

      JAVA_VERSION has $VNUM and drop the rest of information.

      OS_NAME and OS_VERSION are not extracted from ModuleTarget.
      These OS_* properties are currently added to the release file by using `jlink --release-info` option.

      This RFE suggests to revisit JAVA_VERSION be the same as "java.version" system property. Also detect whether it should include TARGET_PLATFORM property along with the JDK-8178016.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: