RFR: 8252374: Add a new factory method to concatenate a sequence of BodyPublisher instances into a single publisher. [v6]
Daniel Fuchs
dfuchs at openjdk.java.net
Mon Oct 5 11:05:37 UTC 2020
On Mon, 5 Oct 2020 10:14:57 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
>> Scheduler is a final variable in `AggregateSubscription`. Fixed to:
>>
>> ` this.scheduler = ....;`
>>
>> (though the `this.` is not strictly needed in this third instantiation)
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/57
More information about the net-dev
mailing list