提交 93b2d011 编写于 作者: D dcherepanov

7011443: ./share/classes/sun/awt/SunToolkit.java needs to avoid spurious wakeup

Reviewed-by: anthony
上级 d36abb1c
......@@ -696,7 +696,9 @@ public abstract class SunToolkit extends Toolkit
synchronized (lock) {
executeOnEventHandlerThread(event);
lock.wait();
while(!event.isDispatched()) {
lock.wait();
}
}
Throwable eventThrowable = event.getThrowable();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册