[ https://issues.apache.org/jira/browse/IGNITE-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966607#comment-14966607 ]
Pavel Tupitsyn commented on IGNITE-1619: ----------------------------------------- Since most CLR collections are Serializable, we can rely on that instead of inventing our own mechanism. The downside is that elements of List<UserPortableMarshalAware> will be written as Serializable instead of Portable, but user can work around that by serializing the collection manually. 1,2) Comments fixed 3,6) Descriptor logic removed since it is not actually reachable 4) .. > 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)