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

javax/sound/midi/Sequencer/SetTickPosition.java fails intermittently

    XMLWordPrintable

    Details

      Description

      javax/sound/midi/Sequencer/SetTickPosition.java fails intermittently:

      ----------System.out:(49/1134)----------
      Getting Sequencer...got com.sun.media.sound.RealTimeSequencer@4ff296fa
      Opening Sequencer...
      theSequencer is open!

      Creating New Sequence...
      Adding Track To Sequence...
      Length Of Sequence In Ticks: 1980
      Sequence resolution: 120
      Now Setting Tick Position To: 0
      IsRunning()=true
      Now Current Tick Position Is: 0

      Now Setting Tick Position To: 198
      IsRunning()=true
      Now Current Tick Position Is: 198

      Now Setting Tick Position To: 396
      IsRunning()=true
      Now Current Tick Position Is: 396

      Now Setting Tick Position To: 594
      IsRunning()=true
      Now Current Tick Position Is: 594

      Now Setting Tick Position To: 792
      IsRunning()=true
      Now Current Tick Position Is: 792

      Now Setting Tick Position To: 990
      IsRunning()=true
      Now Current Tick Position Is: 990

      Now Setting Tick Position To: 1188
      IsRunning()=true
      Now Current Tick Position Is: 1451

      theCurrentTickPosition != theTickPosition!
      Now Setting Tick Position To: 1386
      IsRunning()=true
      Now Current Tick Position Is: 1386

      Now Setting Tick Position To: 1584
      IsRunning()=true
      Now Current Tick Position Is: 1584

      Now Setting Tick Position To: 1782
      IsRunning()=true
      Now Current Tick Position Is: 1782

      ----------System.err:(13/759)----------
      java.lang.Exception: Test FAILED
      at SetTickPosition.main(SetTickPosition.java:136)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.Exception: Test FAILED
      JavaTest Message: shutting down test

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: