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. ------------- Commit messages: - 8338103: Stabilize and open source a Swing OGL ButtonResizeTest Changes: https://git.openjdk.org/jdk/pull/20532/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20532&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8338103 Stats: 312 lines in 1 file changed: 312 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/20532.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20532/head:pull/20532 PR: https://git.openjdk.org/jdk/pull/20532
