-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kryo gets ClassCastException when deserializing TreeSet with Comparator #139
Comments
From martin.grotzke on October 09, 2013 02:41:27
Use "kryo.setInstantiatorStrategy(new StdInstantiatorStrategy());" as a fix.
AFAICS we need a TreeSetSerializer for this. Summary: Kryo gets ClassCastException when deserializing TreeSet with Comparator (was: 2 bugs with this testcase) |
From martin.grotzke on October 11, 2013 02:56:33 Fixed in trunk. @moru0011: Do you need this to be released soon (to maven central)? Status: Fixed |
From [email protected] on October 11, 2013 03:09:53 No, as said I use kryo for benchmarking only, i just wanted to help improving. |
From martin.grotzke on October 11, 2013 03:16:06 Alright, thanx for reporting! |
From [email protected] on October 08, 2013 13:13:07
What steps will reproduce the problem?
serialize this after uncommenting the 2 lines mentioning Kryo.
http://code.google.com/p/fast-serialization/source/browse/trunk/src/test/java/de/ruedigermoeller/serialization/testclasses/basicstuff/CommonCollections.java
What version of the Kryo are you using?
2.2.2
Original issue: http://code.google.com/p/kryo/issues/detail?id=139
The text was updated successfully, but these errors were encountered: