This is an automated email from the ASF dual-hosted git repository.

pauls pushed a commit to branch connect
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/connect by this push:
     new 9e7d459  [PATCH] FELIX-6318: Fix tiny thread safety bug in  
BundleWiringImpl::getClassLoader
9e7d459 is described below

commit 9e7d459619bb63852541458edefa3a76453607a5
Author: Karl Pauls <[email protected]>
AuthorDate: Wed Sep 16 18:22:01 2020 +0200

    [PATCH] FELIX-6318: Fix tiny thread safety bug in
     BundleWiringImpl::getClassLoader
    
    Co-authored-by: Richard Hernandez <[email protected]>
---
 .../src/main/java/org/apache/felix/framework/BundleWiringImpl.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/framework/src/main/java/org/apache/felix/framework/BundleWiringImpl.java 
b/framework/src/main/java/org/apache/felix/framework/BundleWiringImpl.java
index ecd2e50..15ae43d 100644
--- a/framework/src/main/java/org/apache/felix/framework/BundleWiringImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/BundleWiringImpl.java
@@ -711,7 +711,7 @@ public class BundleWiringImpl implements BundleWiring
     private ClassLoader getClassLoaderInternal()
     {
         ClassLoader classLoader = m_classLoader;
-        if (m_classLoader != null)
+        if (classLoader != null)
         {
             return classLoader;
         }

Reply via email to