I looked at the FastHashMap as a replacement and I have some major misgivings given the dire javadoc warnings and the equally pessimistic article they reference. I don't see a problem with using Hashtable.
- sean
PS. See below for Dick's comments
4) Consider replacing use of HashMap due to the problem that Dick hasDamn. Now you make me have to pay attention to 2 emails at once. No clue
mentioned.
which one was this though.
<snip> Hi,
I saw your posting for the FastDateFormat class and noticed that you have removed the synchronization on the getInstance method. Shouldn't you then protect the call to cInstanceCache.put by doing a clone of the Hashmap first (similar to the commons collections FastHashMap class) to make sure that this works correctly in a multi-threaded environment? Best regards, Dick Zetterberg </snip> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
