6723941: Crash in sun.awt.windows.WToolkit.eventLoop()
authordcherepanov
Tue, 17 Feb 2009 14:44:58 +0300
changeset 2457 38ee6f7fd9f8
parent 2456 45ee87a35349
child 2458 f4bee3ba17ee
6723941: Crash in sun.awt.windows.WToolkit.eventLoop() Reviewed-by: art, ant
jdk/src/windows/native/sun/windows/awt_Frame.cpp
--- a/jdk/src/windows/native/sun/windows/awt_Frame.cpp	Tue Feb 17 14:30:52 2009 +0300
+++ b/jdk/src/windows/native/sun/windows/awt_Frame.cpp	Tue Feb 17 14:44:58 2009 +0300
@@ -321,7 +321,8 @@
         AwtComponent::GetComponentImpl(::GetParent(hwnd));
 
     if (!parent || parent->GetProxyFocusOwner() != hwnd ||
-        message == AwtComponent::WmAwtIsComponent)
+        message == AwtComponent::WmAwtIsComponent ||
+        message == WM_GETOBJECT)
     {
         return ComCtl32Util::GetInstance().DefWindowProc(NULL, hwnd, message, wParam, lParam);
     }