changeset 600:13586ebcd761

6618401: Input method cannot be selected from System menu Summary: lock.wait() added in sun.awt.im.InputMethodManager.showInputMethodMenuOnRequesterEDT() Reviewed-by: alexp
author mlapshin
date Wed, 02 Jul 2008 18:17:56 +0400
parents 581440ba714a
children 99ea868a1d31
files src/share/classes/sun/awt/im/InputMethodManager.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/awt/im/InputMethodManager.java	Thu Jun 26 15:39:12 2008 +0400
+++ b/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();