Change how jpackage embeds icons, version and other properties in .exe files. Don't print
Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory <TMPDIR>. warning. Instead, run the operation with retries. Additionally, throw JPackageException instead of RuntimeException to report errors; fail if invalid data is passed in the ctor instead of logging and ignoring it. ------------- Commit messages: - ExecutableRebrander: replace the warning about Windows defender with running the rebrander with retries - ExecutableRebrander: throw JPackageException instead of RuntimeException to report errors; fail if invalid data is passed in ctor instead of logging and ignoring it Changes: https://git.openjdk.org/jdk/pull/29906/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29906&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8378877 Stats: 293 lines in 4 files changed: 37 ins; 208 del; 48 mod Patch: https://git.openjdk.org/jdk/pull/29906.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29906/head:pull/29906 PR: https://git.openjdk.org/jdk/pull/29906
