-
Bug
-
Resolution: Unresolved
-
P4
-
22
-
b12
Under JDK-8314246, all calls to robot.waitForIdle() the javax/swing/JToolBar/4529206/bug4529206.java test are removed in favour of robot.setAutoWaitForIdle(true), which essentially means waitForIdle() is never called any more.
When setAutoWaitForIdle is set to true, robot automatically calls waitForIdle *after* it posts an event. It is the only time where robot automatically calls waitForIdle if it's enabled; just like setAutoDelay. See Robot.afterEvent().
Thus, I think the bug4529206.java test should call robot.waitForIdle() after it performed each action before checking for the result.
When setAutoWaitForIdle is set to true, robot automatically calls waitForIdle *after* it posts an event. It is the only time where robot automatically calls waitForIdle if it's enabled; just like setAutoDelay. See Robot.afterEvent().
Thus, I think the bug4529206.java test should call robot.waitForIdle() after it performed each action before checking for the result.
- relates to
-
JDK-8314246 javax/swing/JToolBar/4529206/bug4529206.java fails intermittently on Linux
-
- Resolved
-