User: lqd     
  Date: 02/01/17 09:39:35

  Modified:    src/main/org/jboss/ejb/plugins Tag: Branch_2_4
                        AbstractInstanceCache.java
  Log:
  fix for SF bug #504895: removeLockRef() is not called when release()-ing
  the bean
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.7  +5 -1      jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java
  
  Index: AbstractInstanceCache.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java,v
  retrieving revision 1.10.2.6
  retrieving revision 1.10.2.7
  diff -u -r1.10.2.6 -r1.10.2.7
  --- AbstractInstanceCache.java        2001/12/03 21:47:55     1.10.2.6
  +++ AbstractInstanceCache.java        2002/01/17 17:39:35     1.10.2.7
  @@ -64,7 +64,7 @@
    * @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
    * @author <a href="[EMAIL PROTECTED]">Scott Stark</a>
    *
  - * @version $Revision: 1.10.2.6 $
  + * @version $Revision: 1.10.2.7 $
    *
    *   <p><b>Revisions:</b>
    *
  @@ -287,6 +287,7 @@
            if (getCache().peek(id) != null)
            {
               getCache().remove(id);
  +            getContainer().getLockManager().removeLockRef(id);
            }
            // This call, executed anyway, leaves door open to multiple scheduling
            // of the same context, which I take care in other places, in
  @@ -890,3 +891,6 @@
         return m_executed;
      }
   }
  +/*
  +vim:tabstop=3:expandtab:shiftwidth=3
  +*/
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to