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

Revisit the properties in the release file generated by jlink

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • tools
    • None

      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.

            Unassigned Unassigned
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: