RFR: 8365569: Remove finalize from JavaSoundAudioClip.java

Tejesh R tr at openjdk.org
Tue Sep 2 08:38:43 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.

src/java.desktop/share/classes/com/sun/media/sound/JavaSoundAudioClipDelegate.java line 2:

> 1: /*
> 2:  * Copyright (c) 1999, 2025, Oracle and/or its affiliates. All rights reserved.

Suggestion:

 * Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.

I hope it was copy paste error.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26784#discussion_r2315345165


More information about the client-libs-dev mailing list