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



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/platform/utils/PlatformUtils.java
##########
@@ -989,7 +990,9 @@ private static boolean knownMap(Object o) {
      * @return Result.
      */
     public static Object[] unwrapBinariesInArray(Object[] arr) {
-        Object[] res = new Object[arr.length];
+        Class<?> compType = arr.getClass().getComponentType();

Review comment:
       `unwrapBinary` keeps the original object if it's not a `BinaryObject`.
   This method breaks it because converts any typed array into `Object[]`.
   
   These changes fix 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.

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


Reply via email to