<Swing Dev> RFR JDK-8146451: javax/swing/JComponent/4337267/bug4337267.java failed on Windows

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Sun Jul 19 12:13:39 UTC 2020


Hi All,

Please review a test-fix for an issue seen to be failing in windows in 
mach5 with mismatch in bufferedimage.

It seems the test is run asynchronously in test.run() under 
SwingUtilities.invokeLater which is causing the test to be unstable in 
mach5.

Also, the actual BufferedImage check inside test.run() is done again 
asynchronously under another invokeLater(). Although it's not invalid, 
it's causing some instability.

Proposed fix is to run the test under invokeAndWait() synchronously.

mach5 job run for several iterations has passed and link is present in JBS.

Bug: https://bugs.openjdk.java.net/browse/JDK-8146451

webrev: http://cr.openjdk.java.net/~psadhukhan/8146451/webrev.0/

Regards
Prasanta


More information about the swing-dev mailing list