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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Jul 28 04:50:16 UTC 2020


Hi, Prasanta.

Since the test was updated and now uses invokeAndWait, then probably we can drop
"doneTask()" and all related things used to wait while invokeLater is completed?

On 19.07.2020 05:13, Prasanta Sadhukhan wrote:
> 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


-- 
Best regards, Sergey.


More information about the swing-dev mailing list