RFR: JDK-8299052 : ViewportOverlapping test fails intermittently on Win10 & Win11 [v2]

Harshitha Onkar honkar at openjdk.org
Fri Jun 2 19:35:25 UTC 2023


On Fri, 2 Jun 2023 18:17:54 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review fix
>
> test/jdk/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java line 496:
> 
>> 494: 
>> 495:         // wait for graphic effects on systems like Win7
>> 496:         Toolkit.getDefaultToolkit().sync();
> 
> The recommended way now is to use `Robot.waitForIdle` which calls `Toolkit.sync()` in a loop. This is what `Util.waitForIdle` does, I believe.

Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14289#discussion_r1214748020



More information about the client-libs-dev mailing list