JDK-8236543 : Release Note: java.awt.Robot.delay() Method Completes With Interrupt Status Set When Interrupted
  • Type: Sub-task
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 15
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • OS: generic
  • CPU: generic
  • Submitted: 2019-12-25
  • Updated: 2021-05-14
  • Resolved: 2019-12-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15Resolved
Description
When it is interrupted, the implementation of the `java.awt.Robot.delay()` method has been changed to complete with the interrupt status set.

If a thread is interrupted while waiting in the `java.awt.Robot.delay()` method, then this method returns immediately with the interrupt status set. If the interrupted status is already set, this method returns immediately with the interrupt status set.