Recently I used my spiffy tool TogetherControlCenter to fix collections usage throughout the code. I made attributes be of type Set where they were HashSet before. I made HashMap objects into Map objects and I made TreeSet objects into SortedSet objects and LinkedList objects into List objects.
I changed it so that the actual class types are only used in instantiation. These changes happened throughout our data model, the object representation of our database, and then I ran it through java2iiop and BOOOM.
I kept gettign errors claiming that I was missing a class and possibly had a classpath problem. I traced this back to a method that returns one of our data model objects. All of them are marked as serializable, because basically their base classes are serializable.
So, what gives ? Anyone know? Can I not use the Collection interfaces in this manner ?