| Beispiel |
|
public static class SerializableObject implements Serializable{ synchronized private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { s.defaultReadObject(); } } |
| Lösung | |
Deklarieren Sie 'readObject()' ohne den Änderungswert synchronized.
|