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

Alexander Matveev almatvee at openjdk.org
Wed Feb 11 20:12:22 UTC 2026


On Thu, 5 Feb 2026 02:52:59 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

>> - Version will be read from JDK's release file if not provided via `--version` for runtime installer.
>> - Added test to cover added functionality.
>> - On macOS and Windows version from JDK's release file will be normalized if it does not fit platform requirements.
>
> Alexander Matveev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8357404: jpackage should attempt to get a package version from the JDK's release file if the --version option is not specified [v8]

8357404: jpackage should attempt to get a package version from the JDK's release file if the --version option is not specified [v9]
- Fixed all latest review comments.
- Added version normalization for RPM, since "release" file version might contain "-" character which is not supported by RPM.

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

PR Comment: https://git.openjdk.org/jdk/pull/29260#issuecomment-3886827069


More information about the core-libs-dev mailing list