You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/12/17 20:01:44 UTC

[jira] Created: (THRIFT-234) Can't assign binary fields default values

Can't assign binary fields default values
-----------------------------------------

                 Key: THRIFT-234
                 URL: https://issues.apache.org/jira/browse/THRIFT-234
             Project: Thrift
          Issue Type: Bug
          Components: Compiler (Java)
            Reporter: Bryan Duxbury
            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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.