[
https://issues.apache.org/jira/browse/IGNITE-5444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059308#comment-16059308
]
Evgenii Zhuravlev edited comment on IGNITE-5444 at 6/22/17 1:07 PM:
--------------------------------------------------------------------
Do we need to implement full support for Collections.SingletonList here, or it
will be enough that after deserialization it will became an ArrayList, as for
other unknown collections?
was (Author: ezhuravl):
Do we need to implement full support for Collections.SingletonList here, or
it's will be enough that after deserialization it will became an ArrayList, as
for other unknown collections?
> 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.1
>
> 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)