mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8175091: Mark the deprecated java.security.{Certificate,Identity,IdentityScope,Signer} APIs with forRemoval=true
Reviewed-by: weijun
This commit is contained in:
parent
2245db7522
commit
525a4b1977
4 changed files with 22 additions and 20 deletions
|
@ -57,13 +57,12 @@ import java.util.Date;
|
|||
*
|
||||
* @author Benjamin Renaud
|
||||
* @since 1.1
|
||||
* @deprecated A new certificate handling package is created in the Java platform.
|
||||
* This Certificate interface is entirely deprecated and
|
||||
* is here to allow for a smooth transition to the new
|
||||
* package.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by
|
||||
* {@code java.security.cert.Certificate} and related classes.
|
||||
* @see java.security.cert.Certificate
|
||||
*/
|
||||
@Deprecated(since="1.2")
|
||||
@Deprecated(since="1.2", forRemoval=true)
|
||||
public interface Certificate {
|
||||
|
||||
/**
|
||||
|
|
|
@ -52,12 +52,13 @@ import java.util.*;
|
|||
*
|
||||
* @author Benjamin Renaud
|
||||
* @since 1.1
|
||||
* @deprecated This class is no longer used. Its functionality has been
|
||||
* replaced by {@code java.security.KeyStore}, the
|
||||
* {@code java.security.cert} package, and
|
||||
* {@code java.security.Principal}.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by
|
||||
* {@code java.security.KeyStore}, the {@code java.security.cert} package,
|
||||
* and {@code java.security.Principal}.
|
||||
*/
|
||||
@Deprecated(since="1.2")
|
||||
@Deprecated(since="1.2", forRemoval=true)
|
||||
@SuppressWarnings("removal")
|
||||
public abstract class Identity implements Principal, Serializable {
|
||||
|
||||
/** use serialVersionUID from JDK 1.1.x for interoperability */
|
||||
|
|
|
@ -57,12 +57,13 @@ import java.util.Properties;
|
|||
* @author Benjamin Renaud
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This class is no longer used. Its functionality has been
|
||||
* replaced by {@code java.security.KeyStore}, the
|
||||
* {@code java.security.cert} package, and
|
||||
* {@code java.security.Principal}.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by
|
||||
* {@code java.security.KeyStore}, the {@code java.security.cert} package,
|
||||
* and {@code java.security.Principal}.
|
||||
*/
|
||||
@Deprecated(since="1.2")
|
||||
@Deprecated(since="1.2", forRemoval=true)
|
||||
@SuppressWarnings("removal")
|
||||
public abstract
|
||||
class IdentityScope extends Identity {
|
||||
|
||||
|
|
|
@ -40,12 +40,13 @@ import java.io.*;
|
|||
* @author Benjamin Renaud
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This class is no longer used. Its functionality has been
|
||||
* replaced by {@code java.security.KeyStore}, the
|
||||
* {@code java.security.cert} package, and
|
||||
* {@code java.security.Principal}.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by
|
||||
* {@code java.security.KeyStore}, the {@code java.security.cert} package,
|
||||
* and {@code java.security.Principal}.
|
||||
*/
|
||||
@Deprecated(since="1.2")
|
||||
@Deprecated(since="1.2", forRemoval=true)
|
||||
@SuppressWarnings("removal")
|
||||
public abstract class Signer extends Identity {
|
||||
|
||||
private static final long serialVersionUID = -1763464102261361480L;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue