Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8345144

Robot does not specify all causes of IllegalThreadStateException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 8, 11, 17, 24
    • client-libs
    • None
    • b06
    • generic
    • generic

      When robot.autoWaitForIdle is set to true, all mouse and key-related methods when invoked on the EDT will throw java.lang.IllegalThreadStateException which is not in the Robot specification.

      The specification should be updated to include when these exceptions are thrown, and warnings should be added to other methods (delay, createMultiResolutionScreenCapture) that shouldn't be called on the EDT as well.

            achung Alisen Chung
            achung Alisen Chung
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: