atris commented on a change in pull request #8868:
URL: https://github.com/apache/ignite/pull/8868#discussion_r595119383
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryEnumObjectImpl.java
##########
@@ -473,4 +473,17 @@ public BinaryEnumObjectImpl(BinaryContext ctx, byte[] arr)
{
return reader.afterMessageRead(BinaryEnumObjectImpl.class);
}
+
+ /** {@inheritDoc} */
+ @Override public int size() {
+ if (valBytes == null) {
+ try {
+ valBytes = U.marshal(ctx.marshaller(), this);
+ } catch (IgniteCheckedException e) {
Review comment:
Sorry about that, will ensure this henceforth :)
----------------------------------------------------------------
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]