RFR: 8318204: Use new EventTarget methods in ListenerHelper

Andy Goryachev angorya at openjdk.org
Tue Oct 17 14:29:44 UTC 2023


On Tue, 17 Oct 2023 04:46:12 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> As of OpenJFX 21, `EventTarget` has methods to add and remove event listeners.
> The `instanceof` checks in `com.sun.javafx.scene.control.ListenerHelper` should be removed and replaced by a simple call to the respective interface method.

🕶 looks good, thanks!

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

Marked as reviewed by angorya (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1262#pullrequestreview-1682519588


More information about the openjfx-dev mailing list