RFR: 8314755: Resource leak: SwingWorker listener keeps strong reference to executor
Sergey Bylokhov
serb at openjdk.org
Fri Sep 8 15:28:02 UTC 2023
On Sun, 30 Jul 2023 12:50:58 GMT, Christopher Sahnwaldt <duke at openjdk.org> wrote:
> In https://github.com/openjdk/jdk/commit/b8af3d50192f8bc98d83f8102f0fd1989f302e32 the weak reference was accidentally changed from a field to a local variable, which means that the PropertyChangeListener keeps a strong reference to executorService, which is a resource leak
Is it possible to cover this change with the new test?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15081#issuecomment-1679923547
More information about the client-libs-dev
mailing list