提交 e418eafe 编写于 作者: J jbachorik

7146162:...

7146162: javax/management/remote/mandatory/connection/BrokenConnectionTest.java failing intermittently
Summary: ClientCommunicatorAdmin should call gotIOException((IOException)e) instead of restart((IOException)e) when detecting a communication error, because the method gotIOException will send a failure notification if necessary.
Reviewed-by: emcmanus, sjiang
Contributed-by: jaroslav.bachorik@oracle.com
上级 932e5290
......@@ -196,7 +196,7 @@ public abstract class ClientCommunicatorAdmin {
if (e instanceof IOException &&
!(e instanceof InterruptedIOException)) {
try {
restart((IOException)e);
gotIOException((IOException)e);
} catch (Exception ee) {
logger.warning("Checker-run",
"Failed to check connection: "+ e);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册