Skip to content

Commit

Permalink
[DELTASPIKE-771] BeanManagerProvider#getBeanManagerInfo(ClassLoader) …
Browse files Browse the repository at this point in the history
…wipes out info for parent CL
  • Loading branch information
mbenson committed Nov 7, 2014
1 parent 2041f2a commit c27d288
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -292,7 +292,7 @@ private BeanManagerInfo getBeanManagerInfo(ClassLoader cl)
{
bmi = new BeanManagerInfo();
bmpSingleton.bmInfos.put(cl, bmi);
if (cl.getParent() != null)
if (cl.getParent() != null && !bmpSingleton.bmInfos.containsKey(cl.getParent()))
{
bmpSingleton.bmInfos.put(cl.getParent(), bmi);
}
Expand Down

0 comments on commit c27d288

Please sign in to comment.