提交 c7f2ade4 编写于 作者: A aivanov

8056211: api/java_awt/Event/InputMethodEvent/serial/index.html#Input[serial2002] failure

Reviewed-by: pchelko, alexsch
上级 d49e3c5e
......@@ -417,7 +417,8 @@ public class InputMethodEvent extends AWTEvent {
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException {
s.defaultReadObject();
if (when == 0) {
when = getMostRecentEventTimeForSource(this.source);
// Can't use getMostRecentEventTimeForSource because source is always null during deserialization
when = EventQueue.getMostRecentEventTime();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册