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

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

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4f9358c  FELIX-6318: Fix tiny thread safety bug in BundleWiringImpl::getClassLoader
     new 494ec53  Merge pull request #41 from rhernandez35/master
4f9358c is described below

commit 4f9358c8e3ed5f933c126a6c502bcf1bbdba1535
Author: Richard Hernandez <ri...@amazon.com>
AuthorDate: Thu Aug 6 19:22:22 2020 -0700

    FELIX-6318: Fix tiny thread safety bug in BundleWiringImpl::getClassLoader
---
 .../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 fa1f729..70eb50a 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;
         }