> 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).
Alexey Semenyuk has updated the pull request incrementally with one additional commit since the last revision: Update copyright year ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30510/files - new: https://git.openjdk.org/jdk/pull/30510/files/e591646d..afd3464a Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30510&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30510&range=00-01 Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/30510.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30510/head:pull/30510 PR: https://git.openjdk.org/jdk/pull/30510
