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

Roger Riggs rriggs at openjdk.org
Tue Jan 13 20:35:23 UTC 2026


On Mon, 12 Jan 2026 15:27:30 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I wonder if it could throw a more specific mismatch exception for this case so that the jimage tool can handle, and translate into something that includes a path to itself.

Following Alan's suggestion, keep the exception message concise so JImage tool can recognize it and produce a full error message with context.

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

PR Comment: https://git.openjdk.org/jdk/pull/28456#issuecomment-3746446333


More information about the core-libs-dev mailing list