RFR: 8282270: java/awt/Robot Screen Capture tests fail after 8280861

Alexey Ivanov aivanov at openjdk.java.net
Thu Feb 24 22:07:03 UTC 2022


On Thu, 24 Feb 2022 16:37:51 GMT, Maxim Kartashev <duke at openjdk.java.net> wrote:

> > I submitted a job for testing the changes.
> 
> Thanks a lot!

I got 1 failure out of 15 on Linux for `java/awt/Robot/HiDPIScreenCapture/HiDPIRobotScreenCaptureTest.java`. The screenshot of the entire screen has no open windows: just plain desktop background. It was probably captured after the test was shutdown.

The test doesn't save the captured image on failure, does it?

It's crucial to save the captured images, otherwise we're blind and left to guess what Robot captured and why it didn't match.

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

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



More information about the client-libs-dev mailing list