diff options
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..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; } |