openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1861623 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ProviderBasedProducer.java
Date Wed, 19 Jun 2019 13:11:31 GMT
Author: rmannibucau
Date: Wed Jun 19 13:11:31 2019
New Revision: 1861623

URL: http://svn.apache.org/viewvc?rev=1861623&view=rev
Log:
OWB-1290 use  boundary service to detect the right classloader to use by a ProviderBasedProducer

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ProviderBasedProducer.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ProviderBasedProducer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ProviderBasedProducer.java?rev=1861623&r1=1861622&r2=1861623&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ProviderBasedProducer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ProviderBasedProducer.java
Wed Jun 19 13:11:31 2019
@@ -53,7 +53,7 @@ public class ProviderBasedProducer<T> ex
             if (proxy)
             {
                 NormalScopeProxyFactory proxyFactory = webBeansContext.getNormalScopeProxyFactory();
-                ClassLoader loader = returnType.getClassLoader();
+                ClassLoader loader = webBeansContext.getApplicationBoundaryService().getBoundaryClassLoader(returnType);
                 if (loader == null)
                 {
                     loader = WebBeansUtil.getCurrentClassLoader();



Mime
View raw message