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). @sashamatveev PTAL ------------- PR Comment: https://git.openjdk.org/jdk/pull/30510#issuecomment-4292598973
