[
https://issues.apache.org/jira/browse/IGNITE-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954726#comment-14954726
]
Pavel Tupitsyn edited comment on IGNITE-1619 at 10/13/15 9:48 AM:
-------------------------------------------------------------------
WriteGeneric*/ReadGeneric* methods removed from API. Let's keep specialized
methods for interop. All other things go through WriteObject.
was (Author: ptupitsyn):
WriteGeneric*/ReadGeneric* methods removed from API. Let's keep specialized
methods for interop. All other things go thrugh WriteObject.
> Platform .Net: Generic type is lost during array/collection serialization
> -------------------------------------------------------------------------
>
> Key: IGNITE-1619
> URL: https://issues.apache.org/jira/browse/IGNITE-1619
> Project: Ignite
> Issue Type: Bug
> Components: interop
> Affects Versions: ignite-1.4
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Fix For: 1.5
>
>
> We do not serialize collection/array element type, so on deserialization we
> can not recreate original collection. So generic arrays/collections can't be
> used in job arguments, service arguments, etc.
> * We should keep current format for non-generic collections, arrays of
> primitives, and arrays of objects
> * Generic collections and arrays should be written with new TypeIds (not
> compatible with other platforms) and include type information
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)