RFR: 8297241: Update sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java

Sergey Bylokhov serb at openjdk.org
Mon Nov 21 09:34:11 UTC 2022


On Fri, 18 Nov 2022 12:27:46 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> This is follow up of https://github.com/openjdk/jdk/pull/11158#discussion_r1025574199
> 
> I have added empty paint() and update() methods back for the frame in this test.
> Ran the test 20 times in our CI machines on all platforms. It failed once in Linux machine and image dump showed nothing was drawn.
> 
> Added robot.waitForIdle() after frame.resize() also so that system-triggered repaint can be finished after resize of the frame. With this update i don't see this test failing on all platforms in our CI even when run for 100 times.

Marked as reviewed by serb (Reviewer).

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

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



More information about the client-libs-dev mailing list