I'm trying to read/write data to a file using writeObject and
readObject. When I read back my data, the data is there but objects
in ArrayCollections (or more specifically, the source arrays) are
not cast back to their appropriate object type. I'd prefer not to
have to go through each object in an array manually and cast them,
but is there a work around for this or is this a bug?