红联Linux门户
Linux帮助

Kryo 2.23发布,高性能Java序列化库

发布时间:2014-02-11 21:40:42来源:红联作者:empast
Kryo 2.23 发布了,该版本主要是 bug 修复,包括:

Fix #183 Problem with inner classes of a generic class (f9cb9ea)

Fix #176 Remove unused "kryo" fields from a number of classes. (77e319f)

Fix #168 Infinite loop while extending buffer (82d134d)

Fix #100 Serialization for java.util.Locale under java 1.7 is broken

Fix #88 Serialization of java.sql.Timestamp

Fix #161 Option for ByteBufferOutput#require to allocate a heap buffer (faf05e0)

Add a possibility to set a custom InstantiationStrategy (see issue #138) (9f0bfa7)

Fix #153 Update objenesis to latest version (2.1) (1fc2dc8)

Fix #140 Add optional OSGI imports for sun.misc and sun.nio.ch (a59cef6)

Fix #156 Depend on minlog and objenesis as standard dependencies (f212086)

Fix #158 FieldSerializer serializes removed fields in some situations (fa2f729)

Some progress on #149: Make ObjectField versions for primitive types work in the same way as AsmCacheField and UnsafeCacheField (a137238)

Fix #155 Test with double array fails (adf0576)

Fix java.misc.Unsafe probing. Do not re-throw any exceptions. (bb40b1f)

Made references optional for copying. (0a1c7e3)

Fix #154 Kryo ignores the KryoSerializable interface on objects of class which implement Map interface (0234f8c)

Fix issues #148 and #83 FieldSerializer copies transient fields / Copy should not ignore transient fields (cd79d91)

Fix #145 IntMap toString should not ignore 0 as a key (0dbbc2f)

Fix #142 Change type (int->long) of field total in class Output return int (859de2e)

Fix #144 IntMap.clear() does not work as expected (a0da819)

Fix #139 Kryo gets ClassCastException when deserializing TreeSet with Comparator (Kryo gets ClassCastException when deserializing TreeSet with Comparator) (0b9d117)

Fix #91 Properly serialize empty EnumSets (08db0d8)

Kryo 是一个快速高效的Java对象图形序列化框架,主要特点是性能、高效和易用。该项目用来序列化对象到文件、数据库或者网络。

项目主页:https://github.com/EsotericSoftware/kryo

下载地址:https://github.com/EsotericSoftware/kryo/releases

来自:开源中国社区
文章评论

共有 0 条评论