8157707: Deprecate the java.security.Certificate API with forRemoval=true
authormullan
Fri, 01 Jul 2016 11:42:26 -0400
changeset 39333 78532748e54a
parent 39332 98615d275088
child 39334 e5e90a7fe509
8157707: Deprecate the java.security.Certificate API with forRemoval=true Reviewed-by: xuelei
jdk/src/java.base/share/classes/java/security/Certificate.java
--- a/jdk/src/java.base/share/classes/java/security/Certificate.java	Fri Jul 01 12:50:58 2016 +0800
+++ b/jdk/src/java.base/share/classes/java/security/Certificate.java	Fri Jul 01 11:42:26 2016 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -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
  */
-@Deprecated
+@Deprecated(since="1.2", forRemoval=true)
 public interface Certificate {
 
     /**