On Wed, 8 Nov 2023 17:15:11 GMT, Rémi Forax <fo...@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

Reply via email to