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

Alisen Chung achung at openjdk.org
Wed Dec 11 19:40:51 UTC 2024


> 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 two additional commits since the last revision:

 - align spacing
 - remove extra space

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22564/files
  - new: https://git.openjdk.org/jdk/pull/22564/files/9378c168..4928e4b5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22564&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22564&range=01-02

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/22564.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22564/head:pull/22564

PR: https://git.openjdk.org/jdk/pull/22564


More information about the client-libs-dev mailing list