On Fri, 9 May 2025 20:54:46 GMT, Phil Race <p...@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
src/java.desktop/share/classes/javax/sound/SoundClip.java line 63: > 61: public static SoundClip createSoundClip(File file) throws IOException > { > 62: if (file == null) { > 63: throw new IllegalArgumentException("file must not be null"); Most of the APIs in javax.sound.* throw NullPointerException for null arguments and IllegalArgumentException for other invalid parameters. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2087471460