RFR: 7131823: Loading some animated GIFs fails with ArrayIndexOutOfBoundsE…

Sergey Bylokhov serb at openjdk.java.net
Fri Apr 22 22:19:24 UTC 2022


On Fri, 22 Apr 2022 20:04:32 GMT, Dan Lutker <duke at openjdk.java.net> wrote:

> …xception: Index 4096 out of bounds for length 4096
> 
> Adapted from https://github.com/openjdk/jfx/commit/7b7050c46299c0e6771ae02fbb5ceaf22104d3e4
> 
> # Testing done
> Build locally on linux and ran jdk_imageio tests.

The fix looks fine. But I think the JBS description of the bug has two issues, and this change fixes only the first. So it will be better to fix both if it is clear what is the problem. Or create a separate issue for the AIOB exception.

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

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



More information about the client-libs-dev mailing list