On Mon, 26 Sep 2022 06:45:58 GMT, Jayathirth D V <[email protected]> wrote:

> This is redo of https://bugs.openjdk.org/browse/JDK-8262297
> In https://bugs.openjdk.org/browse/JDK-8262297 we added similar change but we 
> didnt allow 15bpp image in BMP, because of which many tests which were using 
> USHORT_555_RGB format were failing as reported at 
> https://bugs.openjdk.org/browse/JDK-8278047
> 
> There is ambiguity on whether we should support 15bpp BMP encoding also or 
> not as captured in JBS : 
> https://bugs.openjdk.org/browse/JDK-8278086?focusedCommentId=14521952&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14521952
> 
> Since adding tighter condition to only allow 0, 1, 4, 8, 16, 24 and 32 bpp is 
> causing many failures. I have modified the check to allow 15bpp also.

This pull request has now been integrated.

Changeset: 6029120a
Author:    Jayathirth D V <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/6029120a5f53061f386d5dc72c76adf03ab28840
Stats:     93 lines in 2 files changed: 89 ins; 1 del; 3 mod

8278086: [REDO] ImageIO.write() method will throw IndexOutOfBoundsException

Co-authored-by: Masanori Yano <[email protected]>
Reviewed-by: tr, prr

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

PR: https://git.openjdk.org/jdk/pull/10419

Reply via email to