RFR: 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index [v4]
Jayathirth D V
jdv at openjdk.org
Tue Aug 26 05:46:13 UTC 2025
> 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 two additional commits since the last revision:
- Make test more robust
- Use thread lock
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26522/files
- new: https://git.openjdk.org/jdk/pull/26522/files/b359e3d6..ce439133
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26522&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26522&range=02-03
Stats: 54 lines in 2 files changed: 31 ins; 12 del; 11 mod
Patch: https://git.openjdk.org/jdk/pull/26522.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26522/head:pull/26522
PR: https://git.openjdk.org/jdk/pull/26522
More information about the client-libs-dev
mailing list