// kryo.register(java.util.Collections.EMPTY_MAP.getClass(), new CollectionsEmptyMapSerializer());
// kryo.register(java.util.Collections.EMPTY_SET.getClass(), new CollectionsEmptySetSerializer());
// kryo.register(java.util.Collections.singletonList("").getClass(), new CollectionsSingletonListSerializer());
// kryo.register(java.util.Collections.singleton("").getClass(), new CollectionsSingletonSetSerializer());
// kryo.register(java.util.Collections.singletonMap("", "").getClass(), new CollectionsSingletonMapSerializer());
kryo.register(java.util.GregorianCalendar.class, new GregorianCalendarSerializer());
kryo.register(java.lang.reflect.InvocationHandler.class, new JdkProxySerializer());
UnmodifiableCollectionsSerializer.registerSerializers(kryo);
SynchronizedCollectionsSerializer.registerSerializers(kryo);
kryo.addDefaultSerializer(Externalizable.class, new ExternalizableKryoSerializer());
kryo.addDefaultSerializer(java.lang.ref.Reference.class, new ReferenceSerializer());