On Tue, 31 Mar 2026 01:30:51 GMT, Alexey Semenyuk <[email protected]> wrote:
> Assorted jpackage tests fixes: > - Fix `JPackageCommand.isFakeRuntime()` on macOS: it failed to identify > fully functional runtime, marking all runtimes "fake"; > - Add a test for the ExceptionBox class and get 100% coverage of the > "jdk.jpackage.internal.util.function" package; > - DottedVersionTest: add coverage for `DottedVersion.getComponentsCount()`; > - AppVersionTest.java: add validation to the parameter of AppTestSpec ctor; > - JPackageCommand.java: make `DEFAULT_RUNTIME_IMAGE` field private; > - Convert "switch" statements to expressions and drop redundant "default" > clauses where applicable. > > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 624739e3 Author: Alexey Semenyuk <[email protected]> URL: https://git.openjdk.org/jdk/commit/624739e3e5df374b164f82ea8cb5d04310032c5b Stats: 183 lines in 15 files changed: 36 ins; 81 del; 66 mod 8382684: jpackage: assorted fixes of the test lib Reviewed-by: almatvee ------------- PR: https://git.openjdk.org/jdk/pull/30510
