RFR: 8357404: jpackage should attempt to get a package version from the JDK's release file if the --version option is not specified [v6]

Alexey Semenyuk asemenyuk at openjdk.org
Wed Feb 4 04:05:10 UTC 2026


On Wed, 4 Feb 2026 03:36:36 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

> RuntimeVersionReader just read version as is

It does not. It filters out double quotes from the property value, right? So it is not that straightforward.

These specifics should be covered in the `RuntimeVersionReaderTest` (unit test). 
How jpackage propagates the version from the "release" file into the installer is covered in `RuntimePackageTest` (integration/functional test).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29260#discussion_r2762068292


More information about the core-libs-dev mailing list