RFR: 8319779: SystemMenu: memory leak due to listener never being removed [v6]
Johan Vos
jvos at openjdk.org
Tue Jan 9 13:19:53 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 two additional commits since the last revision:
- Cleanup test
- Add shim class so that we can access the references to com.sun.glass.ui.Menu instances.
Add a test to make sure those references are gone.
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1283/files
- new: https://git.openjdk.org/jfx/pull/1283/files/9b1133cd..d5a78749
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1283&range=05
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1283&range=04-05
Stats: 493 lines in 5 files changed: 317 ins; 175 del; 1 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