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-unsubscr...@geode.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org