You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ha...@apache.org on 2002/04/06 23:29:23 UTC

cvs commit: jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/server/impl/adapters InvocationHandlerAdapter.java

hammant     02/04/06 13:29:23

  Modified:    altrmi/src/java/org/apache/excalibur/altrmi/server/impl/adapters
                        InvocationHandlerAdapter.java
  Log:
  
  
  Revision  Changes    Path
  1.2       +7 -2      jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/server/impl/adapters/InvocationHandlerAdapter.java
  
  Index: InvocationHandlerAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/server/impl/adapters/InvocationHandlerAdapter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InvocationHandlerAdapter.java	3 Apr 2002 11:29:55 -0000	1.1
  +++ InvocationHandlerAdapter.java	6 Apr 2002 21:29:23 -0000	1.2
  @@ -54,7 +54,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class InvocationHandlerAdapter extends PublicationAdapter
           implements AltrmiInvocationHandler
  @@ -255,7 +255,12 @@
               }
   
               AltrmiSession sess = (AltrmiSession) mSessions.get(gcr.getSession());
  -
  +            if (sess == null) {
  +                System.out.println("DEBUG- GC on missing session -" + gcr.getSession());
  +            }
  +            if (gcr.getReferenceID() == null) {
  +                System.out.println("DEBUG- GC on missing referenceID -" + gcr.getReferenceID());
  +            }
               sess.removeBeanInUse(gcr.getReferenceID());
   
               MethodInvocationHandler methodInvocationHandler =
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>