Integrated: 8365569: Remove finalize from JavaSoundAudioClip.java

Phil Race prr at openjdk.org
Fri Sep 5 17:48:22 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.

This pull request has now been integrated.

Changeset: a17058b5
Author:    Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a17058b5bb2dcc89ed276600ceac905e7e986426
Stats:     848 lines in 2 files changed: 455 ins; 360 del; 33 mod

8365569: Remove finalize from JavaSoundAudioClip.java

Reviewed-by: kizune, tr

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

PR: https://git.openjdk.org/jdk/pull/26784


More information about the client-libs-dev mailing list