<AWT Dev> [9] Review request for 8168135: The issue JDK-8164462 seems not fixed in b140

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Nov 16 17:43:03 UTC 2016


Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8168135

webrev: http://cr.openjdk.java.net/~ssadetsky/8168135/webrev.00/

The root cause of the issue is that last expose event from WM sometimes 
comes after the content window of the decorated frame is firstly 
configured during the initialization. This happens because during 
initialization of the decorated peer the WM events are processed with a 
delay.

The proposed solution posts paint event after the initial configuration 
of the content window and ignore all WM expose events until the window 
initialization is finished to avoid unwanted intermediate paints.

--Semyon



More information about the awt-dev mailing list