`JPackageCommand.ignoreFakeRuntime()` method mistakenly tests if Java runtime configured for the current jpackage command is a valid Java runtime.
It must test the runtime configured for jpackage tests with `jdk.jpackage.test.runtime-image` system property instead. ------------- Commit messages: - Update copyright year - Fix JPackageCommand.ignoreFakeRuntime() to test externally supplied runtime instead of the runtime configured for the current jpackage command line. Changes: https://git.openjdk.org/jdk/pull/22986/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22986&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8347298 Stats: 8 lines in 1 file changed: 0 ins; 3 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/22986.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22986/head:pull/22986 PR: https://git.openjdk.org/jdk/pull/22986