7009998: JMX synchronization during connection restart is faulty

Add a return statement after the re-connecting has finished and the state is CONNECTED

Reviewed-by: sjiang
This commit is contained in:
Jaroslav Bachorik 2012-12-20 17:24:56 +04:00 committed by Dmitry Samersoff
parent bba9907d2a
commit 199a9c32b2
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ excludes=\
com/sun/jmx/snmp/
jtreg.tests=\
com/sun/jmx/ \
com/sun/management/ \
java/lang/management/ \
javax/management/

View File

@ -115,6 +115,7 @@ public abstract class ClientCommunicatorAdmin {
// restarted is failed by another thread
throw ioe;
}
return;
} else {
state = RE_CONNECTING;
lock.notifyAll();