summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/ThreadPool.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-11-02 13:19:57 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-11-02 13:19:57 +0000
commit70cffd822958dacd163893863a7b6db74fdb14df (patch)
tree4d5c10a1fd9804f383f26c5e19bf44ff2647068b /java/src/IceInternal/ThreadPool.java
parenticeboxcslib.dll -> iceboxcs.dll, iceboxcs.exe -> iceboxnet.exe (diff)
downloadice-70cffd822958dacd163893863a7b6db74fdb14df.tar.bz2
ice-70cffd822958dacd163893863a7b6db74fdb14df.tar.xz
ice-70cffd822958dacd163893863a7b6db74fdb14df.zip
Ignore IOException calling close on socket pair write
Diffstat (limited to 'java/src/IceInternal/ThreadPool.java')
-rw-r--r--java/src/IceInternal/ThreadPool.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/java/src/IceInternal/ThreadPool.java b/java/src/IceInternal/ThreadPool.java
index 3a2585c33cf..272dcd507b5 100644
--- a/java/src/IceInternal/ThreadPool.java
+++ b/java/src/IceInternal/ThreadPool.java
@@ -276,7 +276,19 @@ public final class ThreadPool
if(_fdIntrWrite != null)
{
- _fdIntrWrite.close();
+ try
+ {
+ _fdIntrWrite.close();
+ }
+ catch(java.io.IOException ex)
+ {
+ //
+ // Ignore this execption. It can occur due to an apparent
+ // bug in the JVM on some platforms such as Linux. Calling
+ // close throws an IOException eventhough _fdIntrWrite is
+ // valid.
+ //
+ }
_fdIntrWrite = null;
}