Re: Comparators.NullComparator equals/hashCode

2015-02-19 Thread Ivan Gerasimov
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

Comparators.NullComparator equals/hashCode

2015-02-18 Thread John S. Adair
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 nu