JDK-4921049 : REGRESSION: JCK1.5-runtime api/javax_sound/sampled/Line/index.html#Line fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2003
  • CPU: x86
  • Submitted: 2003-09-11
  • Updated: 2003-10-28
  • Resolved: 2003-10-13
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.
Other
5.0 b24Fixed
Related Reports
Relates :  
Description

Name: kaR10181			Date: 09/11/2003



Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b18 (passes with b17)
JCK            : JCK1.5-runtime (b03)
Platform[s]    : Windows 2003
switch/Mode    : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
         api/javax_sound/sampled/Line/index.html#Line [Line2001, result]

JCK1.5-runtime api/javax_sound/sampled/Line/index.html#Line test fails with JDK1.5.0-b18

Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_sound/sampled/Line/LineTests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b18/jck15/win32/win2003_plugin_ie6.0linux-19/workDir/api/javax_sound/sampled/Line/index_Line.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables)

--- script start ---
#!/bin/bash

JCK="h:/java/jck1.5/JCK-runtime-15"
JDK="h:/java/jdk1.5.0/win32"

CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"

$JDK/bin/java -cp $CLASSPATH javasoft.sqe.tests.api.javax.sound.sampled.Line.LineTests -platform.canPlaySound false -TestCaseID ALL

--- script end ---

Test output:
============

Calling getControls():
Getting a supported control.
Unexpected return from isControlSupported( FloatControl.Type.MASTER_GAIN).  Expected true.
Trying an unsupported control.
Line2001: Failed. test failed
result: Failed. test cases: 1; all failed; first test case failure: Line2001


test result: Failed. test cases: 1; all failed; first test case failure: Line2001
Specific machine info:
======================
Hostname: linux-19
OS: Windows 2003



======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b24 tiger-beta VERIFIED IN: tiger-beta
14-06-2004

PUBLIC COMMENTS REGRESSION: JCK1.5-runtime api/javax_sound/sampled/Line/index.html#Line fails
10-06-2004

EVALUATION ###@###.### 2003-09-26 The Java Sound API does not guarantee availability of Controls for all lines. They are not available for the new direct audio drivers, but will be added before code freeze. ###@###.### 2003-10-12 There were 2 problems: 1) an early tiger build had direct drivers for Windows, but no controls. This is fixed. However, the JCK test should be modified to not fail if a control cannot be found. Direct lines in current tiger builds support controls, but not SAMPLE_RATE control. 2) current builds fail the same test with IllegalArgumentException. This is due to a bug in AudioSystem.getLine, which is fixed in response to this bug. ###@###.### 2003-10-13 The JCK team agreed. The problem of optional controls is tracked in bug 4918787.
13-10-2003