JDK-8023395 : Remove sun.misc.Sort and sun.misc.Compare
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-08-20
  • Updated: 2013-09-09
  • Resolved: 2013-08-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8 b106Fixed
It is entirely replaceable with java.util.Arrays.sort(T[], int from, int to, Comparator)

There are no current usages of this class in JDK.
Per corelibs-dev discussion this issue has been converted to removal rather than deprecation

Do we need to go through the trouble of deprecating this? Since it's a sun.misc API maybe we can just remove it outright.

Add deprecation comment @deprecated Use {@link java.util.Arrays.sort(Object[], int start, int end, Comparator c)} instead.

See JDK-6852936 for the more general bug to remove unused sun.misc classes.