RFR: 8354813: Parent.isNeedsLayout() may return wrong value in property listener

John Hendrikx jhendrikx at openjdk.org
Wed Apr 16 11:02:54 UTC 2025


On Wed, 16 Apr 2025 10:31:50 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> A listener that is added to `Parent.needsLayoutProperty()` may see a wrong value when calling `Parent.isNeedsLayout()` from the callback. The fix is to apply the value before notifying the listeners.

Looks good to me.  I didn't see anything relying on the incorrect behavior.

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

Marked as reviewed by jhendrikx (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1781#pullrequestreview-2772105948


More information about the openjfx-dev mailing list