summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/ThreadPool.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-11-03 10:18:24 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-11-03 10:18:24 +0000
commitb43870ba7cb93e980d95d7dfbda21e3848750556 (patch)
tree257f32c7da67848213c77ebbf2f8d37ea9437231 /java/src/IceInternal/ThreadPool.java
parentMac OS X Fix (diff)
downloadice-b43870ba7cb93e980d95d7dfbda21e3848750556.tar.bz2
ice-b43870ba7cb93e980d95d7dfbda21e3848750556.tar.xz
ice-b43870ba7cb93e980d95d7dfbda21e3848750556.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=548
Diffstat (limited to 'java/src/IceInternal/ThreadPool.java')
-rw-r--r--java/src/IceInternal/ThreadPool.java18
1 files changed, 17 insertions, 1 deletions
diff --git a/java/src/IceInternal/ThreadPool.java b/java/src/IceInternal/ThreadPool.java
index 300c4fa8859..0a2a2f9816d 100644
--- a/java/src/IceInternal/ThreadPool.java
+++ b/java/src/IceInternal/ThreadPool.java
@@ -277,6 +277,8 @@ public final class ThreadPool
catch(java.io.IOException ex)
{
//
+ // BUGFIX:
+ //
// Ignore this exception. This shouldn't happen
// but for some reasons the close() call raises
// "java.io.IOException: Bad file descriptor" on
@@ -288,7 +290,21 @@ public final class ThreadPool
if(_fdIntrWrite != null)
{
- _fdIntrWrite.close();
+ try
+ {
+ _fdIntrWrite.close();
+ }
+ catch(java.io.IOException ex)
+ {
+ //
+ // BUGFIX:
+ //
+ // Ignore this exception. This shouldn't happen
+ // but for some reasons the close() call raises
+ // "java.io.IOException: No such file or
+ // directory" under Linux with JDK 1.4.2.
+ //
+ }
_fdIntrWrite = null;
}