RFR: 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index [v5]
Jayathirth D V
jdv at openjdk.org
Fri Aug 29 06:56:32 UTC 2025
On Thu, 28 Aug 2025 12:49:37 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Keep verifyImageIndex in try block
>
> test/jdk/javax/imageio/plugins/jpeg/JpegNegativeImageIndexTest.java line 67:
>
>> 65: private interface RunnableWithException {
>> 66: void run() throws Exception;
>> 67: }
>
> You can use `Callable<?>` instead.
That's better, updated.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26522#discussion_r2309314588
More information about the client-libs-dev
mailing list