RFR: 8359756: Bug in RuntimePackageTest.testName test
Alexey Semenyuk
asemenyuk at openjdk.org
Mon Aug 4 13:57:09 UTC 2025
- Fix `RuntimePackageTest.testName()` test case.
- Add `RuntimePackageTest.testFromBundle()` to cover the case of building a runtime package from a bundle on macOS. This test case was available in [SigningRuntimeImagePackageTest test](https://github.com/openjdk/jdk/blob/fc4755535d61c2fd4d9a2c9a673da148f742f035/test/jdk/tools/jpackage/macosx/SigningRuntimeImagePackageTest.java#L170), which is not a part of the standard test runs.
-------------
Commit messages:
- Add test case to cover building of a runtime package from a runtime bundle on mac. Refactor verification code.
- RuntimePackageTest: fix that RuntimePackageTest.testName() didn't remove `--name` option from jpackage command line when building any but a .deb package.
Changes: https://git.openjdk.org/jdk/pull/26607/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26607&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8359756
Stats: 151 lines in 2 files changed: 77 ins; 34 del; 40 mod
Patch: https://git.openjdk.org/jdk/pull/26607.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26607/head:pull/26607
PR: https://git.openjdk.org/jdk/pull/26607
More information about the core-libs-dev
mailing list