--
You received this message because you are subscribed to the "kryo-users" group.
http://groups.google.com/group/kryo-users
---
You received this message because you are subscribed to the Google Groups "kryo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kryo-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "kryo-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kryo-users/9xOngIaZdO4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kryo-users+...@googlegroups.com.
Ah, I'm sure that's my issue then. How do most people deal with exceptions. I suppose I thought there would be a default serializer for it. It wasn't clear to me that I should do special wiring for Kryo to handle it.
This seems like it did the trick, or should I be using a different approach?kryo.addDefaultSerializer( Throwable.class, new JavaSerializer() );
Also, is there a default way to add the JavaSerializer for Serializable.class in such a way that it has the LOWEST priority? Ideally I would like it to be a last resort and to LOG that it is using it so I can clean them up as needed. I have way to many classes to handle to explicitly add a registration for each one since this is a pretty generic system whose legacy requirement was only that classes be Serializable.
UnmodifiableCollectionsSerializer?
You received this message because you are subscribed to the Google Groups "kryo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kryo-users+...@googlegroups.com.
It's from javakaffee's extra Kryo Serializers.
Nate, is anything that uses Reflection interfaces JVM specific? Or just those that access private methods?
Check. Just making sure since I am working on an experiment right now to fully support ObjectInput and ObjectOutput with a Kryo adapter. Unfortunately, that means I need to use reflection to get readObject, writeObject, realResolve, and writeReplace. While those are private they are VERY stable implementation details.
Well, it would make things a lot simpler. I guess I wanted an efficient way for types like "Locale" to JUST WORK that use readResolve or writeReplace. I had to register to the JavaSerializer for Locale and it makes me unhappy to ever have to rely on this serializer. Seems if I could support the full java serialization API then any non-kryo object would work using the kryo stream protocol. Efficiency with the correct behavior. I wouldn't have to discover all these issues one by one like Throwable or Locale.