Integrated: 8372301: Improve error message for jimage command line tool regarding version mismatch

David Beaumont duke at openjdk.org
Tue Feb 17 19:17:48 UTC 2026


On Fri, 13 Feb 2026 20:59:09 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.

This pull request has now been integrated.

Changeset: 92d0ea9b
Author:    David Beaumont <david.beaumont at oracle.com>
Committer: Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/92d0ea9ba84f549deeb42cae49a9b20711dcf8cf
Stats:     201 lines in 4 files changed: 193 ins; 4 del; 4 mod

8372301: Improve error message for jimage command line tool regarding version mismatch

Reviewed-by: alanb, rriggs

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

PR: https://git.openjdk.org/jdk/pull/29723


More information about the core-libs-dev mailing list