[
https://issues.apache.org/jira/browse/IGNITE-5444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16068223#comment-16068223
]
ASF GitHub Bot commented on IGNITE-5444:
----------------------------------------
GitHub user WilliamDo opened a pull request:
https://github.com/apache/ignite/pull/2217
IGNITE-5444 Fix serialization of SingletonList to binary format
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WilliamDo/ignite IGNITE-5444
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2217.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2217
----
commit 2805fb89feedfe5c66e61161f4876a76b999e28b
Author: William Do <[email protected]>
Date: 2017-06-29T11:45:38Z
IGNITE-5444 Fix serialization of SingletonList to binary format
----
> 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)