[
https://issues.apache.org/jira/browse/IGNITE-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956709#comment-15956709
]
ASF GitHub Bot commented on IGNITE-4917:
----------------------------------------
GitHub user AMashenkov opened a pull request:
https://github.com/apache/ignite/pull/1736
IGNITE-4917: BinaryObjectBuilder field value access failed if its
serialized with optimal marshaller
Fixed failure when accessing BinaryObjectBuilder field value serialized
with OptimizedMarshaller.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-4917
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1736.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 #1736
----
commit 1fcf992b30d86ad0c34df82c7a6afb5c52ac6106
Author: Andrey V. Mashenkov <[email protected]>
Date: 2017-04-05T11:33:27Z
Fixed failure when accessing BinaryObjectBuilder field value serialized
with OptimizedMarshaller .
----
> BinaryObjectBuilder field value access failed if its serialized with optimal
> marshaller
> ---------------------------------------------------------------------------------------
>
> Key: IGNITE-4917
> URL: https://issues.apache.org/jira/browse/IGNITE-4917
> Project: Ignite
> Issue Type: Bug
> Components: binary
> Reporter: Andrew Mashenkov
> Assignee: Andrew Mashenkov
> Fix For: 2.0
>
>
> Repro:
> {noformat}
> BinaryObjectBuilder bob = ignite.binary().builder("test");
> bob.setField("test1", new BigInteger("123456789"), BigInteger.class);
>
> BinaryObjectBuilder bob2 = bob.build().toBuilder();
>
> Object o = bob2.getField("test1"); // This call failed with "Invalid flag
> value: -2"
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)