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. ------------- Commit messages: - init commit Changes: https://git.openjdk.org/jdk/pull/22564/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22564&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8345144 Stats: 32 lines in 1 file changed: 32 ins; 0 del; 0 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