On Tue, 3 Oct 2023 19:42:44 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> Damon Nguyen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Add setAutoWaitForIdle > > test/jdk/java/awt/dnd/RejectDragDropActionTest.java line 88: > >> 86: >> 87: try { >> 88: Robot robot = new Robot(); > > To reduce the initial delay, you may override `Frame.paint` and `countDown` a > latch after calling `super.paint`. Once the latch is released, you create > robot and start testing. Sure can do. Is this to replace the initial `waitForIdle` after robot's creation? So, remove the `waitForIdle` and add `latch.await()` before robot's creation? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16018#discussion_r1344835661