|
Lines 9-16
Link Here
|
| 9 |
******************************************************************************/ |
9 |
******************************************************************************/ |
| 10 |
package org.eclipse.swt.widgets; |
10 |
package org.eclipse.swt.widgets; |
| 11 |
|
11 |
|
| 12 |
import java.io.*; |
12 |
import java.io.IOException; |
| 13 |
import java.util.*; |
13 |
import java.io.InvalidObjectException; |
|
|
14 |
import java.io.ObjectInputStream; |
| 15 |
import java.io.ObjectInputValidation; |
| 16 |
import java.io.ObjectOutputStream; |
| 17 |
import java.util.Collection; |
| 18 |
import java.util.Date; |
| 19 |
import java.util.Iterator; |
| 20 |
import java.util.LinkedList; |
| 21 |
import java.util.Timer; |
| 22 |
import java.util.TimerTask; |
| 14 |
|
23 |
|
| 15 |
import org.eclipse.rwt.internal.engine.PostDeserialization; |
24 |
import org.eclipse.rwt.internal.engine.PostDeserialization; |
| 16 |
import org.eclipse.rwt.service.ISessionStore; |
25 |
import org.eclipse.rwt.service.ISessionStore; |
|
Lines 91-96
Link Here
|
| 91 |
tasks.remove( task ); |
100 |
tasks.remove( task ); |
| 92 |
} |
101 |
} |
| 93 |
|
102 |
|
|
|
103 |
private void writeObject( ObjectOutputStream stream ) throws IOException { |
| 104 |
synchronized( display.getDeviceLock() ) { |
| 105 |
stream.defaultWriteObject(); |
| 106 |
} |
| 107 |
} |
| 108 |
|
| 94 |
private void readObject( ObjectInputStream stream ) throws IOException, ClassNotFoundException { |
109 |
private void readObject( ObjectInputStream stream ) throws IOException, ClassNotFoundException { |
| 95 |
stream.defaultReadObject(); |
110 |
stream.defaultReadObject(); |
| 96 |
stream.registerValidation( new PostDeserializationValidation(), 0 ); |
111 |
stream.registerValidation( new PostDeserializationValidation(), 0 ); |