8157730: Mark deprecated java.security.{Identity,IdentityScope,Signer} APIs with forRemoval=true

Reviewed-by: mullan
This commit is contained in:
Vinnie Ryan 2016-07-01 22:55:26 +01:00
parent 7f9465ef15
commit dc536f2d74
3 changed files with 21 additions and 15 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2015, 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
@ -52,11 +52,12 @@ import java.util.*;
*
* @author Benjamin Renaud
* @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}.
* replaced by {@link java.security.KeyStore}, the
* {@link java.security.cert} package, and
* {@link java.security.Principal}.
* This class is subject to removal in a future version of Java SE.
*/
@Deprecated
@Deprecated(since="1.2", forRemoval=true)
public abstract class Identity implements Principal, Serializable {
/** use serialVersionUID from JDK 1.1.x for interoperability */

View File

@ -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
@ -57,11 +57,15 @@ import java.util.Properties;
* @author Benjamin Renaud
*
* @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}.
* replaced by {@link java.security.KeyStore}, the
* {@link java.security.cert} package, and
* {@link java.security.Principal}.
* This class is subject to removal in a future version of Java SE.
*
* Note that the security property {@code policy.ignoreIdentityScope}
* is only applicable to these APIs and is also a candidate for removal.
*/
@Deprecated
@Deprecated(since="1.2", forRemoval=true)
public abstract
class IdentityScope extends Identity {

View File

@ -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
@ -40,11 +40,12 @@ import java.io.*;
* @author Benjamin Renaud
*
* @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}.
* replaced by {@link java.security.KeyStore}, the
* {@link java.security.cert} package, and
* {@link java.security.Principal}.
* This class is subject to removal in a future version of Java SE.
*/
@Deprecated
@Deprecated(since="1.2", forRemoval=true)
public abstract class Signer extends Identity {
private static final long serialVersionUID = -1763464102261361480L;