Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4435394

Sound API prevent JVM from exiting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs



      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)
      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: