On Tue, 13 May 2025 21:00:20 GMT, Phil Race <p...@openjdk.org> wrote:

>> src/java.desktop/share/classes/javax/sound/SoundClip.java line 78:
>> 
>>> 76:      * of this class is a no-op.
>>> 77:      */
>>> 78:     public synchronized boolean canPlay() {
>> 
>> Should we perhaps document the multithreaded use of Clip? Do we really need 
>> all these synchronized keywords in the file?
>
> The API calls are best protected this way just like the ones in AudioClip 
> were. There's no advantage in removing them. I don't think there's anything 
> to document.

Hmm I did not see all this responses for yesterday...

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2093674887

Reply via email to