7146162: javax/management/remote/mandatory/connection/BrokenConnectionTest.java failing intermittently

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
This commit is contained in:
Jaroslav Bachorik 2012-12-21 09:27:37 +01:00 committed by Jaroslav Bachorik
parent 1fd4da4d29
commit ad4080a20a

@ -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);