8175094: Mark the deprecated java.security.acl APIs with forRemoval=true
Reviewed-by: weijun
This commit is contained in:
parent
2245db7522
commit
b4a427a82b
@ -84,11 +84,13 @@ import java.security.Principal;
|
||||
* @author Satish Dharmaraj
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This package has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
*/
|
||||
|
||||
@Deprecated(since="9")
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
@SuppressWarnings("removal")
|
||||
public interface Acl extends Owner {
|
||||
|
||||
/**
|
||||
|
@ -52,10 +52,12 @@ import java.security.Principal;
|
||||
* @author Satish Dharmaraj
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This package has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
@SuppressWarnings("removal")
|
||||
public interface AclEntry extends Cloneable {
|
||||
|
||||
/**
|
||||
|
@ -32,10 +32,11 @@ package java.security.acl;
|
||||
* @author Satish Dharmaraj
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This package has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
public class AclNotFoundException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = 5684295034092681791L;
|
||||
|
@ -41,10 +41,11 @@ import java.security.Principal;
|
||||
* @author Satish Dharmaraj
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This package has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
public interface Group extends Principal {
|
||||
|
||||
/**
|
||||
|
@ -34,10 +34,11 @@ package java.security.acl;
|
||||
* @author Satish Dharmaraj
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This package has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
public class LastOwnerException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -5141997548211140359L;
|
||||
|
@ -33,10 +33,11 @@ package java.security.acl;
|
||||
* @author Satish Dharmaraj
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This package has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
public class NotOwnerException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -5555597911163362399L;
|
||||
|
@ -37,10 +37,12 @@ import java.security.Principal;
|
||||
* @since 1.1
|
||||
* @see java.security.acl.Acl
|
||||
*
|
||||
* @deprecated This package has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
@SuppressWarnings("removal")
|
||||
public interface Owner {
|
||||
|
||||
/**
|
||||
|
@ -33,10 +33,11 @@ package java.security.acl;
|
||||
* @author Satish Dharmaraj
|
||||
* @since 1.1
|
||||
*
|
||||
* @deprecated This package has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
* @deprecated This class is deprecated and subject to removal in a future
|
||||
* version of Java SE. It has been replaced by {@code java.security.Policy}
|
||||
* and related classes since 1.2.
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
public interface Permission {
|
||||
|
||||
/**
|
||||
|
@ -27,7 +27,8 @@
|
||||
* The classes and interfaces in this package have been deprecated. New
|
||||
* classes should not be added to this package. The {@code java.security}
|
||||
* package contains suitable replacements. See {@link java.security.Policy}
|
||||
* and related classes for details.
|
||||
* and related classes for details. This package is subject to removal in a
|
||||
* future version of Java SE.
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user