<AWT Dev>  RFR JDK-8234184:[TESTBUG] java/awt/Mouse/EnterExitEvents/ModalDialogEnterExitEventsTest.java fails in Windows
Jayathirth D V
jayathirth.d.v at oracle.com
Fri Nov 15 07:20:05 UTC 2019
waitUntilShown() inside createAndShowGUI() was doing the same job, but its good if we use InvokeAndWait().
Please find updated webrev:
Latest webrev is green in internal CI test system.
From: Prasanta Sadhukhan
Sent: Thursday, November 14, 2019 11:00 PM
To: Jayathirth D V <jayathirth.d.v at oracle.com>; awt-dev at openjdk.java.net
Subject: Re: <AWT Dev>  RFR JDK-8234184:[TESTBUG] java/awt/Mouse/EnterExitEvents/ModalDialogEnterExitEventsTest.java fails in Windows
Probably we can call invokeAndWait() for createAndShowGUI instead of invokeLater for frame to be shown, which may be more cleaner approach.
On 14-Nov-19 10:46 PM, Jayathirth D V wrote:
Please review the following fix in JDK14:
Bug : https://bugs.openjdk.java.net/browse/JDK-8234184
Webrev : http://cr.openjdk.java.net/~jdv/8234184/webrev.00/
Issue : We are disposing the frame even before we record Mouse Entry event.
Solution : Added appropriate waits to record Mouse entry event.
Test fails every time without fix in Internal CI and passes everytime with fix.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev