ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Scherbakov (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-3098) UTF-16 surrogate pairs are not properly serialized by BinaryMarshaller
Date Tue, 10 May 2016 08:01:12 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexei Scherbakov reassigned IGNITE-3098:
-----------------------------------------

    Assignee: Alexei Scherbakov

> UTF-16 surrogate pairs are not properly serialized by BinaryMarshaller
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-3098
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3098
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Denis Magda
>            Assignee: Alexei Scherbakov
>              Labels: important
>         Attachments: StringTest.java
>
>
> BinaryMarshaller is unable to properly serialize surrogate symbols (read here [1] paragraph
"invalid code points") because it relies on String.getBytes("UTF-8") method [2].
> However Optimized and JDK marshalers can properly handle this symbols since they rely
on {{ObjectOutputStream.writeUTF()}} method.
> [1] https://en.wikipedia.org/wiki/UTF-8
> [2] https://community.oracle.com/thread/1164397?start=0&tstart=0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message