Title: Java serialization problem
Type: Severity: major
Components: Core Versions: 2.5b1
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: pjenvey Nosy List: pjenvey, sergei175
Priority: Keywords:

Created on 2009-03-22.02:09:25 by sergei175, last changed 2009-03-27.23:22:12 by pjenvey.

File name Uploaded Description Edit Remove sergei175, 2009-03-22.02:09:24 Jython code with serialization
msg4326 (view) Author: Sergei (sergei175) Date: 2009-03-22.02:09:24
I've noticed that some of my scripts are broken when using Jython
2.5beta4. It worked fine for Jython 2.2.2. I cannot now deserialize 
a list with Java objects inside. The example script is in attachment.
It gives an error on line 19:

Traceback (most recent call last): ,   File, line 20, in
<module> ,     list =fin.readObject(); , AttributeError: javapackage
object has no attribute java.util.Date , 

If this a feature of v2.5 rather than a bug, I would be intrested to
know how can I serialize/deserialize  a list of Java objects.
msg4327 (view) Author: Philip Jenvey (pjenvey) Date: 2009-03-22.02:40:39
I likely broke this when we fixed builtin type name values to be fully 
msg4362 (view) Author: Philip Jenvey (pjenvey) Date: 2009-03-27.23:22:11
fixed in r6112, thanks
Date User Action Args
2009-03-27 23:22:12pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg4362
2009-03-22 02:40:39pjenveysetmessages: + msg4327
2009-03-22 02:38:16pjenveysetassignee: pjenvey
nosy: + pjenvey
2009-03-22 02:09:25sergei175create