-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.2
-
x86
-
windows_2000
Name: iaR10016 Date: 12/02/2002
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b08
(passes with JDK1.4.2-b07)
JCK : JCK1.4a-runtime
Platform[s] : Windows 2000
(passes on Windows 98, Windows NT)
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling tests : api/javax_sound/sampled/Mixer/index.html#getSourceLines
[getSourceLines001, getSourceLines002]
JCK1.4a-runtime api/javax_sound/sampled/Mixer/index.html#getSourceLines test fails on JDK1.4.2-b08
on Windows 2000 with "pcm format has NOT_SPECIFIED field" error message.
The test passes on my Windows 98 and Windows NT systems.
Test source location:
=====================
/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/javax_sound/sampled/Mixer/getSourceLinesTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/jck14a/win32/win2000_client_UseParallelGC_linux-2/workDir/api/javax_sound/sampled/Mixer/index_getSourceLines.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
-- script start ---
#!/bin/bash
JCK="c:/jck1.4a/JCK-runtime-14a"
JDK="c:/j2sdk1.4.2"
export CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"
$JDK/bin/java $switches javasoft.sqe.tests.api.javax.sound.sampled.Mixer.getSourceLinesTests -TestCaseID getSourceLines001 getSourceLines002
--- script end ---
Test output:
============
====== getSourceLines001 ======
## Unexpected Exception was thrown by Line.open():
# Line = com.sun.media.sound.MixerSourceLine@186d4c1
java.lang.IllegalArgumentException: pcm format has NOT_SPECIFIED field
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:96)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:137)
at javasoft.sqe.tests.api.javax.sound.sampled.Mixer.getSourceLinesTests.openLine(getSourceLinesTests.java:81)
at javasoft.sqe.tests.api.javax.sound.sampled.Mixer.getSourceLinesTests.getSourceLines001(getSourceLinesTests.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.javax.sound.sampled.Mixer.getSourceLinesTests.main(getSourceLinesTests.java:105)
getSourceLines001: Failed.
====== getSourceLines002 ======
## Unexpected Exception was thrown by Line.open():
# Line = com.sun.media.sound.MixerSourceLine@fd13b5
java.lang.IllegalArgumentException: pcm format has NOT_SPECIFIED field
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:96)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:137)
at javasoft.sqe.tests.api.javax.sound.sampled.Mixer.getSourceLinesTests.openLine(getSourceLinesTests.java:81)
at javasoft.sqe.tests.api.javax.sound.sampled.Mixer.getSourceLinesTests.getSourceLines002(getSourceLinesTests.java:411)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.javax.sound.sampled.Mixer.getSourceLinesTests.main(getSourceLinesTests.java:105)
getSourceLines002: Failed.
STATUS:Failed.test cases: 2; all failed; first test case failure: getSourceLines001
Specific machine info:
======================
Hostname: linux-2
OS: Windows 2000 Pro
======================================================================
- duplicates
-
JDK-4783180 REGRESSION JCK1.4a api/javax_sound/sampled/LineListener/index.html#LineListener
- Closed