RFR: 8373710: Improve jpackage error reporting [v4]
Alexey Semenyuk
asemenyuk at openjdk.org
Wed Dec 17 15:30:36 UTC 2025
> - Append "Error: " prefix to error messages
> - Always print stack traces of internal exceptions, not only when running in verbose mode
Alexey Semenyuk has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
- Merge branch 'master' into JDK-8373710
- Fix test failure; Fix whitespaces
- cli/Main fix ErrorTest failure
- 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=03
Stats: 260 lines in 5 files changed: 240 ins; 1 del; 19 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