RFR: 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index [v6]

Alexey Ivanov aivanov at openjdk.org
Fri Aug 29 08:12:44 UTC 2025


On Fri, 29 Aug 2025 06:56:31 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

>> We need to throw appropriate exception when we pass invalid image index values to ImageReader.getImageTypes().
>> We throw IOOBE in all other plugins except JPEG, Added appropriate check to throw IOOBE when JpegImageReader has invalid image index.
>
> Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use Callable

Marked as reviewed by aivanov (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/26522#pullrequestreview-3167807584


More information about the client-libs-dev mailing list