RFR: 8157173: [macosx] java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java fails

Sergey Bylokhov serb at openjdk.org
Mon Nov 14 08:14:26 UTC 2022


On Mon, 14 Nov 2022 00:12:00 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> This test currently passing as it is on all platforms, but it was problemlisted with ["Problem List some tests that leave windows open on the desktop" reason](https://github.com/openjdk/jdk/commit/fd8df3adf13f5df8f5f95482b8e0a70bc519f39f)
> 
> So this test is cleaned up and stabilized.
> 
> CI testing looks good.

test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java line 159:

> 157: 
> 158:             robot.mouseMove(
> 159:                     (int) frame.getLocationOnScreen().getX() +

Looks like the frame is set on one thread and accessed on another.

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

PR: https://git.openjdk.org/jdk/pull/11128



More information about the client-libs-dev mailing list