6618401: Input method cannot be selected from System menu
authormlapshin
Wed, 02 Jul 2008 18:17:56 +0400
changeset 1276 5c7b6c8a2378
parent 1275 748883f48403
child 1277 61e297d24425
6618401: Input method cannot be selected from System menu Summary: lock.wait() added in sun.awt.im.InputMethodManager.showInputMethodMenuOnRequesterEDT() Reviewed-by: alexp
jdk/src/share/classes/sun/awt/im/InputMethodManager.java
--- a/jdk/src/share/classes/sun/awt/im/InputMethodManager.java	Thu Jun 26 15:39:12 2008 +0400
+++ b/jdk/src/share/classes/sun/awt/im/InputMethodManager.java	Wed Jul 02 18:17:56 2008 +0400
@@ -358,6 +358,7 @@
         AppContext requesterAppContext = SunToolkit.targetToAppContext(requester);
         synchronized (lock) {
             SunToolkit.postEvent(requesterAppContext, event);
+            lock.wait();
         }
 
         Throwable eventThrowable = event.getThrowable();