Details
-
Bug
-
Resolution: Fixed
-
P4
-
24
-
b14
-
x86_64
-
windows
Description
----------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)
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)
Attachments
Issue Links
- relates to
-
JDK-8338103 Stabilize and open source a Swing OGL ButtonResizeTest
- Resolved
-
JDK-8341487 javax/swing/JButton/SwingButtonResizeTestWithOpenGL.java#id0 failed with exit code: 1
- Open
- links to
-
Commit(master) openjdk/jdk/b8d560b6
-
Review(master) openjdk/jdk/20777