mirror of
https://github.com/corda/corda.git
synced 2025-05-04 09:43:05 +00:00
The specification of the Java deserialization demands that a private readObject(ObjectOutputStream) method is used -- if it exists. In that case, ObjectInputStream must not initialize the contents of the fields (called 'classdata[]' in the documentation) but offer that functionality via the defaultReadObject() method. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>