RFR: 8317288: [macos] java/awt/Window/Grab/GrabTest.java: Press on the outside area didn't cause ungrab

Harshitha Onkar honkar at openjdk.org
Wed Nov 29 18:35:09 UTC 2023


On Tue, 28 Nov 2023 22:34:44 GMT, Alisen Chung <achung at openjdk.org> 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


More information about the client-libs-dev mailing list