[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: UnwrapValueUnitTestCase.testCollectionUnwrap failure on

alesj do-not-reply at jboss.com
Fri Nov 21 03:58:28 EST 2008


"adrian at jboss.org" wrote : 
  | I assume you're using a WeakHashMap<ClassInfo, Map>
  | not a WeakValueHashMap as originally proposed?
  | 
This was already originally proposed. ;-)
"alesj" wrote : 
  | -   protected Map<ClassLoader, Map<String, Map<BeanAccessMode, BeanInfo>>> cache = new WeakHashMap<ClassLoader, Map<String, Map<BeanAccessMode, BeanInfo>>>();
  | +   protected Map<ClassInfo, Map<BeanAccessMode, BeanInfo>> cache = new WeakHashMap<ClassInfo, Map<BeanAccessMode, BeanInfo>>();
  | 
But it was more by luck then intention. :-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191144#4191144

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191144



More information about the jboss-dev-forums mailing list