[Topaz-dev] serializing Article from Session.get()
Jeff Suttor
jsuttor at plos.org
Tue Mar 11 12:17:25 PDT 2008
On 03/11/2008 12:09 PM, Pradeep Krishnan wrote:
> 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?
testing in progress ...
thanks,
--
Jeff
More information about the Topaz-Dev
mailing list