Add explicit robot.waitForIdle to JToolBar/4529206/bug4529206.java

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 22
    • Component/s: client-libs
    • b12
    • 22

      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.

            Assignee:
            Harshitha Onkar
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: