8056211: api/java_awt/Event/InputMethodEvent/serial/index.html#Input[serial2002] failure
Reviewed-by: pchelko, alexsch
This commit is contained in:
parent
1a77a29985
commit
127abcdf4d
@ -418,7 +418,8 @@ public class InputMethodEvent extends AWTEvent {
|
|||||||
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException {
|
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException {
|
||||||
s.defaultReadObject();
|
s.defaultReadObject();
|
||||||
if (when == 0) {
|
if (when == 0) {
|
||||||
when = getMostRecentEventTimeForSource(this.source);
|
// Can't use getMostRecentEventTimeForSource because source is always null during deserialization
|
||||||
|
when = EventQueue.getMostRecentEventTime();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user