Message4486

Author chupym
Recipients chupym
Date 2009-04-08.12:35:54
SpamBayes Score 3.88045e-07
Marked as misclassified No
Message-id <1239194154.59.0.0112385465362.issue1311@psf.upfronthosting.co.za>
In-reply-to
Content
envoirement:
-define a python class that extends a simple Java class.
-serialize an instance of the defined class
-reload the module or the class, trigerring a new proxy creation
-deserialize
result:
when you try to deserialize u will get an exception telling you that the
serialVersionUID is incompatible, this is the result of creating the new
proxy class that has a new name. In the class MakeProxies there is a
static proxy counter, removing that and keeping the same name for the
reloaded class resolved the problem.
History
Date User Action Args
2009-04-08 12:35:54chupymsetrecipients: + chupym
2009-04-08 12:35:54chupymsetmessageid: <1239194154.59.0.0112385465362.issue1311@psf.upfronthosting.co.za>
2009-04-08 12:35:54chupymlinkissue1311 messages
2009-04-08 12:35:54chupymcreate