Comparators.NullComparator equals/hashCode

Ivan Gerasimov ivan.gerasimov at oracle.com
Thu Feb 19 08:43:40 UTC 2015


Hi John!

Your request was moved to the JDK project in jbs: 
https://bugs.openjdk.java.net/browse/JDK-8073332

Personally, I don't think this has to be implemented.  Please see my 
comment at the bug page.
Other people may think oppositely, so I didn't close the request.

Sincerely yours,
Ivan


On 16.02.2015 7:25, John S. Adair wrote:
> I just filed a bug report with Oracle (Review ID: JI-9019070) requesting that Comparators.NullComparator
> implement equals and hashCode in a manner analogous to Collections.ReverseComparator2. It occurred
> to me that my bug report failed to mention the (hopefully obvious) behavior regarding the nullsFirst flag.
>
> Is this the right place to ask about the likelihood of action being taken on the bug/RFE?
>
>
>




More information about the core-libs-dev mailing list