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

Michael Strauß mstrauss at openjdk.org
Thu Jul 7 00:40:06 UTC 2022


On Wed, 6 Jul 2022 22:24:36 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> You mean by `Disposer` something like `com.sun.prism.impl.Disposer`? I see that it has a `ReferenceQueue` in it, so I'm guessing that's the mechanism you are referring to. How would you want this triggered? I think a thread blocking on the queue might be best.
> 
> I think this is a very nice idea to potentially tackle this problem.

We already have `com.sun.javafx.property.adapter.Disposer`, which polls a `ReferenceQueue` on a separate thread. It's used for JavaBean properties.

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

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


More information about the openjfx-dev mailing list