On Tue, 28 Nov 2023 22:34:44 GMT, Alisen Chung <[email protected]> wrote:

> Added delays to stabilize test, test passes 50 times consecutively

Changes requested by honkar (Committer).

test/jdk/java/awt/Window/Grab/GrabTest.java line 221:

> 219:         robot.delay(100);
> 220:         robot.mouseRelease(InputEvent.BUTTON1_MASK);
> 221:         Util.waitForIdle(robot);

Can be replaced with BUTTON1_DOWN_MASK.

Has the fix been tested on macOS 14 ?

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

PR Review: https://git.openjdk.org/jdk/pull/16867#pullrequestreview-1755956965
PR Review Comment: https://git.openjdk.org/jdk/pull/16867#discussion_r1409711742

Reply via email to