Change of default behavior of When
nlisker at gmail.com
Fri Jun 29 22:02:25 UTC 2018
The class javafx.beans.binding.When is using eager evaluation of its
arguments . Kevin and I discussed the idea of changing this default
behavior to the more intuitive lazy evaluation as done in a simple ternary
expression. This is a potentially breaking change for current code that
(for some reason) relies on both values being evaluated regardless of the
condition's value. This behavior is not documented.
If anyone has any reservations, please voice them over the next few days.
More information about the openjfx-dev