RFR: 8274771: Map, FlatMap and OrElse fluent bindings for ObservableValue [v18]

Michael Strauß mstrauss at openjdk.org
Wed Jul 6 16:38:48 UTC 2022


On Wed, 6 Jul 2022 12:43:45 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> The conclusion I take from all of this is that the current implementation is fine, but we might consider a follow-up issue to clean up dead listener stubs.

It's important to realize that for `map` and `flatMap`, removing dead listeners is not an optimization like it would be for other bindings, but fundamentally changes their semantics. That's why I think we should decide how we want to handle this issue now, rather than later when the API is already out in the wild.

-------------

PR: https://git.openjdk.org/jfx/pull/675


More information about the openjfx-dev mailing list