The failing test should be updated with this bug id. Else it looks like
a fix with no regression test.
Also if this was on the problem list (probably not if it only failed in
debug builds) it
should be removed.
-phil.
On 10/29/18 9:29 AM, Ambarish Rapte wrote:
Hi,
Please review this windows only fix:
JBS: https://bugs.openjdk.java.net/browse/JDK-8198001
Webrev: http://cr.openjdk.java.net/~arapte/8198001/webrev.00/
Issue:
1. Test asserts with debug build jdk, only on windows.
2. This test fails when Menu is removed from MenuBar
(WrongParentAfterRemoveMenu.java :: Line no 100)
3. Assert at Line no. 209, awt_MenuBar.cpp :: RedrawMenuBar()
4. AwtMenuBar::DeleteItem() -> AwtMenuBar::RedrawMenuBar() => calls
GetOwnerHWnd() which returns NULL.
Fix: Value returned by GetOwnerHWnd() should be checked for NULL value.
Verification: All MenuBar tests pass.
Regards,
Ambarish