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

Maxim Kartashev duke at openjdk.java.net
Wed Mar 16 07:16:40 UTC 2022


On Tue, 15 Mar 2022 18:20:48 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Maxim Kartashev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   HiDPIRobotScreenCaptureTest.java: smaller frame size such that it fits on a 1200x600 screen.
>>   
>>   ScreenCaptureGtkTest.java: smaller frame size; added code to save
>>   the image on failure.
>
> test/jdk/java/awt/Robot/HiDPIScreenCapture/HiDPIRobotScreenCaptureTest.java line 111:
> 
>> 109:         checkRectColor(image, 3 * w / 4, h / 4, COLORS[1]);
>> 110:         checkRectColor(image, w / 4, 3 * h / 4, COLORS[2]);
>> 111:         checkRectColor(image, 3 * w / 4, 3 * h / 4, COLORS[3]);
> 
> As my testing showed, this test was stable enough with the changes introduced by [JDK-8282270](https://bugs.openjdk.java.net/browse/JDK-8282270), #7425, with the reduced size of the frame.

I can revert the changes for this one test, but will do that in a separate commit so it's easier to revert in case there are troubles.

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

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



More information about the client-libs-dev mailing list