RFR : 8023395 : (xs) Deprecate sun.misc.Sort and sun.misc.Compare
Mandy Chung
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:
http://grepcode.com/file/repo1.maven.org/maven2/net.sf.ingenias/iaf/1.3/ingenias/jade/EventPanelLogger.java
Mandy
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.
>
> -Alan
>
>
>> 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).
>>
>>
>> http://cr.openjdk.java.net/~mduigou/JDK-8023395/0/webrev/
>>
>
More information about the core-libs-dev
mailing list