RFR: JDK-8319123 : Implementation of JEP-461: Stream Gatherers (Preview) [v3]
Viktor Klang
vklang at openjdk.org
Fri Nov 10 22:10:14 UTC 2023
On Wed, 8 Nov 2023 17:15:11 GMT, Rémi Forax <forax at openjdk.org> wrote:
>> @amaembo In this case, given that it is intended as Preview, I think it makes sense to receive some user feedback on this. Note that Collector has been without PECS for Collector.of since 1.8: [of](https://docs.oracle.com/javase/8/docs/api/java/util/stream/Collector.html#of-java.util.function.Supplier-java.util.function.BiConsumer-java.util.function.BinaryOperator-java.util.function.Function-java.util.stream.Collector.Characteristics...-)
>>
>> Right now I don't want to deviate from the Collector-heritage until there's more usage feedback, and I'm definitely not ruling out that PECS:ing the factories might be worth it.
>
> I don't see the point of waiting here. Usually requests for PECSing signatures always comes two or three years after the API is realing when people starts to use the API in anger so the preview time is likely not enough.
Postponing such a change as candidate for a potential second preview.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1389967686
More information about the core-libs-dev
mailing list