JDK-8240633 : Memory leaks in the implementations of FileChooserUI
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 11,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2020-03-05
  • Updated: 2022-06-21
  • Resolved: 2020-03-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 15 JDK 8 Other
11.0.10-oracleFixed 15 b16Fixed 8u281Fixed na,openjdk8u332Resolved
Related Reports
Duplicate :  
Relates :  
Description
Our tests in mach5 for JFileChooser sometime fails with different suspicious exceptions.
The root cause is that the Aqua UI delegates add various listeners to the JFileChooser, and never delete them.
So these Aqua related listeners may fail if current L&F was changed.

Comments
Approved. Please push to: http://hg.openjdk.java.net/jdk8u/monojdk8u-dev/
13-12-2021

Fix request (8u) Backport is requested for parity with 8u-oracle. Review approval: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-November/014420.html
15-11-2021

Fix request (11u) -- will label after testing completed. I would like to downport this for parity with 11.0.10-oracle. Applies clean except for Copyright in AquaFileChooserUI.java.
05-10-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/45273ef93e6f User: psadhukhan Date: 2020-03-22 11:49:29 +0000
22-03-2020

URL: https://hg.openjdk.java.net/jdk/client/rev/45273ef93e6f User: serb Date: 2020-03-12 22:18:18 +0000
12-03-2020

Suggested fix: http://cr.openjdk.java.net/~serb/8240633/webrev.00/
07-03-2020