You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ethan Urie (JIRA)" <ji...@apache.org> on 2011/05/24 16:53:48 UTC

[jira] [Updated] (THRIFT-1180) AS3 compiler generates uncompilable code for binary types.

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

Ethan Urie updated THRIFT-1180:
-------------------------------

    Attachment: THRIFT-1180_use_ByteArray_for_binary_types.patch

> AS3 compiler generates uncompilable code for binary types.
> ----------------------------------------------------------
>
>                 Key: THRIFT-1180
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1180
>             Project: Thrift
>          Issue Type: Bug
>          Components: AS3 - Compiler
>    Affects Versions: 0.5, 0.6, 0.6.1, 0.7
>         Environment: Mac OS X 10.6.7 
>            Reporter: Ethan Urie
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: THRIFT-1180_use_ByteArray_for_binary_types.patch
>
>
> When a thrift definition file includes a field of type {{binary}} the generated code uses {{byte[]}} which is not valid AS3 (there's no byte primitive). AS3 does provide the ByteArray class which would fix this issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira