RFR(m): 8145468 deprecations for java.lang

Alan Bateman Alan.Bateman at oracle.com
Thu Apr 14 14:54:04 UTC 2016

On 14/04/2016 02:50, Stuart Marks wrote:
> Hi all,
> Please review this first round of deprecation changes for the 
> java.lang package. This changeset includes the following:
>  - a set of APIs being newly deprecated
>  - a set of already-deprecated APIs that are "upgraded" to 
> forRemoval=true
>  - addition of the "since" element to all deprecations
>  - cleanup of some of the warnings caused by new deprecations
> Webrevs:
>   http://cr.openjdk.java.net/~smarks/reviews/8145468/webrev.0.jdk/
> http://cr.openjdk.java.net/~smarks/reviews/8145468/webrev.0.langtools/
>   http://cr.openjdk.java.net/~smarks/reviews/8145468/webrev.0.top/
This looks good. There are a few more in SecurityManager where 
forRemoval=true might be appropriate but it would take effort to dig 
into all that. The methods where you've added it make sense, these are 
exactly the SecurityManager methods that have been degraded over several 


More information about the core-libs-dev mailing list