nizhikov commented on a change in pull request #9490:
URL: https://github.com/apache/ignite/pull/9490#discussion_r754345146



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryReaderExImpl.java
##########
@@ -1364,7 +1364,10 @@ float readFloat(int fieldId) throws 
BinaryObjectException {
     @Nullable @Override public Object[] readObjectArray() throws 
BinaryObjectException {
         switch (checkFlag(OBJ_ARR)) {
             case NORMAL:
-                return BinaryUtils.doReadObjectArray(in, ctx, ldr, this, 
false, true);
+                if (BinaryArray.useTypedArrays())
+                    return BinaryUtils.doReadBinaryArray(in, ctx, ldr, this, 
false, true).deserialize(ldr);
+                else

Review comment:
       Fixed. Thanks

##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryReaderExImpl.java
##########
@@ -1913,7 +1916,10 @@ private String fieldFlagName(byte flag) {
                 break;
 
             case OBJ_ARR:
-                obj = BinaryUtils.doReadObjectArray(in, ctx, ldr, this, false, 
true);
+                if (BinaryArray.useTypedArrays())
+                    obj = BinaryUtils.doReadBinaryArray(in, ctx, ldr, this, 
false, true).deserialize(ldr);
+                else

Review comment:
       Fixed. Thanks




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


Reply via email to