On Tue, 10 Nov 2026 05:39:21 GMT, Jayathirth D V <[email protected]> wrote:
>> src/java.desktop/share/native/libjavajpeg/jpegdecoder.c line 653:
>>
>>> 651: do {
>>> 652: sun_jpeg_fill_suspended_buffer(&cinfo);
>>> 653: if (jsrc.invalid_input) {
>>
>> So this is in response to Jay's comment, but else where we DO just call
>> error_exit which longjmps to where this same code below exists. We have no
>> other cases where we throw such an exception
>>
>> So I'm not sure I understand. Jay ??
>
> We can directly call error_exit() in sun_jpeg_fill_suspended_buffer() but we
> don't have required messaging for all the cases.
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33313#discussion_r4522475588