JDK-8282276 : Problem list failing two Robot Screen Capture tests
  • Type: Sub-task
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-02-22
  • Updated: 2023-09-18
  • Resolved: 2022-02-22
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 11 JDK 17 JDK 19 JDK 8
11.0.18-oracleFixed 17.0.6-oracleFixed 19 b11Fixed 8u361Fixed
Description
Since the updates to the tests - and related code - made by JDK-8280861
We are seeing repeated failures in CI of the two updated tests

java/awt/Robot/HiDPIScreenCapture/ScreenCaptureGtkTest.java - fails on Linux - at least Ubuntu 18.10

java/awt/Robot/HiDPIScreenCapture/HiDPIRobotScreenCaptureTest.java - fails on Windows 10

In 6 CI jobs since the tests were updated, at least one of the tests has failed in 4 of those jobs. 

Comments
This should not have been backported to previous releases: these tests fail because of JDK-8280861 which hasn't been backported to previous releases. Now we have tests which are excluded from running for no reason. This needs to be cleaned up in OpenJDK and Oracle update releases.
18-09-2023

Fix Request (11u). On behalf of Rui Li <ruiamzn@amazon.com>. Backport for Oracle parity, clean no risk test change.
04-10-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/1386 Date: 2022-10-04 03:04:43 +0000
04-10-2022

Fix request [17u] I backport this for parity with 17.0.6-oracle. No risk, only a test change. Clean backport. SAP nightly testing passed.
21-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/694 Date: 2022-09-19 20:38:22 +0000
19-09-2022

Changeset: 2557ef8a Author: Phil Race <prr@openjdk.org> Date: 2022-02-22 20:27:00 +0000 URL: https://git.openjdk.java.net/jdk/commit/2557ef8a02fe19784bd5e605b11d6bd574cde2c2
22-02-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7579 Date: 2022-02-22 20:04:53 +0000
22-02-2022