On Mon, 27 Mar 2023 14:24:42 GMT, John Hendrikx <[email protected]> wrote:

> BitSet uses the SetListenerHelper abstraction to prevent allocating the 
> listener arrays.
> 
> When removing listeners, the newly returned listener helper (which may be 
> different from the one called) is not reassigned. This effectively means that 
> removing the listener does not happen.
> 
> This fix correctly assigns the potentially changed SetListenerHelper instance 
> to BitSet's helper field after listener removal.

This pull request has now been integrated.

Changeset: 53959421
Author:    John Hendrikx <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/5395942174073f25a7fa8f6ccf2fb4dc6604133a
Stats:     252 lines in 3 files changed: 249 ins; 0 del; 3 mod

8304933: BitSet (used for CSS pseudo class states) listener management is 
incorrect

Reviewed-by: kcr, mstrauss

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

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

Reply via email to