RFR: 8351110: ImageIO.write for JPEG can write corrupt JPEG for certain thumbnail dimensions [v4]

Alexey Ivanov aivanov at openjdk.org
Wed Apr 9 15:04:45 UTC 2025


On Sat, 5 Apr 2025 05:49:14 GMT, Jeremy Wood <duke at openjdk.org> wrote:

> Thank you for pointing out the `new Error` oversight.
> 
> > The WriteJPEGThumbnailTest.jtr file says, the test failed
> 
> That output is exactly what I would expect to see before this PR. Is it possible you ran the test without invoking `make`?

I pointed out that missing `new Error` made the test pass even though it failed.

I didn't build JDK with the fix.

[Phil said](https://github.com/openjdk/jdk/pull/23920#pullrequestreview-2743803137), “Testing looks good,” and I didn't run the full client test suite.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23920#discussion_r2035573046


More information about the client-libs-dev mailing list