tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r1098005 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
Date Fri, 29 Apr 2011 22:56:10 GMT
Author: hlship
Date: Fri Apr 29 22:56:10 2011
New Revision: 1098005

URL: http://svn.apache.org/viewvc?rev=1098005&view=rev
Log:
TAP5-853: Use correct class loader hierarchy to prevent ClassCastExceptions

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java?rev=1098005&r1=1098004&r2=1098005&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java
Fri Apr 29 22:56:10 2011
@@ -132,10 +132,10 @@ public final class ComponentInstantiator
      */
     private void initializeService()
     {
-        classFactory = new ClassFactoryImpl(parent, logger);
-
         manager = new PlasticManager(parent, this, controlledPackageNames);
 
+        classFactory = new ClassFactoryImpl(manager.getClassLoader(), logger);
+
         proxyFactory = new PlasticProxyFactoryImpl(classFactory, manager.getClassLoader());
 
         classToInstantiator.clear();



Mime
View raw message