RFR: 8191406: [hidpi] sun/java2d/SunGraphics2D/DrawImageBilinear.java test fails

Jayathirth D V jdv at openjdk.org
Fri Nov 18 06:49:38 UTC 2022


On Thu, 17 Nov 2022 17:43:40 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> > Increase color tolerance delta from 1 to 5
> 
> I see that the tolerance is added to the test, previously it was 0. Why do we need it since we use quite simple RED color?

We have a tolerance of 1 for red color. We dont throw exception when red channel is 254.
But i think we dont need extra tolerance and it was added because of local machine reporting differences.
I have removed the extra tolerance and see that test passes in CI.

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

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



More information about the client-libs-dev mailing list