RFR: 8372301: Improve error message for jimage command line tool regarding version mismatch [v2]
Roger Riggs
rriggs at openjdk.org
Tue Feb 17 14:16:40 UTC 2026
On Tue, 17 Feb 2026 12:48:25 GMT, David Beaumont <duke at openjdk.org> wrote:
>> New implementation of improved JImageTask error message using string matching to detect the "version mismatch" error without needing code changes in the library.
>>
>> Added tests for the error message and other ways in which the jimage file can be corrupt.
>
> David Beaumont has updated the pull request incrementally with one additional commit since the last revision:
>
> Back to original idea of special case exception
Thanks for the clearer messaging.
-------------
Marked as reviewed by rriggs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29723#pullrequestreview-3814193051
More information about the core-libs-dev
mailing list