Integrated: 8267485: Remove the dependency on SecurityManager in JceSecurityManager.java
Bradford Wetmore
wetmore at openjdk.java.net
Tue Jul 27 17:14:33 UTC 2021
On Sat, 22 May 2021 00:20:11 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:
> The JceSecurityManager is currently a subclass of java.security.SecurityManager. Now that JEP 411 has been integrated, this class should be updated to no longer subclass SecurityManager.
>
> The only reason for using SecurityManager to easily get the Class Context (call stack), but we can achieve the same effect by using the JDK 9 API java.lang.StackWalkeer. None of the other SecurityManager API are used.
>
> I have run mach5 tier1/tier2 plus --test jck:api/java_security,jck:api/javax_crypto,jck:api/javax_net,jck:api/javax_security,jck:api/org_ietf,jck:api/javax_xml/crypto with all green.
This pull request has now been integrated.
Changeset: c8af8238
Author: Bradford Wetmore <wetmore at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/c8af8238b4b55d515573374800015e115042d883
Stats: 55 lines in 2 files changed: 13 ins; 20 del; 22 mod
8267485: Remove the dependency on SecurityManager in JceSecurityManager.java
Reviewed-by: mchung
-------------
PR: https://git.openjdk.java.net/jdk/pull/4150
More information about the security-dev
mailing list