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

javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java fails

XMLWordPrintable

      javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java

      This test was introduced in JDK-8167435, it fails (reproducible) with IllegalArgumentException

      #section:main
      ----------messages:(4/187)----------
      command: main OpenNonIntegralNumberOfSampleframes
      reason: Assumed action based on file name: run main OpenNonIntegralNumberOfSampleframes
      Mode: othervm
      elapsed time (seconds): 0.458
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(15/1429)----------
      java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian is supported.
      at javax.sound.sampled.AudioSystem.getLine(java.desktop@9-ea/AudioSystem.java:426)
      at javax.sound.sampled.AudioSystem.getClip(java.desktop@9-ea/AudioSystem.java:462)
      at OpenNonIntegralNumberOfSampleframes.main(OpenNonIntegralNumberOfSampleframes.java:86)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:537)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian is supported.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian is supported.

            serb Sergey Bylokhov
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: