[Topaz-dev] serializing Article from Session.get()

Pradeep Krishnan pradeepk at soft-point.com
Tue Mar 11 12:09:23 PDT 2008


Hi Jeff,

Pradeep Krishnan wrote:
> Hi Jeff,
> 
> Jeff Suttor wrote:
>> On 03/07/2008 05:38 PM, Pradeep Krishnan wrote:
>>> Yes, this is due to proxies.
>>> ...
>>> So what needs to be done somehow is to
>>> ensure that the proxy class somehow replaces the object that is 
>>> serialized with an instance of its super-class. The alternatives that we 
>>> could come up with all involves a copy/clone instance.
> 
> Looking further into this, the javassist proxy defines a writeReplace() 
> method that we can override. Could you try the patch I checked in with 
> r4938?
> 

Did this work for you?

Cheers,
Pradeep


More information about the Topaz-Dev mailing list