Switched jpackage unit tests to use JUnit5. Got rid of dependencies on the "hamcrest".
------------- Commit messages: - All tests pass - Merge branch 'master' into JDK-8333571 - Copyright year update - Run `bin/blessed-modifier-order.sh` script - 8333571: Replace ExpectedException with assertThrows() calls in jpackage unit tests Changes: https://git.openjdk.org/jdk/pull/22302/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22302&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8344770 Stats: 1142 lines in 11 files changed: 388 ins; 385 del; 369 mod Patch: https://git.openjdk.org/jdk/pull/22302.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22302/head:pull/22302 PR: https://git.openjdk.org/jdk/pull/22302