lishunli / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

JDK 7 Locale Serialization/Deserialization Erro #263

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. JDK 7 install and Locale Field in Object

What is the expected output? What do you see instead?
valid Locale Object, but null returned

What version of the product are you using? On what operating system?
xmemcached 1.4.2, Win 7 64bit/CentOS 5.8, 6.4, Tomcat 7.0.42, Tomcat 7.0.39

Please provide any additional information below.
The Locale of JDK7, there were many changes.
I am currently seems to be in your library, and there is no serialization / 
deserialization correctly locale object in memcached object

Original issue reported on code.google.com by cj84...@gmail.com on 22 Aug 2013 at 12:27

GoogleCodeExporter commented 9 years ago
memcached version : 1.4.15

Original comment by cj84...@gmail.com on 22 Aug 2013 at 12:33

GoogleCodeExporter commented 9 years ago
Xmemcached use java serializable to encode/decode java object values.
I found that Locale implements Java Serializable interface,so if it could not 
be encoded/decoded correctly,maybe it is an issue in JDK 7.

You can report the issue to oracle JDK team,Thanks.

Original comment by killme2...@gmail.com on 25 Aug 2013 at 4:35