[jbossws-commits] JBossWS SVN: r3830 - trunk/integration/spi/src/main/java/org/jboss/ws/integration.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Mon Jul 9 13:01:33 EDT 2007


Author: heiko.braun at jboss.com
Date: 2007-07-09 13:01:33 -0400 (Mon, 09 Jul 2007)
New Revision: 3830

Modified:
   trunk/integration/spi/src/main/java/org/jboss/ws/integration/URLLoaderAdapter.java
Log:
svn merge -r 3763:3764 https://svn.jboss.org/repos/jbossws/branches/jbossws-2.0

Modified: trunk/integration/spi/src/main/java/org/jboss/ws/integration/URLLoaderAdapter.java
===================================================================
--- trunk/integration/spi/src/main/java/org/jboss/ws/integration/URLLoaderAdapter.java	2007-07-09 16:58:25 UTC (rev 3829)
+++ trunk/integration/spi/src/main/java/org/jboss/ws/integration/URLLoaderAdapter.java	2007-07-09 17:01:33 UTC (rev 3830)
@@ -29,12 +29,11 @@
 import java.net.URL;
 import java.net.URLClassLoader;
 
-import org.jboss.ws.integration.UnifiedVirtualFile;
-
 /**
- * The default file adapter loads resources through an associated classloader.
- * If no classload is set, the the thread context classloader will be used.
+ * Load resources through a URLClassLoader.<br>
+ * NOTE: The associated classloader doesn't do parent delegation.
  *
+ *
  * @author Heiko.Braun at jboss.org
  * @since 25.01.2007
  */
@@ -118,8 +117,7 @@
    {
       if (loader == null)
       {
-         ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
-         loader = new URLClassLoader(new URL[]{rootURL}, ctxLoader);
+         loader = new URLClassLoader(new URL[]{rootURL});
       }
       return loader;
    }




More information about the jbossws-commits mailing list