> 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: update class spec ------------- Changes: - all: https://git.openjdk.org/jdk/pull/22564/files - new: https://git.openjdk.org/jdk/pull/22564/files/4928e4b5..89a48d37 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=22564&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22564&range=02-03 Stats: 5 lines in 1 file changed: 1 ins; 0 del; 4 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