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

Add JAVA_RUNTIME_VERSION in the release file of a JDK image

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 21
    • infrastructure
    • None
    • behavioral
    • minimal
    • A new JAVA_RUNTIME_VERSION is added in $JAVA_HOME/release file. No change to existing content.
    • File or wire format, Other
    • JDK

      Summary

      Add JAVA_RUNTIME_VERSION with the version string equivalent to the string represented by Runtime::version() in the release file.

      Problem

      $JAVA_HOME/release file currently includes JAVA_VERSION which is the version number plus the pre-release identifier for example "21-ea". The build number and additional build information are useful in identifying the information about a JDK image but not available.

      Solution

      Add JAVA_RUNTIME_VERSION with the version string equivalent to the string represented by Runtime::version() in the release file

      Specification

      Add the following entry in the $JAVA_HOME/release file:

      JAVA_RUNTIME_VERSION="$(VSTR)"

      where $(VSTR) is the string represented by Runtime::version(). For example, JAVA_RUNTIME_VERSION="21-ea+11-912"

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: