You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/07/10 08:24:00 UTC
[jira] [Updated] (IGNITE-5444) Collections.singletonList is not
properly serialized by binary marshaller
[ https://issues.apache.org/jira/browse/IGNITE-5444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-5444:
------------------------------------
Fix Version/s: (was: 2.1)
2.2
> Collections.singletonList is not properly serialized by binary marshaller
> -------------------------------------------------------------------------
>
> Key: IGNITE-5444
> URL: https://issues.apache.org/jira/browse/IGNITE-5444
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 2.0
> Reporter: Valentin Kulichenko
> Assignee: William Do
> Fix For: 2.2
>
> Attachments: BinaryObjectSingletonList.java
>
>
> Test attached. {{Collections.singletonList}} is apparently serialized by optimized marshaller, because when deserialized, it doesn't return collection of binary objects, but rather collection of deserialized objects.
> Most likely the reason for this is that {{Collections.singletonList}} is not recognized by {{BinaryUtils.knownCollection}} method.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)