[OpenJDK 2D-Dev] RFR: 8270893: IndexOutOfBoundsException while reading large TIFF file

Jayathirth D V jdv at openjdk.java.net
Thu Jul 22 02:39:49 UTC 2021

On Wed, 21 Jul 2021 22:15:35 GMT, Phil Race <prr at openjdk.org> wrote:

> > Is it possible to create a testcase for this fix? Probably this regression should be fixed in jdk17?
> FWIW the fixer had already written :
> "Also to hit this code we need stream/file with at-least 1MB of IFD data, that's why there is no regression test"
> Maybe 1Mb isn't actually a blocker, and it would be good to learn if we can create a TIFF image of that size and have github accept it.
> But we definitely should run all the relevant existing regression tests.
> As for JDk 17, we are in RDP 2 and this has been out there for exactly (?) 12 months until the first report and will need backporting anyway to other release trains.
> So it is safer to put in 18 and backport later to a 17 update

Sure i will take a look at creating regression test case for this issue and see whether we can hit this particular path.
All client tier test cases were run and CI job link is present in the JBS and it is green with fix.
Yes i am planning to backport it to the trains where the original issue was fixed.


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

More information about the 2d-dev mailing list