-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IGNITE-13897 .NET: Service can't assign correct type to passed array parameters #8614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
59f97db
da985e9
cbdc774
9166f42
b95f64b
c0aebe2
03b4085
f096e42
ac2deaf
cf8bc6c
2fd079a
b0f72c2
7b97b45
9012c94
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,7 @@ | |
|
|
||
| package org.apache.ignite.internal.processors.platform.utils; | ||
|
|
||
| import java.lang.reflect.Array; | ||
| import java.lang.reflect.Field; | ||
| import java.math.BigDecimal; | ||
| import java.sql.Timestamp; | ||
|
|
@@ -989,7 +990,9 @@ private static Collection<Object> unwrapKnownCollection(Collection<Object> col) | |
| * @return Result. | ||
| */ | ||
| public static Object[] unwrapBinariesInArray(Object[] arr) { | ||
| Object[] res = new Object[arr.length]; | ||
| Class<?> compType = arr.getClass().getComponentType(); | ||
ptupitsyn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Object[] res = (Object[])Array.newInstance(compType, arr.length); | ||
|
||
|
|
||
| for (int i = 0; i < arr.length; i++) | ||
| res[i] = unwrapBinary(arr[i]); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.