revelytix/carbonite — Issue #1: Added default Kryo behavior to kryo-extend multimethod.
Author: sritchie
Created: 2011-12-02 23:05:44+00:00
State: open

The current implementation doesn't necessarily allow `setRegistrationOptional`
to behave as expected (where unknown java classes are serialized using the FieldSerializer.)
This commit implements Kryo's default behavior as a separate function, `register-generic`,
and adds a default dispatch method to kryo-extend that calls `register-generic` if no custom
serialization made it.

Patch here: https://gist.github.com/1425255