RFR: 8319779: SystemMenu: memory leak due to listener never being removed [v11]

Johan Vos jvos at openjdk.org
Tue Mar 5 08:20:03 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:

  Update modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/GlassSystemMenu.java
  
  Co-authored-by: John Hendrikx <john.hendrikx+github at gmail.com>

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1283/files
  - new: https://git.openjdk.org/jfx/pull/1283/files/ec7308df..c2fb8b1b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1283&range=10
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1283&range=09-10

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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