cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r450837 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java
Date Thu, 28 Sep 2006 12:32:48 GMT
Author: cziegeler
Date: Thu Sep 28 05:32:46 2006
New Revision: 450837

URL: http://svn.apache.org/viewvc?view=rev&rev=450837
Log:
Fix bug in classloader creation. Reported by Rice Yeh.

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java?view=diff&rev=450837&r1=450836&r2=450837
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/SitemapHelper.java
Thu Sep 28 05:32:46 2006
@@ -202,7 +202,7 @@
         final String factoryRole = config.getAttribute("factory-role", ClassLoaderFactory.ROLE);
 
         // Create a new classloader
-        ClassLoaderConfiguration configBean = AvalonUtils.createConfiguration(sitemapResolver,
config);
+        ClassLoaderConfiguration configBean = AvalonUtils.createConfiguration(sitemapResolver,
classPathConfig);
         ClassLoaderFactory clFactory = (ClassLoaderFactory)parentFactory.getBean(factoryRole);
         return clFactory.createClassLoader(Thread.currentThread().getContextClassLoader(),
                                            configBean,



Mime
View raw message