RFR: 8345144: Robot does not specify all causes of IllegalThreadStateException

Abhishek Kumar abhiscxk at openjdk.org
Thu Dec 5 04:24:38 UTC 2024


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.

Needs a CSR ?

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

PR Comment: https://git.openjdk.org/jdk/pull/22564#issuecomment-2519062673


More information about the client-libs-dev mailing list