On Tue, 3 Oct 2023 19:48:06 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 102: > >> 100: robot.mouseMove(startPoint.x, startPoint.y); >> 101: robot.mousePress(InputEvent.BUTTON1_DOWN_MASK); >> 102: for (Point p = new Point(startPoint); !p.equals(endPoint); > > The `for` loop may also verify the value of `incorrectActionDetected` and > break if it becomes `true`. I believe I added the change requested. I see that `incorrectActionDetected` is updated with `dragOver`. Let me know if this isn't exactly what you had in mind. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16018#discussion_r1344825707