- Rework the WixTool class to reduce "null" checks and make it testable with mocks - Add tests for the WixTool class. The coverage is 98%. - Better wording for errors when jpackage can't find a usable WiX toolset. - Remove unused "message.wrong-tool-version" l10n key.
------------- Commit messages: - windows/junit.java: add missing test libs - Fix modifier order - Update copyright year - WixTool, WixToolset: reduce "null" checks; Add unit tests for WiX Toolkit lookup code - MockingToolProvider: add missing "final" - PathUtils: add asPath(); add tests - WixTool, WixToolset: reduce "null" checks; Add unit tests for WiX Toolkit lookup code Changes: https://git.openjdk.org/jdk/pull/30478/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30478&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8381384 Stats: 1528 lines in 12 files changed: 1363 ins; 67 del; 98 mod Patch: https://git.openjdk.org/jdk/pull/30478.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30478/head:pull/30478 PR: https://git.openjdk.org/jdk/pull/30478
