[cp-patches] Re: Collections.binarySearch and poorly written comparators

2005-12-24 Thread Tom Tromey
Jeroen == Jeroen Frijters [EMAIL PROTECTED] writes: Jeroen Seeing as we've already run into this twice, I've written a patch and Jeroen corresponding Mauve test and I'm going to commit it unless someone Jeroen complains with a valid argument. What, we're lazy isn't valid? :-) Please check it

Re: Collections.binarySearch and poorly written comparators

2005-12-20 Thread Tom Tromey
Jim == Jim Murphy [EMAIL PROTECTED] writes: Jim The bad comparator implementation assumes that o1 is a Foo and o2 Jim is a Bar. This works when running on the Sum JRE Jim implementation of Ccollections.binarySearch but fails with the Jim CLASSPATH's implementation because the types are