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

AABalanceTest fails on systems with small screen size

XMLWordPrintable

      The AABalanceTest fails on systems with a somewhat small screen size, such as my Windows 10 laptop which I run in HiDPI mode (125% scaling) so that the effective screen size is 1280 x 720.

      Here is the failure:

      test.robot.test3d.AABalanceFlipTest > testAABalanceFlip FAILED
          junit.framework.AssertionFailedError: expected:rgba(255,255,255,255) but was:rgba(0,58,144,255)
              at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
              at test.robot.test3d.AABalanceFlipTest.lambda$testAABalanceFlip$1(AABalanceFlipTest.java:96)

      This is a problem with the test. It is failing because it creates an 800x800 window and then samples it near the edges.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: