Hi Kathy,
Kathy:
There is one tiny special case that may have even been fixed, but I haven't checked. The implementation class returned from a call to the values() method on Hashtable (and I think HashMap too), used to return a collection of objects that is NOT itself Serializable! This would fail even *if* only Serializable things were in the collection. The values() method, remember, returns a list of the values (rather than a map of the key/value pairs) from the map.
I'didn't know it, I just checked and ... you're right (as usual

).
Maps values() is implemented in AbstractMap and its implementation consists of returning an anonymous class extending AbstractCollection which itself is *not* serializable.
Now the issue is easy to solve:
If one needs to write this:
writing this instead:
solves the problem.
Thank you for having pointed that problem out, Kathy!
Best regards,
Phil.
PS: You cannot imagine how much I regret to not be living in the Michigan...
