You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Greg Moulliet <gr...@conducivetech.com> on 2011/05/13 00:04:19 UTC
Thrift Generated Code and Java 5
I am currently working on a project which needs to support Thrift
clients using Java 5.
I am using Thrift 0.6.1, and the generated code has two compiler
issues with Java 5:
One issue is the @Override annotation on the clear() method.
The other issue is creating a IOException with a TException as a parameter
I've attached a patch file with changes that work in Java 5.
Thanks,
Greg Moulliet
Conducive Technology
Re: Thrift Generated Code and Java 5
Posted by Greg Moulliet <gr...@conducivetech.com>.
Thanks Jake.
I've created THRIFT-1170, but I can't seem to assign it to you.
On Fri, May 13, 2011 at 8:06 AM, Jake Farrell <jf...@apache.org> wrote:
> Greg
> please create a jira ticket for this and attach the patch for it granting asf inclusion. You can go ahead and assign the ticket to me and I will take a look at it.
>
> Thanks
> Jake
>
>
>
> On May 12, 2011, at 5:04 PM, Greg Moulliet wrote:
>
>> I am currently working on a project which needs to support Thrift
>> clients using Java 5.
>> I am using Thrift 0.6.1, and the generated code has two compiler
>> issues with Java 5:
>>
>> One issue is the @Override annotation on the clear() method.
>> The other issue is creating a IOException with a TException as a parameter
>>
>> I've attached a patch file with changes that work in Java 5.
>>
>> Thanks,
>>
>> Greg Moulliet
>> Conducive Technology
>
>
Re: Thrift Generated Code and Java 5
Posted by Jake Farrell <jf...@apache.org>.
Greg
please create a jira ticket for this and attach the patch for it granting asf inclusion. You can go ahead and assign the ticket to me and I will take a look at it.
Thanks
Jake
On May 12, 2011, at 5:04 PM, Greg Moulliet wrote:
> I am currently working on a project which needs to support Thrift
> clients using Java 5.
> I am using Thrift 0.6.1, and the generated code has two compiler
> issues with Java 5:
>
> One issue is the @Override annotation on the clear() method.
> The other issue is creating a IOException with a TException as a parameter
>
> I've attached a patch file with changes that work in Java 5.
>
> Thanks,
>
> Greg Moulliet
> Conducive Technology