The fix looks good to me.
Thanks,
Alexandr.
On 9/2/2014 3:09 PM, Alexey Ivanov wrote:
Hello AWT team,
This is a reminder,
Is there any volunteer to review this fix?
Thanks,
Alexey.
On 29.08.2014 12:20, Alexey Ivanov wrote:
Hello AWT Team,
Could you please review the fix for bug:
bug: https://bugs.openjdk.java.net/browse/JDK-8056211
webrev: http://cr.openjdk.java.net/~aivanov/8056211/jdk9/webrev.00/
Description:
When you deserialize InputMethodEvent object serialized with JDK 1.3
or earlier, you'll get java.lang.IllegalArgumentException: null
source. To initialize 'when' field, getMostRecentEventTimeForSource
is used in this case but 'source' field is always null when object is
deserialized.
The fix:
Use the old way to initialize 'when' field where its value is 0, that
is EventQueue.getMostRecentEventTime().
Thank you in advance,
Alexey.