Author jsaiz
Recipients jsaiz
Date 2016-03-10.10:44:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
PyObject implements Serializable, but it does not define a serialVersionUID.

As its serialized form has changed and the serialVersionUID is automatically generated, PyObject or any subclass serialized with Jython 2.5 is no longer readable with Jython 2.7.

Possibly adding this explicit serialVersionUID to PyObject in Jython 2.7 could solve the issue:

private static final long serialVersionUID = -5518487409570819225L;

We could not try it because org.python.core.PyObject is a special class in the sense that it needs to be compiled with a custom compiler that takes into account annotations to generate auxiliary classes.

Any fix or workaround would be welcome.
Date User Action Args
2016-03-10 10:44:13jsaizsetrecipients: + jsaiz
2016-03-10 10:44:13jsaizsetmessageid: <>
2016-03-10 10:44:13jsaizlinkissue2483 messages
2016-03-10 10:44:13jsaizcreate