RFR: 8365569: Remove finalize from JavaSoundAudioClip.java

Phil Race prr at openjdk.org
Tue Sep 2 17:24:43 UTC 2025


On Tue, 2 Sep 2025 08:35:37 GMT, Tejesh R <tr 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.

No it was not an error. This is content moved from another file. Files are an artificial division. It is the same content.

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

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


More information about the client-libs-dev mailing list