RFR: 8225131: Test DragSourceMotionListenerTest.java fails on Windows [v2]

Alexey Ivanov aivanov at openjdk.org
Mon Sep 22 18:03:25 UTC 2025


On Mon, 22 Sep 2025 11:37:50 GMT, Tejesh R <tr at openjdk.org> wrote:

> > > It would be logical to add `waitForIdle` _after all the dragging is finished_, after line 187. That is right before `robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK)` and `robot.keyRelease(KeyEvent.VK_CONTROL)` are called.
> > 
> > 
> > @TejeshR13 What about this question?
> 
> Yes, but without this the test passes multiple iterations. Should we still add `waitForIdle` ?

I suggest adding `waitForIdle` and `delay` only here instead of where you added them.

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

PR Comment: https://git.openjdk.org/jdk/pull/27283#issuecomment-3320559110


More information about the client-libs-dev mailing list