You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pa...@apache.org on 2020/09/16 16:22:27 UTC

[felix-dev] branch connect updated: [PATCH] FELIX-6318: Fix tiny thread safety bug in BundleWiringImpl::getClassLoader

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 <kp...@adobe.com>
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 <ri...@amazon.com>
---
 .../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;
         }