hg: lambda/lambda/jdk: 8009736: static Comparator methods and narrowing type support

Henry Jen henry.jen at oracle.com
Thu May 9 23:48:40 PDT 2013


On 05/09/2013 10:00 PM, Michael Hixson wrote:
> Hi Henry,
> 
> That's wonderful that null-friendly comparators are available now!
> Maybe that happened earlier and I just missed it, but it's great.
> 
> One minor detail - shouldn't NullComparator also override reverse()?
> I bet reverse() would usually come at the end of the chain, but if it
> didn't, I think you'd run into problems with this sequence of calls:
> 

Thanks for the reporting, fixed.

Cheers,
Henry



More information about the lambda-dev mailing list