When a UtilCache instance is created with a backing store, should it
reuse an existing disk store, or should it create a new one?  The
problem as I see it is that any previously serialized data might not
deserialize properly.  While it's possible to support differing
classes during deserialization, doing so greatly complicates each
serializable instance.

It's been my experience that classes that implement Serializable don't
fully do it correctly; they don't handle deserializable from older
versions of themselves.

So, I think that the disk store for a UtilCache instance should be
cleared when it is created.

Reply via email to