SammyVimes commented on a change in pull request #526:
URL: https://github.com/apache/ignite-3/pull/526#discussion_r775453501
##########
File path:
modules/network/src/main/java/org/apache/ignite/internal/network/serialization/ClassDescriptor.java
##########
@@ -211,6 +215,37 @@ public boolean supportsWriteReplace() {
return (isSerializable() || isExternalizable()) && hasWriteReplace();
}
+ /**
+ * Applies writeReplace() method.
+ *
+ * @param object object to which to apply
+ * @return writeReplace() result
+ * @throws SpecialMethodInvocationException if writeReplace() invocation
fails
+ */
+ public Object applyWriteReplace(Object object) throws
SpecialMethodInvocationException {
Review comment:
Looks kinda strange that descriptor applies methods, doesn't it?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]