incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r928036 - /incubator/aries/trunk/jpa/jpa-container-context/src/main/java/org/apache/aries/jpa/container/context/impl/GlobalPersistenceManager.java
Date Fri, 26 Mar 2010 20:01:10 GMT
Author: gawor
Date: Fri Mar 26 20:01:09 2010
New Revision: 928036

URL: http://svn.apache.org/viewvc?rev=928036&view=rev
Log:
avoid NPE at shutdown

Modified:
    incubator/aries/trunk/jpa/jpa-container-context/src/main/java/org/apache/aries/jpa/container/context/impl/GlobalPersistenceManager.java

Modified: incubator/aries/trunk/jpa/jpa-container-context/src/main/java/org/apache/aries/jpa/container/context/impl/GlobalPersistenceManager.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/jpa/jpa-container-context/src/main/java/org/apache/aries/jpa/container/context/impl/GlobalPersistenceManager.java?rev=928036&r1=928035&r2=928036&view=diff
==============================================================================
--- incubator/aries/trunk/jpa/jpa-container-context/src/main/java/org/apache/aries/jpa/container/context/impl/GlobalPersistenceManager.java
(original)
+++ incubator/aries/trunk/jpa/jpa-container-context/src/main/java/org/apache/aries/jpa/container/context/impl/GlobalPersistenceManager.java
Fri Mar 26 20:01:09 2010
@@ -147,7 +147,7 @@ public class GlobalPersistenceManager im
                 System.identityHashCode(frameworkBundle)});
           }
           removeManager = true;
-          managers.remove(bundle);
+          manager = managers.remove(bundle);
           bundle.getBundleContext().removeBundleListener(this);
         }
       }



Mime
View raw message