You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Manish Shah (JIRA)" <ji...@apache.org> on 2008/06/19 02:35:46 UTC

[jira] Resolved: (THRIFT-28) Thrift generated classes dont implement TBase

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

Manish Shah resolved THRIFT-28.
-------------------------------

    Resolution: Fixed

this was an issue with an older compiler..it works in trunk.

> Thrift generated classes dont implement TBase
> ---------------------------------------------
>
>                 Key: THRIFT-28
>                 URL: https://issues.apache.org/jira/browse/THRIFT-28
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Java)
>            Reporter: Manish Shah
>
> When i ran thrift -java myfile.thrift, the classes generated for the structs i defined do not implement TBase.  I believe this is a bug because when i was trying to Deserialize them, i was continuing to get an error when trying to compile my class that is attempting to deserialize a byte array into a empty instance of that class.
> After adding TBase to the list of interfaces the class implements, it worked.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.