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

Fix for #1741

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