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



##########
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:
       Looks like you are right.
   
   I've added some tests and the proposed clause.
   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.

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


Reply via email to