On Aug 11, 2006, at 7:36 AM, ant elder wrote:

I did wonder about this, doesn't it need to be a deep copy? I don't really understand the purpose of cacheable, but if its set on the one instance shouldn't it be also set on the clone? And do subclasses need to copy their fields? Say the RMI binding was using this abstract class should it setting
the remoteMethod field on the clone?

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()

And remember deep copy only applies to mutable objects
--
Jeremy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to