Re: Sort and Java 1.7

2012-09-12 Thread Armando Blancas
You must be referring to the detection of contract violations. It shouldn't be an issue; on the contrary, that seems useful info. And those who depend on legacy or third-party code can always stick to the old behavior. Area: API: Utilities Synopsis: Updated sort behavior for Arrays and Collectio

Re: Sort and Java 1.7

2012-09-12 Thread Alan Malloy
Vote to close as "not a real question". The signature of java.util.Collections/sort hasn't changed since 1.5, when generics were introduced, and it should still be basically compatible with what it was when it was introduced in 1.2. On Wednesday, September 12, 2012 5:54:22 AM UTC-7, Canonical.C

Sort and Java 1.7

2012-09-12 Thread Canonical.Chris
Clojure's sort just trampolines down to the Java sort implementation. Between 1.6 and 1.7, the Java guys have really cracked down on the interface that people must satisfy with their comparators. LISP is much looser with its sorting requirements. I just wanted to know how people felt about thes