ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-1619) Platform .Net: Generic type is lost during array/collection serialization
Date Tue, 13 Oct 2015 09:49:05 GMT

    [ 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)

Mime
View raw message