On Fri, 16 May 2025 18:26:47 GMT, Phil Race <p...@openjdk.org> wrote:
>>> * Each time this method is called, the clip is restarted from the >>> beginning. >> Note that calls within 30 ms are ignored: >> https://github.com/openjdk/jdk/blob/2c4e8d211a030c85488e656a9a851d10dd0f9c11/src/java.desktop/share/classes/com/sun/media/sound/JavaSoundAudioClip.java#L158 > > I don't think any of the above requires changes. Still, it's worth making some arguments: - Why are all these methods marked as synchronized? - Why don't we want to specify that the application will be blocked from exiting if sound is playing? especially if loop() was called. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2093667050