Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274296

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17, 18
    • Fix Version/s: 18
    • Component/s: client-libs
    • Labels:
    • Resolved In Build:
      b17
    • CPU:
      aarch64
    • OS:
      os_x

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prr Philip Race
              Reporter:
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: