RFR: 8373710: Improve jpackage error reporting
Alexey Semenyuk
asemenyuk at openjdk.org
Mon Dec 15 21:28:11 UTC 2025
- Append "Error: " prefix to error messages
- Always print stack traces of internal exceptions, not only when running in verbose mode
-------------
Commit messages:
- Improve error reporting: fix the value of "message.error-header" l10n key that was supposed to be updated in JDK-8372359. Always print stack trace of an exception if was not explicitly thrown from jpackage code. Better test coverage for the cli/Main.
Changes: https://git.openjdk.org/jdk/pull/28833/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28833&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8373710
Stats: 229 lines in 3 files changed: 220 ins; 1 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/28833.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28833/head:pull/28833
PR: https://git.openjdk.org/jdk/pull/28833
More information about the core-libs-dev
mailing list