提交 4aef9ad6 编写于 作者: D dsamersoff

7009998: JMX synchronization during connection restart is faulty

Summary: add a return statement after the re-connecting has finished and the state is CONNECTED
Reviewed-by: sjiang
Contributed-by: jaroslav.bachorik@oracle.com
上级 0c612fe0
......@@ -38,6 +38,7 @@ excludes=\
com/sun/jmx/snmp/
jtreg.tests=\
com/sun/jmx/ \
com/sun/management/ \
java/lang/management/ \
javax/management/
......
......@@ -115,6 +115,7 @@ public abstract class ClientCommunicatorAdmin {
// restarted is failed by another thread
throw ioe;
}
return;
} else {
state = RE_CONNECTING;
lock.notifyAll();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册