RFR: 8326027: Comparing buffered images of white background frame fails in Mac

Tejesh R tr at openjdk.org
Fri Aug 30 05:02:18 UTC 2024


On Thu, 29 Aug 2024 23:14:29 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Have you checked what is the root cause? Are the pixels drawn incorrectly in the frame, or is the robot distorting the colors when it grabs the pixels?

The issue occurs intermittently/might be even host specific. It occurs when Robot.createMultiResolutionScreenCapture is used to capture HiDPI image and comparing them. I believe it's related to Robot capture, rather than pixel drawn incorrectly since we haven't observed such case in headless test which actually compares colors using Graphics paint to buffered image.

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

PR Comment: https://git.openjdk.org/jdk/pull/20760#issuecomment-2320054912


More information about the client-libs-dev mailing list