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

[hidpi] sun/java2d/SunGraphics2D/DrawImageBilinear.java test fails

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 10
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d

      Description

      This fails with the following error on all three GDI, OpenGL and D3D at HiDPI scale of 1.25 or 1.75 with exceptions similar to following
      Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed at x=10 y=10 (expected=0xffff0000 actual=0xffff6060)

      This bug is found while working on JDK-8159142, but the reason is different. So needs to fixed separately. A new test case should be written which checks the Frame bounds, Graphics clip and Robot screen capture API, to confirm that they are using same level of rounding

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pbansal Pankaj Bansal
                Reporter:
                pbansal Pankaj Bansal
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: