diff options
| author | Weijun Wang <weijun@openjdk.org> | 2021-06-02 11:57:31 +0000 |
|---|---|---|
| committer | Weijun Wang <weijun@openjdk.org> | 2021-06-02 11:57:31 +0000 |
| commit | 6765f902505fbdd02f25b599f942437cd805cad1 (patch) | |
| tree | 10f17ab758cb026fc868edf607f64a879e216a45 /src/java.base/share/classes/java/security/AccessControlException.java | |
| parent | 19450b99512ce4ad4ab41be5034806e2c9dbcd59 (diff) | |
| download | openjdk-6765f902505fbdd02f25b599f942437cd805cad1.tar.gz openjdk-6765f902505fbdd02f25b599f942437cd805cad1.zip | |
8266459: Implement JEP 411: Deprecate the Security Manager for Removaljdk-17+25
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
Diffstat (limited to 'src/java.base/share/classes/java/security/AccessControlException.java')
| -rw-r--r-- | src/java.base/share/classes/java/security/AccessControlException.java | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
