提交 5ce63648 authored 作者: Andrei Tokar's avatar Andrei Tokar

Fix for #1741

上级 6527d088
......@@ -265,7 +265,7 @@ public abstract class Page implements Cloneable
* recursive and needs to wait for children before returning up the call-stack, (b) checking
* the size of the thread-pool is not reliable.
*/
final List<Future<?>> futures = new ArrayList<>(len);
final List<Future<?>> futures = new ArrayList<>(len + 1);
for (int i = 0; i <= len; i++) {
final long childPagePos = buff.getLong();
for (;;) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论