kamilla1201 commented on a change in pull request #6392:
URL: https://github.com/apache/geode/pull/6392#discussion_r623159100



##########
File path: 
geode-core/src/main/java/org/apache/geode/distributed/internal/ReplyMessage.java
##########
@@ -295,7 +296,14 @@ public void toData(DataOutput out,
       out.writeInt(processorId);
     }
     if (this.returnValueIsException || this.returnValue != null) {
-      DataSerializer.writeObject(this.returnValue, out);
+      try {
+        DataSerializer.writeObject(this.returnValue, out);

Review comment:
       toData/fromData methods in this class could use 
SerializationContext/DeserializationContext instead of DataSerializer.




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to