Message10812
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:13 | jsaiz | set | recipients:
+ jsaiz |
2016-03-10 10:44:13 | jsaiz | set | messageid: <1457606653.76.0.776308394974.issue2483@psf.upfronthosting.co.za> |
2016-03-10 10:44:13 | jsaiz | link | issue2483 messages |
2016-03-10 10:44:13 | jsaiz | create | |
|