<AWT Dev> JDK-8031423 : Test java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java fails by Timeout on Windows

Ajit Ghaisas ajit.ghaisas at oracle.com
Thu Apr 14 11:59:58 UTC 2016


Hi,
    
    Adding delay in test code in main thread fixes this test timeout.
    I considered adding some delay in Robot.waitForIdle() method so that the calling thread yields, but realized that, it will have undesirable effect of slowing down test runs as many tests use that method.
 
   This fix contains moving robot creation up and adding delay to the test.
   Request you to review webrev : 
   http://cr.openjdk.java.net/~aghaisas/8031423/webrev.00/

Regards,
Ajit


More information about the awt-dev mailing list