Figure out how to deal with serialization incompatibilities
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MUGLE |
New
|
High
|
Unassigned |
Bug Description
I just spent awhile trying to deal with a student project that was using the wrong serialization ID for java.util.Vector. This was raising exceptions:
com.google.
Currently, the MUGLE server appears to be using serialization ID for Vector: 3057315478
This student's code (which I compiled last night using Eclipse) has serialization ID for Vector: 3125574444
Hence the exception. I must have a different version of GWT in my Eclipse since I compiled the student code with Eclipse and MUGLE with Ant. It doesn't seem to be a problem for primitive types; probably the Vector signature was explicitly changed. But that's beside the point: the point is that this sort of thing is going to happen a lot if we have students compiling code using different versions of GWT to MUGLE.
We need to find a way to deal with these issues. This also ties in with the fact that using java.io.
Confirmed: Recompiling the student code with Eclipse on a different machine fixed the issue. (But again, not the point.)