< prev index next >

src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c

Print this page

        

*** 1327,1345 **** AWT_LOCK(); /* free the old pX11IMData and set it to null. this also avoids crashing * the jvm if the XIM server reappears */ while (x11InputMethodGRefListHead != NULL) { ! if (getX11InputMethodData(env, ! x11InputMethodGRefListHead->inputMethodGRef) == NULL) { ! /* Clear possible exceptions ! */ ! if ((*env)->ExceptionOccurred(env)) { ! (*env)->ExceptionDescribe(env); ! (*env)->ExceptionClear(env); ! } ! } } AWT_UNLOCK(); } JNIEXPORT jboolean JNICALL --- 1327,1337 ---- AWT_LOCK(); /* free the old pX11IMData and set it to null. this also avoids crashing * the jvm if the XIM server reappears */ while (x11InputMethodGRefListHead != NULL) { ! getX11InputMethodData(env, x11InputMethodGRefListHead->inputMethodGRef); } AWT_UNLOCK(); } JNIEXPORT jboolean JNICALL
< prev index next >