What steps will reproduce the problem?
1. Serialize an object graph with many different classes (>=128)
2. Deserialize the object graph
What is the expected output? What do you see instead?
The object graph should be deserialized correctly. But in the serialization
code, the class id is written out as a byte, while the deserialization code
expects an optimized integer value. For values >= 128 this leads to incorrect
class id value and desynchronization of the object stream.
What version of the Kryo are you using?
2.20
See my proposed patch
Original issue reported on code.google.com by selene.f...@artemicode.de on 6 Sep 2012 at 6:50
Original issue reported on code.google.com by
selene.f...@artemicode.de
on 6 Sep 2012 at 6:50Attachments: