Hello. Please review the fix for jdk12. Bug: https://bugs.openjdk.java.net/browse/JDK-8210231 Webrev: http://cr.openjdk.java.net/~serb/8210231/webrev.00
The Robot.delay() is a simple wrapper on top of Thread.sleep(), which ignores the InterruptedException. But in case of InterruptedException it prints the stack trace, which is unspecified behavior. In the fix the "printStackTrace()" was removed, and the interrupted state of the thread is restored. -- Best regards, Sergey.