--- old/src/windows/native/sun/windows/awt_Component.cpp 2014-04-02 14:22:44.978573600 +0400 +++ new/src/windows/native/sun/windows/awt_Component.cpp 2014-04-02 14:22:44.807051900 +0400 @@ -1729,9 +1729,11 @@ case WM_IME_SETCONTEXT: // lParam is passed as pointer and it can be modified. mr = WmImeSetContext(static_cast(wParam), &lParam); + CallProxyDefWindowProc(message, wParam, lParam, retValue, mr); break; case WM_IME_NOTIFY: mr = WmImeNotify(wParam, lParam); + CallProxyDefWindowProc(message, wParam, lParam, retValue, mr); break; case WM_IME_STARTCOMPOSITION: mr = WmImeStartComposition(); @@ -4085,7 +4087,7 @@ { if (mr != mrConsume) { HWND proxy = GetProxyFocusOwner(); - if (proxy != NULL) { + if (proxy != NULL && ::IsWindowEnabled(proxy)) { retVal = ComCtl32Util::GetInstance().DefWindowProc(NULL, proxy, message, wParam, lParam); mr = mrConsume; } --- old/src/windows/native/sun/windows/awt_Frame.cpp 2014-04-02 14:22:46.893316800 +0400 +++ new/src/windows/native/sun/windows/awt_Frame.cpp 2014-04-02 14:22:46.730796100 +0400 @@ -351,6 +351,8 @@ case WM_IME_STARTCOMPOSITION: case WM_IME_ENDCOMPOSITION: case WM_IME_COMPOSITION: + case WM_IME_SETCONTEXT: + case WM_IME_NOTIFY: case WM_IME_CONTROL: case WM_IME_COMPOSITIONFULL: case WM_IME_SELECT: --- old/test/java/awt/Frame/7024749/bug7024749.java 2014-04-02 14:22:48.462516000 +0400 +++ new/test/java/awt/Frame/7024749/bug7024749.java 2014-04-02 14:22:48.299995400 +0400 @@ -23,7 +23,7 @@ /* * @test - * @bug 7024749 + * @bug 7024749 8019990 * @summary JDK7 b131---a crash in: Java_sun_awt_windows_ThemeReader_isGetThemeTransitionDurationDefined+0x75 * @library ../../regtesthelpers * @build Util