[jbossws-commits] JBossWS SVN: r3764 - branches/jbossws-2.0/integration/spi/src/main/java/org/jboss/ws/integration.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Fri Jun 29 09:28:36 EDT 2007


Author: heiko.braun at jboss.com
Date: 2007-06-29 09:28:36 -0400 (Fri, 29 Jun 2007)
New Revision: 3764

Modified:
   branches/jbossws-2.0/integration/spi/src/main/java/org/jboss/ws/integration/URLLoaderAdapter.java
Log:
Eliminate parent delegation with URLLoaderAdapter

Modified: branches/jbossws-2.0/integration/spi/src/main/java/org/jboss/ws/integration/URLLoaderAdapter.java
===================================================================
--- branches/jbossws-2.0/integration/spi/src/main/java/org/jboss/ws/integration/URLLoaderAdapter.java	2007-06-29 13:26:16 UTC (rev 3763)
+++ branches/jbossws-2.0/integration/spi/src/main/java/org/jboss/ws/integration/URLLoaderAdapter.java	2007-06-29 13:28:36 UTC (rev 3764)
@@ -29,8 +29,6 @@
 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.
@@ -118,8 +116,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