From 6765f902505fbdd02f25b599f942437cd805cad1 Mon Sep 17 00:00:00 2001 From: Weijun Wang Date: Wed, 2 Jun 2021 11:57:31 +0000 Subject: 8266459: Implement JEP 411: Deprecate the Security Manager for Removal Co-authored-by: Sean Mullan Co-authored-by: Lance Andersen Co-authored-by: Weijun Wang Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea --- .../share/classes/java/security/AccessControlException.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/java.base/share/classes/java/security/AccessControlException.java') diff --git a/src/java.base/share/classes/java/security/AccessControlException.java b/src/java.base/share/classes/java/security/AccessControlException.java index 2cfaea23763..9181f2de8fb 100644 --- a/src/java.base/share/classes/java/security/AccessControlException.java +++ b/src/java.base/share/classes/java/security/AccessControlException.java @@ -39,8 +39,14 @@ package java.security; * @author Li Gong * @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 class AccessControlException extends SecurityException { @java.io.Serial -- cgit v1.3.1