[Jboss-cvs] JBossAS SVN: r56413 - branches/MC_VDF_WORK/jmx/src/main/org/jboss/mx/loading

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 29 16:01:21 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-08-29 16:01:19 -0400 (Tue, 29 Aug 2006)
New Revision: 56413

Modified:
   branches/MC_VDF_WORK/jmx/src/main/org/jboss/mx/loading/UnifiedLoaderRepositoryDCL.java
Log:
Fix loadClass circular behavior

Modified: branches/MC_VDF_WORK/jmx/src/main/org/jboss/mx/loading/UnifiedLoaderRepositoryDCL.java
===================================================================
--- branches/MC_VDF_WORK/jmx/src/main/org/jboss/mx/loading/UnifiedLoaderRepositoryDCL.java	2006-08-29 19:56:42 UTC (rev 56412)
+++ branches/MC_VDF_WORK/jmx/src/main/org/jboss/mx/loading/UnifiedLoaderRepositoryDCL.java	2006-08-29 20:01:19 UTC (rev 56413)
@@ -202,13 +202,12 @@
       return (Class) classes.get(classname);
    }
 
-   /** Unlike other implementations of LoaderRepository, this method does
-    * nothing but ask the DomainClassLoaderUCLImpl to load the class as UCL3s
-    * do not use this method.
+   /** Calls loadClassFromClassLoader(name, resolve, cl)
     */
-   public Class loadClass(String name, boolean resolve, DomainClassLoader cl) throws ClassNotFoundException
+   public Class loadClass(String name, boolean resolve, DomainClassLoader cl)
+      throws ClassNotFoundException
    {
-      return cl.loadClass(name);
+      return this.loadClassFromClassLoader(name, resolve, cl);
    }
 
    /** Called by LoadMgr to obtain all class loaders for the given className




More information about the jboss-cvs-commits mailing list