Integrated: 8344397: Remove Security Manager dependencies from java.security and sun.security packages
Sean Mullan
mullan at openjdk.org
Mon Dec 2 21:33:52 UTC 2024
On Wed, 27 Nov 2024 17:51:12 GMT, Sean Mullan <mullan at openjdk.org> wrote:
> Now that JEP 486 has been integrated, `java.security` and `sun.security` implementation dependencies on `System.getSecurityManager` and `AccessController.doPrivileged` can be removed.
>
> This should cover most of the remaining cleanup in the security libraries area. A couple of the `sun.security.action` classes can't be removed yet, as well as a few constants in `sun.security.util.SecurityConstants` and internal `ProtectionDomain` methods until dependencies are removed in other areas. Some additional test cleanup can also be done later.
This pull request has now been integrated.
Changeset: 940aa7c4
Author: Sean Mullan <mullan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/940aa7c4cf1bf770690660c8bb21fb3ddc5186e4
Stats: 1622 lines in 45 files changed: 185 ins; 1215 del; 222 mod
8344397: Remove Security Manager dependencies from java.security and sun.security packages
Reviewed-by: rriggs, hchao, weijun, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/22418
More information about the security-dev
mailing list