[
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.