diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-11-03 09:42:23 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-11-03 09:42:23 +0000 |
commit | d73c5b15e0e6084147a7ad533df9ead02fca8b31 (patch) | |
tree | b878a15a53c699686f20eb5c9c3a43a154b44fe0 /java/src/IceInternal/ThreadPool.java | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=548 (diff) | |
download | ice-d73c5b15e0e6084147a7ad533df9ead02fca8b31.tar.bz2 ice-d73c5b15e0e6084147a7ad533df9ead02fca8b31.tar.xz ice-d73c5b15e0e6084147a7ad533df9ead02fca8b31.zip |
Mac OS X Fix
Diffstat (limited to 'java/src/IceInternal/ThreadPool.java')
-rw-r--r-- | java/src/IceInternal/ThreadPool.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/java/src/IceInternal/ThreadPool.java b/java/src/IceInternal/ThreadPool.java index 3a2585c33cf..300c4fa8859 100644 --- a/java/src/IceInternal/ThreadPool.java +++ b/java/src/IceInternal/ThreadPool.java @@ -270,7 +270,19 @@ public final class ThreadPool { if(_selector != null) { - _selector.close(); + try + { + _selector.close(); + } + catch(java.io.IOException ex) + { + // + // Ignore this exception. This shouldn't happen + // but for some reasons the close() call raises + // "java.io.IOException: Bad file descriptor" on + // Mac OS X 10.3.x (it works fine on OS X 10.4.x) + // + } _selector = null; } |