RFR: 8252374: Add a new factory method to concatenate a sequence of BodyPublisher instances into a single publisher. [v6]
Pavel Rappo
prappo at openjdk.java.net
Mon Oct 5 11:12:37 UTC 2020
On Mon, 5 Oct 2020 11:02:55 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Daniel, I believe Chris' concern is the escape of `this` before the (`AggregateSubscription`) object is fully
>> constructed.
>
> Sorry - where does it escape? It doesn't escape anywhere. We have used this idiom everywhere where a sequential
> scheduler was needed.
Right here:
scheduler = SequentialScheduler.synchronizedScheduler(this::run);
^
-------------
PR: https://git.openjdk.java.net/jdk/pull/57
More information about the net-dev
mailing list