RFR Collector.finisher refers to IDENTITY_TRANSFORM rather than INDENTITY_FINISH
Tagir F. Valeev
amaembo at gmail.com
Thu Jul 30 16:25:21 UTC 2015
Hello!
Seems that you have an extra parenthesis here:
diff -r 4e3135fac8cc src/java.base/share/classes/java/util/stream/SliceOps.java
--- a/src/java.base/share/classes/java/util/stream/SliceOps.java Fri Jul 24 15:33:13 2015 -0700
+++ b/src/java.base/share/classes/java/util/stream/SliceOps.java Thu Jul 30 17:05:13 2015 +0200
@@ -138,7 +138,7 @@
skip, limit, size);
}
else {
- // @@@ OOMEs will occur for LongStream.longs().filter(i -> true).limit(n)
+ // @@@ OOMEs will occur for LongStream.range(0, Long.MAX_VALUE)).filter(i -> true).limit(n)
Should be
+ // @@@ OOMEs will occur for LongStream.range(0, Long.MAX_VALUE).filter(i -> true).limit(n)
With best regards,
Tagir Valeev.
More information about the core-libs-dev
mailing list