<AWT Dev> [14] RFR JDK-8233703:java/awt/Frame/FrameLocation.java fails on mac

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Wed Nov 6 11:57:25 UTC 2019


Hi All,

Please review a fix for an issue where it is seen the frame location is 
sometimes wrong in mac on mach5 headful nightly run.

It seems to be a timing issue as it shows 10 frames by calling 
frame.removeNotify(),frame.addNotify() repeatedly, which by the way are 
not supposed to be called by programs directly.

Proposed fix is to make not to make thread sleep every time 
removeNotify,addNotify is called so that there is no delay. I have ran 
mach5 job (in JBS) for 3 consecutive runs on all 3 platforms and they pass.

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

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

Regards
Prasanta


More information about the awt-dev mailing list