> For runtime bundling, jpackage will read the version for the output bundle 
> from the value of the "JAVA_VERSION" property of JDK's "release" file if the 
> `--app-version` option is not on the command line. jpackage will normalize 
> the version it reads from the "release" file to fit into the constraints of 
> the bundle it produces.
> 
> If the "release" file doesn't exist, is malformed, or the value of the 
> "JAVA_VERSION" property is invalid, jpackage will ignore it.
> 
> If the value of the `--runtime-image` option references a valid macOS bundle, 
> not a plain directory, jpackage will ignore the "release" file and will 
> attempt to read the version from the "Info.plist" file of the input bundle.
> 
> Revamed AppVersionTest and updated it to cover the new functionality.
> 
> Based on https://github.com/openjdk/jdk/pull/29260 PR.

Alexey Semenyuk has updated the pull request incrementally with one additional 
commit since the last revision:

  DottedVersionTest: remove unused testPadNegative()

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29948/files
  - new: https://git.openjdk.org/jdk/pull/29948/files/e9f6a4df..25e1d359

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29948&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29948&range=00-01

  Stats: 6 lines in 1 file changed: 0 ins; 6 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/29948.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29948/head:pull/29948

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

Reply via email to