Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.7.0
-
None
-
None
Description
The default Kryo serializer uses an older version of Kryo (2.X), for use with Java 8 data types such as java.lang.Instant, Kryo 2.X does not support these and causes a fatal exception. Kryo 4.X includes support for these and other data types.
As suggested by Thomas Weise in response to my questions, there is a simple workaround, which is to use the FieldSerializer.Bind annotation to handle the offending fields in a java object.