RFR: 8344310: Remove Security Manager dependencies from javax.crypto and com.sun.crypto packages

Jaikiran Pai jpai at openjdk.org
Sat Nov 16 14:21:45 UTC 2024


On Fri, 15 Nov 2024 20:48:42 GMT, Sean Mullan <mullan at openjdk.org> wrote:

> Now that JEP 486 is integrated, javax.crypto and com.sun.crypto implementation dependencies on System.getSecurityManager and AccessController.doPrivileged can be removed.

Hello Sean, at the class declaration of `JceSecurity` in the `src/java.base/share/classes/javax/crypto/JceSecurity.java.template` file, there's a `@SuppressWarnings("removal")`. It looks like it can be removed.

Other than that the rest of these changes look reasonable to me.

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

PR Comment: https://git.openjdk.org/jdk/pull/22164#issuecomment-2480591632


More information about the security-dev mailing list