RFR 8016324: filter/flatMap pipeline sinks should pass size information to downstream sink (original) (raw)
Chris Hegarty chris.hegarty at oracle.com
Wed Jun 19 10:48:23 UTC 2013
- Previous message: RFR 8016324: filter/flatMap pipeline sinks should pass size information to downstream sink
- Next message: RFR 8016324: filter/flatMap pipeline sinks should pass size information to downstream sink
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 11/06/2013 14:23, Paul Sandoz wrote:
Hi,
Please review the following patch contributed by Brian Goetz: http://cr.openjdk.java.net/~psandoz/tl/JDK-8016324-pipelines/webrev/ 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".
Makes sense to me Paul.
-Chris.
Paul.
- Previous message: RFR 8016324: filter/flatMap pipeline sinks should pass size information to downstream sink
- Next message: RFR 8016324: filter/flatMap pipeline sinks should pass size information to downstream sink
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]