RFR: 8356049: Need a simple way to play back a sound clip [v6]

Phil Race prr at openjdk.org
Fri May 23 22:39:57 UTC 2025


On Tue, 13 May 2025 21:28:24 GMT, Phil Race <prr at openjdk.org> wrote:

>> A simple API to replace java.applet.AudioClip
>> 
>> CSR is now created : https://bugs.openjdk.org/browse/JDK-8356200
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8356049

OK. I don't agree with some of the above, but not enough to repeat previous points.
So I've made most of the doc changes you ask for.
Take a look ASAP, and I have a question
I added text about potentially "not exiting" but I don't actually see any such problem.
Maybe its some platform thing that you've seen ?
For me, once the end of "main()" is reached the VM exits. Even if a sound is playing and looping.
And even then, are you suggesting this would block System.exit() ?
Where have you actually seen this problem or why are you sure it is a problem ?

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

PR Comment: https://git.openjdk.org/jdk/pull/24991#issuecomment-2905954203


More information about the client-libs-dev mailing list