RFR: 8285604: closed sun/java2d/GdiRendering/ClipShapeRendering.java failed with "Incorrect color ffeeeeee instead of ff0000ff in pixel (100, 100)"

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Nov 18 08:08:02 UTC 2022


On Thu, 17 Nov 2022 21:05:35 GMT, Phil Race <prr at openjdk.org> wrote:

> This was a closed test. It fails very rarely due to completely incorrect colour sampling by Robot.
> I had this happen to me when the window came up behind some other window on my desktop.
> So the "fix" here is to use setAlwaysOnTop(true)
> But so far as I can see there's no reason for this test to be closed so I am moving it to open as well.

Marked as reviewed by psadhukhan (Reviewer).

test/jdk/sun/java2d/GdiRendering/ClipShapeRendering.java line 504:

> 502:        this.clientPixels = clientPixels;
> 503:        int w = clientPixels.getWidth(null),
> 504:            h = clientPixels.getHeight(null);

Nit:
Please rectify this coding violation of declaring variables in same line, same in l498 before push

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

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



More information about the client-libs-dev mailing list