On Thu, 14 Jul 2022 14:48:14 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:
> This is an initial (incomplete) implementation of 8290037 for evaluation. > > If the approach is agreed, I will modify the rest of the `*PropertyBase` > classes which use weak listeners, and add some tests. > > I didn't use `Cleaner` because cleaning up a listener may block. If we go this route it warrants updates to the API docs to describe the behavioral changes being introduced. Specifically, the synchronizing of the add / remove listener methods and any changes to the lifecycle of the bindings. ------------- PR: https://git.openjdk.org/jfx/pull/827