< prev index next >

## src/java.base/share/classes/java/security/AccessControlContext.java

Print this page

    @@ -73,12 +73,18 @@
       *
       * @see AccessController
       *
       * @author Roland Schemers
       * @since 1.2
    +  * @deprecated This class is only useful in conjunction with
    +  *       {@linkplain SecurityManager the Security Manager}, which is deprecated
    +  *       and subject to removal in a future release. Consequently, this class
    +  *       is also deprecated and subject to removal. There is no replacement for
    +  *       the Security Manager or this class.
       */

    + @Deprecated(since="17", forRemoval=true)
      public final class AccessControlContext {

          private ProtectionDomain[] context;
          // isPrivileged and isAuthorized are referenced by the VM - do not remove
          // or change their names

< prev index next >