-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
x86
-
windows_2000
Name: boT120536 Date: 04/08/2001
java version "1.3.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-beta-b15)
Java HotSpot(TM) Client VM (build 1.3.1beta-b15, mixed mode)
After calling the sound API (ie javax.sound.sampled.AudioSystem.getMixerInfo()),
the JVM doesn't exit, even if no active thread are remaining.
The following code demonstrate :
package bugreport;
public class BugReportSoundAPI {
public static void main(String[] args) {
System.out.println("main start");
javax.sound.sampled.AudioSystem.getMixerInfo();
System.out.println("main stop");
}
}
'main start' and 'main stop' appears in stdout, but the JVM doesn't exit.
(Review ID: 120120)
======================================================================
- duplicates
-
JDK-4735740 Java Sound keeps a console app from exiting because of non-daemon event thread
- Resolved
- relates to
-
JDK-5070730 REGRESSION: play method audioclip
- Resolved
-
JDK-4094337 Daemon thread created for playing .mid sounds, but not .wav
- Closed