RFR: 8345144: Robot does not specify all causes of IllegalThreadStateException [v5]

Phil Race prr at openjdk.org
Thu Dec 19 23:03:38 UTC 2024


On Thu, 19 Dec 2024 22:19:21 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> 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.
>> 
>> This PR updates the specification by adding warnings to avoid calling lengthy and delay-type methods on EDT and including exceptions thrown when autoWaitForIdle is set to true and mouse/key-handling methods are called on the EDT.
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   api note

Marked as reviewed by prr (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/22564#pullrequestreview-2516383448


More information about the client-libs-dev mailing list