|
Quick Lists
|
|
Bug ID:
|
6513571
|
|
Votes
|
0
|
|
Synopsis
|
SPEC: FormatConversionProvider.get{...}Encodings methods should be allowed to return empty array
|
|
Category
|
java:classes_sound
|
|
Reported Against
|
|
|
Release Fixed
|
7(b20),
6-open(b02) (Bug ID:2152948)
|
|
State
|
10-Fix Delivered,
request for enhancement
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
6521840
|
|
Submit Date
|
16-JAN-2007
|
|
Description
|
Spec for getSourceEncodings and getTargetEncodings methods of javax.sound.sampled.spi.FormatConversionProvider class should allow to return empty arrays (arrays of length 0).
Current spec says: "The array will always have a length of at least 1."
This definition is fine for pure-java conversion probiders, but it's is very inconvenient for providers which doesn't implement convertor by itself, but is wrapper for external convertor. In case external provider is not available (for example some library is not installed), current spec force conversion provider to implement some fake convertor (for example convertor which just keep audio formats)
Posted Date : 2007-01-16 16:23:37.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
should be fixed. The fix will allow implement Windows ACM converter provider without fake providers
Posted Date : 2007-01-16 17:07:44.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |