Integrated: JDK-8303476: Add the runtime version in the release file of a JDK image

Mandy Chung mchung at openjdk.org
Thu Mar 2 17:08:27 UTC 2023


On Wed, 1 Mar 2023 20:28:14 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> `$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.  This proposes to add a new entry in the release file:
> 
> JAVA_RUNTIME_VERSION="$(VSTR)"
> 
> where `$(VSTR)` is the string represented by `Runtime::version()`.

This pull request has now been integrated.

Changeset: 32247c33
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/32247c336a189a40f696626a2578c65535ef6376
Stats:     322 lines in 3 files changed: 173 ins; 149 del; 0 mod

8303476: Add the runtime version in the release file of a JDK image

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/jdk/pull/12813



More information about the build-dev mailing list