This fixes interoperability problems with Sun\s 1.5 jdk.

2005-11-15  Audrius Meskauskas  <[EMAIL PROTECTED]>

* gnu/CORBA/OrbFunctional.java (serveStep):
Returning ensure that the socket is closed.
Index: gnu/CORBA/OrbFunctional.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/CORBA/OrbFunctional.java,v
retrieving revision 1.3
diff -u -r1.3 OrbFunctional.java
--- gnu/CORBA/OrbFunctional.java        10 Nov 2005 07:52:55 -0000      1.3
+++ gnu/CORBA/OrbFunctional.java        15 Nov 2005 20:17:12 -0000
@@ -1612,6 +1612,18 @@
         // TODO log it.
         return;
       }
+    finally
+      {
+        try 
+          {
+            if (service!=null && !service.isClosed())
+              service.close();
+          }
+        catch (IOException ioex)
+          {
+            // OK.
+          }
+      }
   }
   
   /**
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to