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

Manik Surtani msurtani at jboss.com
Fri Sep 22 04:49:00 EDT 2006


  User: msurtani
  Date: 06/09/22 04:49:00

  Modified:    src/org/jboss/cache  TreeCacheProxyImpl.java
  Log:
  Updated some failing tests
  Updated jboss serialization
  
  Revision  Changes    Path
  1.37      +4 -0      JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCacheProxyImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -b -r1.36 -r1.37
  --- TreeCacheProxyImpl.java	20 Sep 2006 16:28:58 -0000	1.36
  +++ TreeCacheProxyImpl.java	22 Sep 2006 08:49:00 -0000	1.37
  @@ -451,6 +451,10 @@
      {
         Object name = currentNode.getFqn().getLast();
         treeCache.move(newParent.getFqn(), currentNode.getFqn());
  +
  +      // does not ALWAYS work.  E.g., opt locking actually creates new nodes soold refs are stale.
  +      // old refs to childnodes will still be stale.  :S
  +      // also, if running within a tx, the peek() will return null until after commit - even worse! 
         currentNode = (NodeImpl) peek(new Fqn(newParent.getFqn(), name));
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list