classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI:gnu.CORBA.OrbFunctional fix.


From: Meskauskas Audrius
Subject: [cp-patches] FYI:gnu.CORBA.OrbFunctional fix.
Date: Tue, 15 Nov 2005 21:34:12 +0100
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

This fixes interoperability problems with Sun\s 1.5 jdk.

2005-11-15  Audrius Meskauskas  <address@hidden>

* 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.
+          }
+      }
   }
   
   /**

reply via email to

[Prev in Thread] Current Thread [Next in Thread]