Author: rickhall
Date: Fri Jul 25 11:47:43 2008
New Revision: 679877

URL: http://svn.apache.org/viewvc?rev=679877&view=rev
Log:
Fixed a bug where the m_revisions array was not being correctly rolled back
after a bundle update throws an exception. (FELIX-647)

Modified:
    
felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java

Modified: 
felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java
URL: 
http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java?rev=679877&r1=679876&r2=679877&view=diff
==============================================================================
--- 
felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java
 (original)
+++ 
felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java
 Fri Jul 25 11:47:43 2008
@@ -762,6 +762,7 @@
 
         BundleRevision[] tmp = new BundleRevision[m_revisions.length - 1];
         System.arraycopy(m_revisions, 0, tmp, 0, m_revisions.length - 1);
+        m_revisions = tmp;
 
         return true;
     }


Reply via email to