[8u] 8160217: JavaSound should clean up resources better

Zhengyu Gu zgu at redhat.com
Tue Jun 23 01:00:03 UTC 2020


I would like to backport this patch to 8u, as Oracle 8u271 parity.

The original patch does not apply cleanly. Other than copyright line 
conflicts, following two tests [1][2] in 9u patch, do not exist in 8u.

Original bug: https://bugs.openjdk.java.net/browse/JDK-8160217
Original patch: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/3c2bb0f0f129

8u Webrev: http://cr.openjdk.java.net/~zgu/JDK-8160217-8u/webrev.00/

Test:
   javax/sound

Thanks,

-Zhengyu



[1] 
test/javax/sound/sampled/AudioInputStream/FrameLengthAfterConversion.java
[2] 
test/javax/sound/sampled/spi/AudioFileWriter/WriteUnsupportedAudioFormat.java



More information about the jdk8u-dev mailing list