[jboss-cvs] JBossAS SVN: r95655 - projects/jboss-classpool/trunk/src/main/java/org/jboss/classpool/plugins/as5/jbosscl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 28 00:44:21 EDT 2009
Author: flavia.rainone at jboss.com
Date: 2009-10-28 00:44:21 -0400 (Wed, 28 Oct 2009)
New Revision: 95655
Modified:
projects/jboss-classpool/trunk/src/main/java/org/jboss/classpool/plugins/as5/jbosscl/JBossClDelegatingClassPoolFactory.java
Log:
[JBREFLECT-65] The hack was not fully working.
Modified: projects/jboss-classpool/trunk/src/main/java/org/jboss/classpool/plugins/as5/jbosscl/JBossClDelegatingClassPoolFactory.java
===================================================================
--- projects/jboss-classpool/trunk/src/main/java/org/jboss/classpool/plugins/as5/jbosscl/JBossClDelegatingClassPoolFactory.java 2009-10-28 04:43:54 UTC (rev 95654)
+++ projects/jboss-classpool/trunk/src/main/java/org/jboss/classpool/plugins/as5/jbosscl/JBossClDelegatingClassPoolFactory.java 2009-10-28 04:44:21 UTC (rev 95655)
@@ -127,6 +127,11 @@
{
ClassLoader loader = RegisterModuleCallback.CLASSLOADERS.get(domain.getParent().toString()).get();
ClassPool parentPool = ClassPoolRepository.getInstance().registerClassLoader(loader);
+ if (parentPool == null)
+ {
+ poolDomain = new JBossClClassPoolDomain(domain.getName(), parentPoolDomain, domain.getParentPolicy(), registry);
+ }
+ else
poolDomain = new JBossClClassPoolDomain(domain.getName(), parentPool, domain.getParentPolicy(), registry);
}
catch(NullPointerException npe)
More information about the jboss-cvs-commits
mailing list