6618401: Input method cannot be selected from System menu
Lock.wait() added in sun.awt.im.InputMethodManager.showInputMethodMenuOnRequesterEDT() Reviewed-by: alexp
This commit is contained in:
parent
ef9b3891fc
commit
3f961d6062
@ -358,6 +358,7 @@ class ExecutableInputMethodManager extends InputMethodManager
|
|||||||
AppContext requesterAppContext = SunToolkit.targetToAppContext(requester);
|
AppContext requesterAppContext = SunToolkit.targetToAppContext(requester);
|
||||||
synchronized (lock) {
|
synchronized (lock) {
|
||||||
SunToolkit.postEvent(requesterAppContext, event);
|
SunToolkit.postEvent(requesterAppContext, event);
|
||||||
|
lock.wait();
|
||||||
}
|
}
|
||||||
|
|
||||||
Throwable eventThrowable = event.getThrowable();
|
Throwable eventThrowable = event.getThrowable();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user