ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-3834) BinaryReader.get method behaves incorrectly when in MODE_SINGLE mode
Date Fri, 02 Sep 2016 22:37:20 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15459777#comment-15459777
] 

Valentin Kulichenko edited comment on IGNITE-3834 at 9/2/16 10:36 PM:
----------------------------------------------------------------------

Attached a patch that fixes the issue.


was (Author: vkulichenko):
Attaching a patch that fixes the issue.

> 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)

Mime
View raw message