User: chirino 
  Date: 01/11/21 23:11:12

  Modified:    src/main/org/jboss/mq/il/uil UILServerIL.java
  Log:
  fixed a bug that was showing up in the testsuite.  Exception being thrown at 
connection close()
  
  Revision  Changes    Path
  1.5       +8 -4      jbossmq/src/main/org/jboss/mq/il/uil/UILServerIL.java
  
  Index: UILServerIL.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/uil/UILServerIL.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- UILServerIL.java  2001/09/27 04:09:36     1.4
  +++ UILServerIL.java  2001/11/22 07:11:12     1.5
  @@ -37,7 +37,7 @@
    *
    * @author    Hiram Chirino ([EMAIL PROTECTED])
    * @author    Norbert Lataille ([EMAIL PROTECTED])
  - * @version   $Revision: 1.4 $
  + * @version   $Revision: 1.5 $
    * @created   August 16, 2001
    */
   public class UILServerIL implements java.io.Serializable, Cloneable, 
org.jboss.mq.il.ServerIL
  @@ -501,9 +501,13 @@
      protected void destroyConnection()
             throws Exception
      {
  -      out.close();
  -      in.close();      
  -      // The scoket is closed by the ClientIL
  +       // This may fail as the other (muxed) stream may close the socket
  +       // before we get to close out.
  +       try {
  +           in.close();
  +           out.close();
  +           // The socket is closed by the clientILService
  +       } catch ( java.io.IOException ignore ) {}
      }
      
      /**
  
  
  

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

Reply via email to