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

James E. King III closed THRIFT-234.
------------------------------------
    Resolution: Unresolved
      Assignee: James E. King III

If this is still an issue, open it as a new bug.

> Can't assign binary fields default values
> -----------------------------------------
>
>                 Key: THRIFT-234
>                 URL: https://issues.apache.org/jira/browse/THRIFT-234
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: Java - Compiler
>            Reporter: Bryan Duxbury
>            Assignee: James E. King III
>            Priority: Trivial
>
> The Thrift compiler treats binary and string fields the same. This means that 
> if you want to give a binary field a default value, you have to give it a 
> string. The code generated from this then tries to assign a byte array 
> variable the value of a string, which doesn't work. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to