RFR: 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index [v6]
    Jayathirth D V 
    jdv at openjdk.org
       
    Fri Aug 29 06:56:31 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 one additional commit since the last revision:
  Use Callable
-------------
Changes:
  - all: https://git.openjdk.org/jdk/pull/26522/files
  - new: https://git.openjdk.org/jdk/pull/26522/files/2c8031a3..a6498156
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26522&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26522&range=04-05
  Stats: 7 lines in 1 file changed: 1 ins; 4 del; 2 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