[jboss-cvs] JBossCache/src/org/jboss/cache ...

Manik Surtani msurtani at jboss.com
Thu Nov 23 13:49:38 EST 2006


  User: msurtani
  Date: 06/11/23 13:49:38

  Modified:    src/org/jboss/cache  Tag: Branch_JBossCache_1_3_0
                        TreeCache.java
  Log:
  Ported Brian's fix from Branch JBossCache_1_3_0_SP3_JBCACHE-873 (see JBCACHE-873) which fixes JBCACHE-871
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.142.2.2 +3 -2      JBossCache/src/org/jboss/cache/TreeCache.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCache.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCache.java,v
  retrieving revision 1.142.2.1
  retrieving revision 1.142.2.2
  diff -u -b -r1.142.2.1 -r1.142.2.2
  --- TreeCache.java	23 Nov 2006 18:08:22 -0000	1.142.2.1
  +++ TreeCache.java	23 Nov 2006 18:49:38 -0000	1.142.2.2
  @@ -60,7 +60,7 @@
    * @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
    * @author Brian Stansberry
    * @author Daniel Huang (dhuang at jboss.org)
  - * @version $Id: TreeCache.java,v 1.142.2.1 2006/11/23 18:08:22 msurtani Exp $
  + * @version $Id: TreeCache.java,v 1.142.2.2 2006/11/23 18:49:38 msurtani Exp $
    *          <p/>
    */
   public class TreeCache extends ServiceMBeanSupport implements TreeCacheMBean, Cloneable, MembershipListener
  @@ -4089,7 +4089,8 @@
            parent_node.setChildrenLoaded(false);
   
         // release all locks for the entire subtree
  -      n.releaseAll(tx != null ? tx : (Object) Thread.currentThread());
  +      // JBCACHE-871 -- this is not correct!  This is the lock interceptor's task
  +//      n.releaseAll(tx != null ? tx : (Object) Thread.currentThread());
   
         // create a compensating method call (reverting the effect of
         // this modification) and put it into the TX's undo list.
  
  
  



More information about the jboss-cvs-commits mailing list