- 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.

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

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

Changes: https://git.openjdk.org/jdk/pull/29260/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29260&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357404
  Stats: 274 lines in 9 files changed: 267 ins; 2 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/29260.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29260/head:pull/29260

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

Reply via email to