changeset 14931:3ab835bb3771

8157707: Deprecate the java.security.Certificate API with forRemoval=true Reviewed-by: xuelei
author mullan
date Fri, 01 Jul 2016 11:42:26 -0400
parents 2e7b1b9b4b07
children 2489316c9e36
files src/java.base/share/classes/java/security/Certificate.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/security/Certificate.java	Fri Jul 01 12:50:58 2016 +0800
+++ b/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 {
 
     /**