RFR: 8319779: SystemMenu: memory leak due to listener never being removed [v8]
Johan Vos
jvos at openjdk.org
Thu Jan 11 11:45:02 UTC 2024
> A listener was added but never removed.
> This patch removes the listener when the menu it links to is cleared. Fix for https://bugs.openjdk.org/browse/JDK-8319779
Johan Vos has updated the pull request incrementally with one additional commit since the last revision:
Revert some of the conditional bindings.
Clear menu construction when an menuitem that is a menu needs to be removed
Add a test for the latter
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1283/files
- new: https://git.openjdk.org/jfx/pull/1283/files/703fd3c2..1ce8fe9d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1283&range=07
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1283&range=06-07
Stats: 56 lines in 2 files changed: 46 ins; 0 del; 10 mod
Patch: https://git.openjdk.org/jfx/pull/1283.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1283/head:pull/1283
PR: https://git.openjdk.org/jfx/pull/1283
More information about the openjfx-dev
mailing list