RFR: 8157707: Deprecate the java.security.Certificate API with forRemoval=true

Xuelei Fan Xuelei.Fan at Oracle.Com
Fri Jul 1 12:20:10 UTC 2016


looks fine to me.

Xuelei

> On Jul 1, 2016, at 8:08 PM, Sean Mullan <sean.mullan at oracle.com> wrote:
> 
> Please review the changes for this RFE to mark the java.security.Certificate API with forRemoval=true. The intention is to remove this API in JDK 10.
> 
> The java.security.Certificate API has been deprecated since 1.2 and has been superseded by java.security.cert.Certificate and related classes since 1.2. It is no longer necessary to retain this class.
> 
> --- a/src/java.base/share/classes/java/security/Certificate.java    Wed Jun 15 14:21:24 2016 +0200
> +++ b/src/java.base/share/classes/java/security/Certificate.java    Fri Jul 01 08:07:25 2016 -0400
> @@ -60,9 +60,10 @@
>  *             This Certificate interface is entirely deprecated and
>  *             is here to allow for a smooth transition to the new
>  *             package.
> + *             This class is subject to removal in a future version of Java SE.
>  * @see java.security.cert.Certificate
>  */
> - at Deprecated
> + at Deprecated(since="1.2", forRemoval=true)
> public interface Certificate {
> 
> --Sean




More information about the security-dev mailing list