src/java.base/share/classes/java/security/acl/Owner.java
changeset 47745 e6e6ed17abbe
parent 47216 71c04702a3d5
equal deleted inserted replaced
47733:fbfe06b70e16 47745:e6e6ed17abbe
    35  * argument to the constructor of the class implementing this interface.
    35  * argument to the constructor of the class implementing this interface.
    36  *
    36  *
    37  * @since 1.1
    37  * @since 1.1
    38  * @see java.security.acl.Acl
    38  * @see java.security.acl.Acl
    39  *
    39  *
    40  * @deprecated This package has been replaced by {@code java.security.Policy}
    40  * @deprecated This class is deprecated and subject to removal in a future
    41  *      and related classes since 1.2.
    41  *     version of Java SE. It has been replaced by {@code java.security.Policy}
       
    42  *     and related classes since 1.2.
    42  */
    43  */
    43 @Deprecated(since="9")
    44 @Deprecated(since="9", forRemoval=true)
       
    45 @SuppressWarnings("removal")
    44 public interface Owner {
    46 public interface Owner {
    45 
    47 
    46     /**
    48     /**
    47      * Adds an owner. Only owners can modify ACL contents. The caller
    49      * Adds an owner. Only owners can modify ACL contents. The caller
    48      * principal must be an owner of the ACL in order to invoke this method.
    50      * principal must be an owner of the ACL in order to invoke this method.