RFR: 8365569: Remove finalize from JavaSoundAudioClip.java

Phil Race prr at openjdk.org
Wed Aug 20 21:00:36 UTC 2025


On Fri, 15 Aug 2025 01:32:06 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> How about modifying the listeners list implementations to store listeners using weak references instead(not sure it will be better that the current patch)? it seems current implementation can cause memory leaks?

Memory leaks ?  Where and how ? By current implementation, you mean before and after the PR ?

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

PR Comment: https://git.openjdk.org/jdk/pull/26784#issuecomment-3208069183


More information about the client-libs-dev mailing list