Author: heiko.braun(a)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(a)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;
}