You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Jim King <Ji...@simplivity.com> on 2016/07/29 14:38:04 UTC

generated java classes implement Cloneable but do not define clone()?

I've got a coverity report from thrift-0.8.0 and I checked the development trunk; it looks like the generated java code indicates classes implement Cloneable but nothing defines clone().  Can someone confirm this is still an issue on the trunk?  If so, I'll file a defect if it is warranted.

[Description: Description: simplivity-lg-xsmall]
James E. King, III
Architect
8 Technology Drive, 2nd Floor
Westborough, MA 01581-1756
Ph: 855-SVT-INFO
---------------------------------------------------------------------------------------
PRIVACY STATEMENT:
This message is a PRIVATE communication.  This message and all attachments are a private communication sent by SimpliVity and are considered to be confidential or protected by privilege. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the information contained in or attached to this message is strictly prohibited.  Please notify the sender of the delivery error by replying to this message, and then delete it from your system.
---------------------------------------------------------------------------------------

Re: generated java classes implement Cloneable but do not define clone()?

Posted by Jake Farrell <jf...@apache.org>.
clone() use to be in t_java_generator.cc, was initially added in
THRIFT-138 [1], unsure why it got removed along the way

-Jake


[1]:
https://github.com/apache/thrift/commit/603d50437cbe9c76be942f863f2db9526459fce2





On Fri, Jul 29, 2016 at 10:38 AM, Jim King <Ji...@simplivity.com> wrote:

> I’ve got a coverity report from thrift-0.8.0 and I checked the development
> trunk; it looks like the generated java code indicates classes implement
> Cloneable but nothing defines clone().  Can someone confirm this is still
> an issue on the trunk?  If so, I’ll file a defect if it is warranted.
>
>
>
> [image: Description: Description: simplivity-lg-xsmall]
>
> James E. King, III
>
> Architect
>
> 8 Technology Drive, 2nd Floor
> Westborough, MA 01581-1756
>
> Ph: 855-SVT-INFO
>
>
>
>
> ------------------------------
> PRIVACY STATEMENT:
> This message is a PRIVATE communication. This message and all attachments
> are a private communication sent by SimpliVity and are considered to be
> confidential or protected by privilege. If you are not the intended
> recipient, you are hereby notified that any disclosure, copying,
> distribution or use of the information contained in or attached to this
> message is strictly prohibited. Please notify the sender of the delivery
> error by replying to this message, and then delete it from your system.
> For more information please visit http://www.simplivity.com
> ------------------------------
>