RFR: 8344397: Remove Security Manager dependencies from java.security and sun.security packages [v6]

Roger Riggs rriggs at openjdk.org
Mon Dec 2 21:03:39 UTC 2024


On Mon, 2 Dec 2024 20:59:53 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.
>
> Sean Mullan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove trailing whitespace.

Marked as reviewed by rriggs (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/22418#pullrequestreview-2473915833


More information about the security-dev mailing list