JDK-8340944 : Release Note: Relax the java.awt.Robot Specification [openjdk17u]
  • Type: Sub-task
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 17.0.13
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2024-09-25
  • Updated: 2024-09-27
  • Resolved: 2024-09-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 17
17.0.13Resolved
Description
This release of OpenJDK 17 updates to the latest maintenance release of the Java 17 specification. This relaxes the specification of three methods in the `java.awt.Robot` class - `mouseMove(int,int)`, `getPixelColor(int,int)`, `createScreenCapture(Rectangle)` and `createMultiResolutionScreenCapture(Rectangle)` - to allow these methods to fail when the desktop environment does not permit moving the mouse pointer or capturing screen content.