You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2016/09/02 22:37:20 UTC
[jira] [Updated] (IGNITE-3834) BinaryReader.get method behaves
incorrectly when in MODE_SINGLE mode
[ https://issues.apache.org/jira/browse/IGNITE-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Kulichenko updated IGNITE-3834:
----------------------------------------
Attachment: IGNITE_3834.patch
> BinaryReader.get method behaves incorrectly when in MODE_SINGLE mode
> --------------------------------------------------------------------
>
> Key: IGNITE-3834
> URL: https://issues.apache.org/jira/browse/IGNITE-3834
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 1.7
> Reporter: Valentin Kulichenko
> Assignee: Valentin Kulichenko
> Priority: Critical
> Fix For: 1.8
>
> Attachments: IGNITE_3834.patch
>
>
> The piece of code below is incorrect. It should not return the {{data}} right away, but compare the provided position with {{singlePos}} first and return {{null}} if they do not match.
> {code}
> case MODE_SINGLE:
> return (T)data;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)