提交 27268cdb 编写于 作者: C chegar

7105929: java/util/concurrent/FutureTask/BlockingTaskExecutor.java fails on solaris sparc

Reviewed-by: dholmes
上级 5708b521
......@@ -75,10 +75,10 @@ public class BlockingTaskExecutor {
throw new Error("Executor stuck");
// Wait for the invocation thread to complete.
thread.join(1000);
thread.join(5000);
if (thread.isAlive()) {
thread.interrupt();
thread.join(1000);
thread.join(5000);
throw new Error("invokeAll stuck");
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册