JDK-8047222 : Test closed/javax/sound/sampled/Clip/bug6251460.java fails if run with 32-bit java on Windows 64-bit host
Type:Bug
Component:client-libs
Sub-Component:javax.sound
Affected Version:7u60,8u25,9
Priority:P4
Status:Resolved
Resolution:Fixed
OS:linux,windows
CPU:x86_64
Submitted:2014-06-18
Updated:2020-10-12
Resolved:2016-04-21
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.
Testsuite name: Regression
Test name: closed/javax/sound/sampled/Clip/bug6251460.java
JDK tested: 7u66 b13, 7u60 b03 32-bit
OS tested: Windows 7 x64
Not a regression
Comments
- 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
To reproduce use 32-bit JDK on a 64-bit Windows host.
18-06-2014
#section:main
----------messages:(3/110)----------
command: main bug6251460
reason: User specified action: run main bug6251460
elapsed time (seconds): 0.181
----------System.out:(2/64)----------
00:00:00.001 OS: Windows 8.1 - OK
00:00:00.001 Arch: x86 - OK
----------System.err:(15/1182)----------
java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian is supported.
at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:476)
at bug6251460.test(bug6251460.java:56)
at bug6251460.main(bug6251460.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian is supported.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian is supported.