RFR: 8273138: BidirectionalBinding fails to observe changes of invalid properties

Michael Strauß mstrauss at openjdk.java.net
Tue Sep 7 12:40:44 UTC 2021


On Tue, 7 Sep 2021 10:53:48 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

> There's an ongoing discussion about the eager evaluation of invalidation listeners in the [mailing list](http://mail.openjdk.java.net/pipermail/openjfx-dev/2021-September/031801.html). Its conclusion might affect this patch, I didn't look at this one closely.

The discussion is about whether adding a listener should validate the property. With this fix, both properties are validated in all relevant code paths, so it doesn't matter whether or not any of the properties is validated by adding an invalidation listener.

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

PR: https://git.openjdk.java.net/jfx/pull/614


More information about the openjfx-dev mailing list