ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-4592) .NET: Binary enums are handled incorrectly
Date Mon, 23 Jan 2017 15:48:26 GMT
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)

Mime
View raw message