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

Jayathirth D V jdv at openjdk.org
Mon Sep 26 13:20:36 UTC 2022


> 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.

Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:

  Remove biType variable

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10419/files
  - new: https://git.openjdk.org/jdk/pull/10419/files/3b2436f5..b5071a02

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10419&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10419&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/10419.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10419/head:pull/10419

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



More information about the client-libs-dev mailing list