You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2022/05/18 15:49:56 UTC

[GitHub] [geode-native] albertogpz opened a new pull request, #973: GEODE-10076. Align String serialization with Java client

albertogpz opened a new pull request, #973:
URL: https://github.com/apache/geode-native/pull/973

   The Geode C++ native client library serializes strings of PdxSerializable objects with DSCode CacheableString.
   Nevertheless, the Java client, in order to serialize Strings, it analyzes them and different DSCodes are assigned depending on the contents (only ASCII vs not only ASCII chars) and length. In the native client, it's always set to CacheableString, whenever for example in the case of an ASCII string should be CacheableASCIIString.
   
   This can provoke that two objects with the same contents created one by the native client and the other by the Java classes return false when compared with the equals method.
   
   The writeString() method of the DataOutput() class of the Geode C++ native client library has been aligned with its counterpart in the Java library so that the serialization is the same in both cases.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [geode-native] albertogpz merged pull request #973: GEODE-10076. Align String serialization with Java client

Posted by GitBox <gi...@apache.org>.
albertogpz merged PR #973:
URL: https://github.com/apache/geode-native/pull/973


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org