<Sound Dev>  Review Request: 8168998 Incorrect implementation of equals in Encoding and Type in JavaSound
philip.race at oracle.com
Tue Nov 1 19:25:56 UTC 2016
On 11/01/2016 10:03 AM, Sergey Bylokhov wrote:
> Hello, Audio Guru.
> Please review the fix for jdk9.
> AudioFormat.Encoding(null) and AudioFIleFormat.Type(null) equal to any
> objects which return null from toString().
> Note that behavior of null in these constructors is not specified and
> can throw an exception.
> I wonder why the null is accepted in the constructors, and returns
> from the toString() method, but not sure can we change that or not,
> any thoughts?
> Bug: https://bugs.openjdk.java.net/browse/JDK-8168998
> Webrev can be found at:
More information about the sound-dev