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

Phil Race prr at openjdk.java.net
Fri Sep 24 16:37:10 UTC 2021


As described in https://bugs.openjdk.java.net/browse/JDK-8274106 a number of tests fail due to some inaccuracy in pixels copied from the screen when scaling down from device space to user space.
The subject of most of these tests is such that uiScale isn't important and we can have them pass with -Dsun.java2d.uiScale=1.
For the rest we can problem list them - as narrowly as we can on macos-aarch64 which is the only place we've seen the problem (not happening on retina displays with x64 it seems) whilst we try to figure out the root cause which is either in Apple code or something we are doing to trigger that Apple API misbehaviour.

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

Commit messages:
 - 8274296: Update or Problem List tests which may fail with uiScale=2 on macOS

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

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



More information about the client-libs-dev mailing list