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

javax/sound/sampled/Clip/SetPositionHang.java failed with "ArrayIndexOutOfBoundsException: Array index out of range: -4"

    XMLWordPrintable

    Details

      Description

      The following test failed in the JDK17 CI:

      javax/sound/sampled/Clip/SetPositionHang.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/205)----------
      command: main SetPositionHang
      reason: Assumed action based on file name: run main SetPositionHang
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 30.979
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(15/230)----------
      Thread 2 Start
      Thread 5 Start
      Thread 4 Start
      Thread 1 Start
      Thread 3 Start
      Thread 2 Finish
      Thread 3 Finish
      Thread 5 Finish
      Thread 1 Finish
      Thread 4 Finish
      Thread 1 Start
      Thread 2 Start
      Thread 3 Start
      Thread 4 Start
      Thread 5 Start
      ----------System.err:(5/429)----------
      java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -4
      at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectDL.write(DirectAudioDevice.java:696)
      at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectClip.run(DirectAudioDevice.java:1314)
      at java.base/java.lang.Thread.run(Thread.java:833)
      STATUS:Failed.`main' threw exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -4
      ----------rerun:(36/5536)*----------

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: