You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/01/23 15:48:26 UTC
[jira] [Created] (IGNITE-4592) .NET: Binary enums are handled
incorrectly
Pavel Tupitsyn created IGNITE-4592:
--------------------------------------
Summary: .NET: Binary enums are handled incorrectly
Key: IGNITE-4592
URL: https://issues.apache.org/jira/browse/IGNITE-4592
Project: Ignite
Issue Type: Bug
Components: platforms
Affects Versions: 1.8
Reporter: Pavel Tupitsyn
Assignee: Pavel Tupitsyn
Fix For: 1.9
* BinaryEnum is represented as {{int typeId}} + {{int value}}
* BinaryEnumArray is represented as {{int typeId}} + {{int[] value}}
In most cases we handle this incorrectly, using only {{int value}}:
* {{BinaryObjectBuilder.WriteAsPredefined}}
* {{BinarySystemHandlers.*EnumArray}}
etc
Add tests thich verify that .NET binary enum handling is consistent with Java.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)