[protobuf] Re: Issue 458 in protobuf: Remove clone() from all interfaces, it is wrong; make them extend Cloneable, instead.

2013-02-13 Thread protobuf
Comment #3 on issue 458 by dav.co...@gmail.com: Remove clone() from all interfaces, it is wrong; make them extend Cloneable, instead. http://code.google.com/p/protobuf/issues/detail?id=458 Also, this AbstractMessage.Builder snippet: // The compiler produces an error if this is not declared e

[protobuf] Re: Issue 458 in protobuf: Remove clone() from all interfaces, it is wrong; make them extend Cloneable, instead.

2013-02-12 Thread protobuf
Comment #2 on issue 458 by dav.co...@gmail.com: Remove clone() from all interfaces, it is wrong; make them extend Cloneable, instead. http://code.google.com/p/protobuf/issues/detail?id=458 The MessageLite.Builder already implements Cloneable, so only the removal of clone() method from all B

[protobuf] Re: Issue 458 in protobuf: Remove clone() from all interfaces, it is wrong; make them extend Cloneable, instead.

2013-02-08 Thread protobuf
Comment #1 on issue 458 by dav.co...@gmail.com: Remove clone() from all interfaces, it is wrong; make them extend Cloneable, instead. http://code.google.com/p/protobuf/issues/detail?id=458 Actually, the problem is in Java itself. The Object#clone() method declared as protected, and this cau