You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/09/26 12:41:20 UTC
[jira] [Commented] (IGNITE-3839) .NET: BinaryWriter allows raw
methods to be called before GetRawWriter call
[ https://issues.apache.org/jira/browse/IGNITE-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522936#comment-15522936 ]
Pavel Tupitsyn commented on IGNITE-3839:
----------------------------------------
* External user can get into this situation by casting IBinaryWriter to IBinaryRawWriter directly
* Adding checks to all raw write methods will be expensive (these methods are performance-critical).
Therefore, good solution may be to separate IBinaryWriter and IBinaryRawWriter implementations.
> .NET: BinaryWriter allows raw methods to be called before GetRawWriter call
> ---------------------------------------------------------------------------
>
> Key: IGNITE-3839
> URL: https://issues.apache.org/jira/browse/IGNITE-3839
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 1.5.0.final
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Trivial
> Labels: .net
> Fix For: 1.8
>
>
> This leads to a situation where raw offset and flag are not set. Need to either add a check with exception, or automatically switch to raw mode when raw methods are called.
> This only affects internal code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)