RFR: 8274304: Update or Problem List tests which may fail with uiScale=2 on macOS

Sergey Bylokhov serb at openjdk.java.net
Thu Sep 30 20:38:48 UTC 2021


The fix for 8274296 added uiScale=1 to some of the tests to fix the problem of incorrect pixel color capture by the robot.
In both cases uiScale=1 or uiScale=2 the same call should be made to the macOS. But if uiScale=1 is set we just read one pixel on the screen, but if uiScale=2 is set we prepare the data in some clumsy way(at the end we should also read just one pixel).

Since uiScale=1 affects the test case execution means that we probably have some bugs in the coordinate/size calculation of the area. Note that none of these tests have dependencies on the precise rendering, so it is quite a common use-case and may affect any external applications.

This is a request to update the https://github.com/openjdk/jdk/pull/5687/files
and move all tests to the problem list.

-------------

Commit messages:
 - Initial version JDK-8274304

Changes: https://git.openjdk.java.net/jdk/pull/5766/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5766&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274304
  Stats: 16 lines in 9 files changed: 8 ins; 0 del; 8 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5766.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5766/head:pull/5766

PR: https://git.openjdk.java.net/jdk/pull/5766



More information about the client-libs-dev mailing list