Now that JEP 486 has been integrated, `java.security.KeyStore` and `Identity` API and impl dependencies on `System.getSecurityManager`, `AccessController.doPrivileged` and `AccessControlContext` can be removed.
Most of the changes are straightforward, although some of the refactoring in `KeyStore` was a bit complex due to having to extract the code from the `PrivilegedAction` subclasses. ------------- Commit messages: - AppleProvider and test updates. - Initial cleanup. Changes: https://git.openjdk.org/jdk/pull/22401/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22401&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8345060 Stats: 255 lines in 11 files changed: 25 ins; 161 del; 69 mod Patch: https://git.openjdk.org/jdk/pull/22401.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22401/head:pull/22401 PR: https://git.openjdk.org/jdk/pull/22401