Integrated: 8345144: Robot does not specify all causes of IllegalThreadStateException
Alisen Chung
achung at openjdk.org
Thu Jan 9 20:50:43 UTC 2025
On Wed, 4 Dec 2024 22:33:41 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.
This pull request has now been integrated.
Changeset: df28cec6
Author: Alisen Chung <achung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/df28cec6e98f45ae535a35f97710710415522f99
Stats: 34 lines in 1 file changed: 33 ins; 0 del; 1 mod
8345144: Robot does not specify all causes of IllegalThreadStateException
Reviewed-by: prr
-------------
PR: https://git.openjdk.org/jdk/pull/22564
More information about the client-libs-dev
mailing list