openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1464398 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java
Date Thu, 04 Apr 2013 09:36:01 GMT
Author: rmannibucau
Date: Thu Apr  4 09:36:01 2013
New Revision: 1464398

URL: http://svn.apache.org/r1464398
Log:
using the bean class loader to create the proxy - would probably need to be discussed, we
could need a classloader service in our spi

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java?rev=1464398&r1=1464397&r2=1464398&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java
Thu Apr  4 09:36:01 2013
@@ -115,7 +115,7 @@ public class NormalScopeProxyFactory ext
 
     public <T> T createNormalScopeProxy(Bean<T> bean)
     {
-        ClassLoader classLoader = bean.getClass().getClassLoader();
+        ClassLoader classLoader = bean.getBeanClass().getClassLoader();
 
         Class<T> classToProxy;
         if (bean instanceof OwbBean)



Mime
View raw message