RFR : 8023395 : (xs) Deprecate sun.misc.Sort and sun.misc.Compare
mandy.chung at oracle.com
Tue Aug 20 20:38:28 UTC 2013
FWIW. From the maven artifacts I looked at last year (essentially ran
jdeps), there is only one reference to these 2 sun.misc classes:
On 8/20/2013 12:33 PM, Alan Bateman wrote:
> On 20/08/2013 19:07, Mike Duigou wrote:
>> Hello all;
>> This is a proposal to deprecate (Any votes for outright removal?)
> No objection to deprecating it but I assume anyone compiling against
> it is seeing a warning already (because it's a JDK internal class).
> We've historically being cautious about removing classes from sun.misc
> (as we know there is code that ignores the warnings). So I would at
> least do a quick check to see if there is anything obvious using it.
> One other thing is that this isn't the only orphan in sun.misc. Some
> time ago I created JDK-6852936 with a list of classes that aren't
> used. I wasn't brave enough at the time to try to remove them.
>> two classes in the private sun.misc package. These are ancient
>> vestigial classes who's usage has long been eliminated in the JDK in
>> favour of java.util.Arrays.sort(T, Comparator) and
>> java.util.Arrays.sort(T, int start, int end, Comparator).
More information about the core-libs-dev