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

Test javax/swing/JButton/SwingButtonResizeTestWithOpenGL.java#id failed: Button renderings are different after window resize

XMLWordPrintable

    • b14
    • x86_64
    • windows

      ----------System.out:(10/658)*----------
      Button focus gained...
      Getting initial button image..image1
      Button loc: java.awt.Point[x=212,y=235]
      Frame is maximized
      Frame is back to normal
      Getting image of JButton after resize..image2
      Button loc: java.awt.Point[x=212,y=235]
      Taking the diff of two images, image1 and image2
      Saving button image to C:\\sb\\prod\\1724907665\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_desktop_part1\\javax\\swing\\JButton\\SwingButtonResizeTestWithOpenGL_id0\\image1.png
      Saving button image to C:\\sb\\prod\\1724907665\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_desktop_part1\\javax\\swing\\JButton\\SwingButtonResizeTestWithOpenGL_id0\\image2.png
      ----------System.err:(12/914)----------
      java.lang.RuntimeException: Button renderings are different after window resize, num of Diff Pixels=172
      at SwingButtonResizeTestWithOpenGL.runTest(SwingButtonResizeTestWithOpenGL.java:170)
      at SwingButtonResizeTestWithOpenGL.main(SwingButtonResizeTestWithOpenGL.java:118)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:573)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

        1. diffImage.png
          diffImage.png
          1 kB
        2. image1.png
          image1.png
          3 kB
        3. image2.png
          image2.png
          3 kB

            mvs Manukumar V S
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: