RFR 8016324: filter/flatMap pipeline sinks should pass size information to downstream sink
mike.duigou at oracle.com
Wed Jun 19 15:49:32 UTC 2013
On Jun 11 2013, at 06:23 , Paul Sandoz wrote:
> Please review the following patch contributed by Brian Goetz:
> This syncs most of code in the pipeline implementations from lambda to tl (the remaining aspects are to do with Comparator changes which will follow later).
> This patch fixes a bug for the filter and flatMap operations, where the corresponding Sink implementations that were incorrectly reporting size to downstream Sinks. A filter or flatMap might result in the output stream containing a different number of elements to that of the input stream so we have to say to a downstream sink "I don't know what my size will be".
More information about the core-libs-dev