提交 4ee88cb5 编写于 作者: M malenkov

8024407: [macosx] javax/swing/JScrollBar/7163696/Test7163696.java failed intermittently on macos

Reviewed-by: alexsch
上级 4d133ce6
......@@ -59,7 +59,8 @@ public class Test7163696 implements Runnable {
UIManager.setLookAndFeel(info.getClassName());
SwingUtilities.invokeAndWait(this);
toolkit.realSync(500); // after creation
toolkit.realSync(); // after creation
Thread.sleep(1000);
Point point = this.bar.getLocation();
SwingUtilities.convertPointToScreen(point, this.bar);
......@@ -69,7 +70,8 @@ public class Test7163696 implements Runnable {
robot.mousePress(InputEvent.BUTTON1_MASK);
robot.mouseRelease(InputEvent.BUTTON1_MASK);
toolkit.realSync(500); // before validation
toolkit.realSync(); // before validation
Thread.sleep(1000);
SwingUtilities.invokeAndWait(this);
if (this.bar != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册