We recently encountered the problem of get() in HashMap entering an infinite loop (mentioned http://lightbody.net/blog/2005/07/ha...an_infini.html here.

This caused us to wonder about the maps generated through the MapFactoryBean, and if they could ever have a problem. I see that MFB generates LinkedHashMaps by default. Why can these safely be injected into Spring singletons? It would seem to have the same problem as any Java HashMap-type structure.