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

The test sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails with: Test failed at 0-0 rgb=0xff000000

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8u60
    • client-libs
    • None
    • 2d
    • generic
    • generic

      The test sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails with the following output:

      ----------System.out:(2/76)----------
      Screen shot file: OnScreenRenderingResizeTest.png
      ----------System.err:(14/828)----------
      java.lang.RuntimeException: Test failed at 0-0 rgb=0xff000000
              at OnScreenRenderingResizeTest.checkBI(OnScreenRenderingResizeTest.java:211)
              at OnScreenRenderingResizeTest.main(OnScreenRenderingResizeTest.java:171)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
              at java.lang.Thread.run(Unknown Source)

      When the test is running it draws a white frame and a green box within it. However the test fails and the screen capture taken by the robot consists of black pixels only.

            Unassigned Unassigned
            dkononenko Denis Kononenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: