[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 8262297: ImageIO.write() method will throw IndexOutOfBoundsException [v5]
From:       Jayathirth D V <jdv () openjdk ! java ! net>
Date:       2021-11-24 14:42:09
Message-ID: vRxoctVyVDsSXdAxOFxMCMpk6eNtWyeJxAmFL7Eh_Ns=.5b1229a2-50d0-4d57-b2e3-45b882597eb2 () github ! com
[Download RAW message or body]

On Wed, 24 Nov 2021 11:09:42 GMT, Masanori Yano <myano@openjdk.org> wrote:

> > Could you please review the 8262297 bug fixes?
> > 
> > In this case, ImageIO.write() should throw java.io.IOException rather than \
> > java.lang.IndexOutOfBoundsException. IndexOutOfBoundsException is caught and \
> > wrapped in IIOException in ImageIO.write() with this fix. In addition, \
> > IndexOutOfBoundsException is not expected to throw by RandomAccessFile#write() \
> > according to its API specification. So it should be fixed.
> 
> Masanori Yano has updated the pull request incrementally with one additional commit \
> since the last revision: 
> 8262297: ImageIO.write() method will throw IndexOutOfBoundsException

Marked as reviewed by jdv (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/6151


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic