On Fri, 6 Nov 2026 11:45:09 GMT, Timofei Fedotov <[email protected]> wrote:
>> src/java.desktop/share/native/libjavajpeg/jpegdecoder.c line 373:
>>
>>> 371: WARNMS(cinfo, JWRN_JPEG_EOF);
>>> 372: if (buflen < 2) {
>>> 373: cinfo->err->error_exit((struct jpeg_common_struct *)
>>> cinfo);
>>
>> Same here.
>
> Done.
Calling error_exit() directly at this place, we will use the message from
WARNMS for ImageFormatException.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33313#discussion_r4521482843