changeset 6306:42ee6b6ad373

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
author jbachorik
date Fri, 21 Dec 2012 09:27:37 +0100
parents 60adb69bf043
children 86c10d1484e9
files src/share/classes/com/sun/jmx/remote/internal/ClientCommunicatorAdmin.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/jmx/remote/internal/ClientCommunicatorAdmin.java	Thu Dec 20 20:11:45 2012 -0800
+++ b/src/share/classes/com/sun/jmx/remote/internal/ClientCommunicatorAdmin.java	Fri Dec 21 09:27:37 2012 +0100
@@ -196,7 +196,7 @@
                     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);