RFR: 8341000: Open source some of the AWT Window tests [v4]

Prasanta Sadhukhan psadhukhan at openjdk.org
Thu Oct 3 11:52:37 UTC 2024


On Thu, 3 Oct 2024 08:15:58 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

>> Clean up and open source some of the AWT window tests.
>> Automated test `InvalidFocusLostEventTest.java` is verified in our CI also and it passes on all platforms.
>
> Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove failed flag

test/jdk/java/awt/Window/InvalidFocusLostEventTest/InvalidFocusLostEventTest.java line 98:

> 96:         // we should check focus after all events are processed,
> 97:         // since focus transfers are asynchronous
> 98:         EventQueue.invokeLater(() -> countDownLatch.countDown());

I guess we can just do countDown without it being in invokeLater...

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21281#discussion_r1786088117


More information about the client-libs-dev mailing list