RFR: 8372301: Improve error message for jimage command line tool regarding version mismatch [v2]

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


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29723/files
  - new: https://git.openjdk.org/jdk/pull/29723/files/f867683a..e59f33be

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29723&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29723&range=00-01

  Stats: 16 lines in 2 files changed: 10 ins; 3 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/29723.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29723/head:pull/29723

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


More information about the core-libs-dev mailing list