提交 8d0068c5 编写于 作者: S sjiang

8038940: c.s.j.r.i.ClientNotifForwarder$LinearExecutor

Reviewed-by: dfuchs, jbachorik
上级 4665aae5
......@@ -787,6 +787,14 @@ public abstract class ClientNotifForwarder {
if (!reconnected) {
try {
NotificationResult nr = fetchNotifs(-1, 0, 0);
if (state != STOPPED) { // JDK-8038940
// reconnection must happen during
// fetchNotifs(-1, 0, 0), and a new
// thread takes over the fetching job
return;
}
clientSequenceNumber = nr.getNextSequenceNumber();
} catch (ClassNotFoundException e) {
// can't happen
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册