RFR : 8023395 : (xs) Remove sun.misc.Sort and sun.misc.Compare

Mike Duigou Mike.Duigou at oracle.com
Wed Aug 21 18:33:52 UTC 2013

Hearing significant consensus to remove rather than deprecate these two classes I am revising this proposal remove rather than deprecate. The revised webrev (which removes the classes) is here:


I have verified that they are unused within the JDK. Mandy provided one external example that uses these classes rather than java.util.Arrays for unknown reasons. I will attempt to contact the project and advise them to switch.


On Aug 21 2013, at 11:10 , Stuart Marks wrote:

> On 8/20/13 11:27 AM, Joe Darcy wrote:
>> On 08/20/2013 11:07 AM, Mike Duigou wrote:
>>> Hello all;
>>> This is a proposal to deprecate (Any votes for outright removal?)
>> Yes; take them out!
> Me too! Just take 'em out. Unlike some other sun.misc APIs :-/ there are already suitable public alternatives for these.
> s'marks

More information about the core-libs-dev mailing list