DoubleBuffer.compareTo is not anti-symmetric

Alan Bateman Alan.Bateman at Sun.COM
Tue Nov 24 03:30:32 PST 2009


Florian Weimer wrote:
> * Martin Buchholz:
>
>   
>> I can also do the minimal patch to compareTo
>> that considers NaN as greater than any other value.
>>     
>
> How do you order NaNs with different bit patterns?
>   
They are essentially collapsed to a single canonical value.

-Alan.


More information about the nio-dev mailing list