geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r348797 - /geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
Date Thu, 24 Nov 2005 20:35:06 GMT
Author: dain
Date: Thu Nov 24 12:35:01 2005
New Revision: 348797

URL: http://svn.apache.org/viewcvs?rev=348797&view=rev
Log:
First try to use the class loader of the basic proxy manager since a generated proxy must
be able to see the
cglib class loader.

Modified:
    geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java

Modified: geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java?rev=348797&r1=348796&r2=348797&view=diff
==============================================================================
--- geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
(original)
+++ geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
Thu Nov 24 12:35:01 2005
@@ -68,6 +68,9 @@
 
         ClassLoader classLoader = type.getClassLoader();
         if(classLoader == null) {
+            classLoader = getClass().getClassLoader();
+        }
+        if(classLoader == null) {
             classLoader = ClassLoader.getSystemClassLoader();
         }
 



Mime
View raw message