RFR: 8365569: Remove finalize from JavaSoundAudioClip.java

Alexander Zuev kizune at openjdk.org
Thu Aug 28 16:46:42 UTC 2025


On Thu, 14 Aug 2025 17:27:09 GMT, Phil Race <prr at openjdk.org> wrote:

> This refactors com/sun/media/sound/JavaSoundAudioClip.java so that most of the implementation is in a delegate
> com/sun/media/sound/JavaSoundAudioClipDelegate.java
> 
> Then a disposer can be used to free the audio resources held by the delegate when the JavaSoundAudioClip becomes unreachable.

LGTM

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

Marked as reviewed by kizune (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26784#pullrequestreview-3165685165


More information about the client-libs-dev mailing list