This is a follow-up on JDK-8328680, making the same kind of cleanup to jdk.jpackage. The code here needed more work than for the other modules, so I wanted have it in a separate PR to get a more thorough review.
------------- Commit messages: - 8329102: Clean up jdk.jpackage native compilation Changes: https://git.openjdk.org/jdk/pull/18491/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18491&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8329102 Stats: 119 lines in 2 files changed: 30 ins; 39 del; 50 mod Patch: https://git.openjdk.org/jdk/pull/18491.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18491/head:pull/18491 PR: https://git.openjdk.org/jdk/pull/18491