JDK-6574989 : TEST_BUG: javax/sound/sampled/Clip/bug5070081.java fails sometimes
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 6,6u3,7,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows,windows_vista
  • CPU: generic,x86
  • Submitted: 2007-06-28
  • Updated: 2020-10-12
  • Resolved: 2017-03-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 8 JDK 9 Other
10Fixed 8u270Fixed 9 b166Fixed openjdk8u272Fixed
Related Reports
Duplicate :  
Relates :  
Description
Regression test javax/sound/sampled/Clip/bug5070081.java fails sometimes on windows platforms (both i586 and amd64)
Looks like test has too strong restrictions for latency (50ms)

another issue:
in rare case line 57:
  while(clip.isRunning());                    // wait for the sound to finish
steals all CPU resources and it caused "timeout" error

Comments
Adding comment on behalf of Jonathan Dowland who is not an OpenJDK Author (yet): Fix Request (8u): Please approve backporting this to jdk8u. This is a test-only change, for parity with Oracle 8u271. The original patch applies clean to jdk8-dev/jdk.
04-08-2020

RULE "javax/sound/sampled/Clip/bug5070081.java" Exception java.lang.RuntimeException: Test FAILED.
20-07-2016

RULE closed/javax/sound/sampled/Clip/bug5070081.java Exception java.lang.Thread.State: WAITING (on object monitor) RULE closed/javax/sound/sampled/Clip/bug5070081.java StatusError Program `...' timed out! RULE closed/javax/sound/sampled/Clip/bug5070081.java Timeout none
29-03-2015

RULE closed/javax/sound/sampled/Clip/bug5070081.java Exception java.lang.RuntimeException: Test FAILED. Failed with 7u79
03-03-2015

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

EVALUATION CR 6801206 should be resolved before (it also causes the test failure)
14-02-2011

EVALUATION this is test issue the test should be corrected
28-06-2007