提交 c7f2fddf 编写于 作者: M michaelm

6728076: Test case for 6536211 is failing on all platforms

Summary: exception needed to be caught and logged
Reviewed-by: chegar
上级 538fefe7
...@@ -349,10 +349,8 @@ class ServerImpl implements TimeSource { ...@@ -349,10 +349,8 @@ class ServerImpl implements TimeSource {
} }
} }
} }
} catch (CancelledKeyException e) { } catch (Exception e) {
logger.log (Level.FINER, "Dispatcher (3)", e); logger.log (Level.FINER, "Dispatcher (3)", e);
} catch (IOException e) {
logger.log (Level.FINER, "Dispatcher (4)", e);
} }
} }
} }
...@@ -364,10 +362,10 @@ class ServerImpl implements TimeSource { ...@@ -364,10 +362,10 @@ class ServerImpl implements TimeSource {
Exchange t = new Exchange (chan, protocol, conn); Exchange t = new Exchange (chan, protocol, conn);
executor.execute (t); executor.execute (t);
} catch (HttpError e1) { } catch (HttpError e1) {
logger.log (Level.FINER, "Dispatcher (5)", e1); logger.log (Level.FINER, "Dispatcher (4)", e1);
conn.close(); conn.close();
} catch (IOException e) { } catch (IOException e) {
logger.log (Level.FINER, "Dispatcher (6)", e); logger.log (Level.FINER, "Dispatcher (5)", e);
conn.close(); conn.close();
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册