<AWT Dev> [12] RFR : JDK-8198002 : java/awt/Mixing/Validating.java debug assert on Windows

Ambarish Rapte ambarish.rapte at oracle.com
Tue Nov 6 10:36:25 UTC 2018


Hi All,

 

                Please review this windows only fix:

                Webrev: http://cr.openjdk.java.net/~arapte/8198002/webrev.00/ 

                JBS: https://bugs.openjdk.java.net/browse/JDK-8198002 

 

Issue:

Test asserts with debug build jdk, only on windows.
Assert at Line no 703, awt_Frame.cpp, AwtFrame::Reshape ()
When MAXIMIZED_BOTH extended state is set before window is shown, it does not reflect in to the window style, i.e. WS_MAXIMIZE style bit won't be set.
WS_MAXIMIZE is set only after the window is shown, i.e.  after ShowWindow() call

 

Fix:

Fix is to check whether the window is visible when accessing WS_MAXIMIZE style bit.

 

 

Regards,

Ambarish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20181106/a94eba2d/attachment-0001.html>


More information about the awt-dev mailing list