I'm extending MarshallInputStream at the moment for experimenting with some class loader swapping while unmarshalling objects.
The idea is that I override resolveClass(ObjectStream) and use for some special cases a different class loader than the one passed in at construction time (has something to do with unmarshalling service discovery events). While extending MarshallInputStream I noticed that I have to supply some properties to the superclass constructor that are final but not accessible from a subclass while I do need them. The solution is simple, I just duplicate them in my subclass but I wonder why defaultLoader, verifyCodebaseIntegrity, verifierLoader and context were not made protected here as I need to supply them to the super class anyway. -- Mark
