Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Please add the property java.util.Arrays.useLegacyMergeSort to the list of secure properties. This would allow smoother migration from 6 to 7 http://www.oracle.com/technetwork/java/javase/compatibility-417013.html Area: API: Utilities Synopsis: Updated sort behavior for Arrays and Collections may throw an IllegalArgumentException Description: The sorting algorithm used by java.util.Arrays.sort and (indirectly) by java.util.Collections.sort has been replaced. The new sort implementation may throw an IllegalArgumentException if it detects a Comparable that violates the Comparable contract. The previous implementation silently ignored such a situation. If the previous behavior is desired, you can use the new system property, java.util.Arrays.useLegacyMergeSort, to restore previous mergesort behavior. Nature of Incompatibility: behavioral RFE: 6804124
|