On Thu, 30 Mar 2023 21:53:48 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:

> Fixes three issues in ExpressionHelper:
> 
> - Current Value was not retained when changing from SingleChange to Generic, 
> this can lead to missed changes
> - Current Value was not retained when changing from Generic to SingleChange, 
> this can lead to missed changes
> - Current Value was not cleared when last change listener was removed in 
> Generic variant, resulting in an older value being referenced and not 
> becoming eligible for GC until either a ChangeListener is added again, or 
> sufficient InvalidationListeners are removed to switch to the 
> SingleInvalidation implementation...

This pull request has now been integrated.

Changeset: fb63b26f
Author:    John Hendrikx <jhendr...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/fb63b26fc5fe277e5c95d16aedd7703b64fe2253
Stats:     127 lines in 2 files changed: 101 ins; 10 del; 16 mod

8224260: ChangeListener not triggered when adding a new listener in invalidated 
method

Reviewed-by: kcr, nlisker

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

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

Reply via email to