|
Quick Lists
|
|
Bug ID:
|
4921049
|
|
Votes
|
0
|
|
Synopsis
|
REGRESSION: JCK1.5-runtime api/javax_sound/sampled/Line/index.html#Line fails
|
|
Category
|
java:classes_sound
|
|
Reported Against
|
tiger
|
|
Release Fixed
|
1.5(tiger-b24)
|
|
State
|
10-Fix Delivered,
Verified,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
4918787
,
4934240
,
4932835
|
|
Submit Date
|
11-SEP-2003
|
|
Description
|
Filed By : J2SE-SQA [j2se-tck- xxxxx@xxxxx ]
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
======================================================================
|
|
Work Around
|
N/A
|
|
Evaluation
|
xxxxx@xxxxx 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.
xxxxx@xxxxx 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.
xxxxx@xxxxx 2003-10-13
The JCK team agreed. The problem of optional controls is tracked in bug 4918787.
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |