RFR: 8338103: Stabilize and open source a Swing OGL ButtonResizeTest

Tejesh R tr at openjdk.org
Mon Aug 19 07:31:50 UTC 2024


On Fri, 9 Aug 2024 18:45:18 GMT, Manukumar V S <mvs at openjdk.org> wrote:

> This PR creates a new test by stabilising and open sourcing a closed test.
> This test verifies that the OpenGL pipeline does not create artifacts with swing components after window is zoomed to maximum size and then resized back to normal.
> This test is run twice, with and without the flags "-Dsun.java2d.opengl=True -Dsun.java2d.opengl.fbobject=false" .
> 
> This is tested(15 times per platform) in all the available mach5 headful platforms and found to be stable.

The test is failing on my windows machine with an error - _java.lang.RuntimeException: Button renderings are different after window resize, num of Diff Pixels=1576_ Images are uploaded for reference.

![image1](https://github.com/user-attachments/assets/349f9300-25ba-4402-9668-d9e89321b23c)
![image2](https://github.com/user-attachments/assets/c25fb95e-1f80-4762-9388-1b799a0184e8)

-------------

PR Review: https://git.openjdk.org/jdk/pull/20532#pullrequestreview-2244799430


More information about the client-libs-dev mailing list