RFR: 8373710: Improve jpackage error reporting [v4]

Alexander Matveev almatvee at openjdk.org
Wed Dec 17 22:59:04 UTC 2025


On Wed, 17 Dec 2025 15:30:36 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

>> - 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.

Marked as reviewed by almatvee (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/28833#pullrequestreview-3589990564


More information about the core-libs-dev mailing list