Hi Mark again, > But maybe it can be made a little more efficient by not using > the old Vector and Hashtable classes all the time which seem to double > the synchronization in that class, but use an List and Map for that and > only synchronize on those when really needed.
Thinking about it, I am not sure if we can change this. At least the Hashtable is in the serialization spec for this class and changing this would cause serialization incompatibilities. The Vector looks as if we could change to an ArrayList though. OTOH, maybe we should leave the fields as they are, and remove the superfluous synchronization altogether from the class. Should also avoid redundant synchronization. Does that sound ok? /Roman
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil