RFR: 8267485: Remove the dependency on SecurityManager in JceSecurityManager.java [v6]
Bradford Wetmore
wetmore at openjdk.java.net
Tue Jul 27 00:48:50 UTC 2021
> 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.
Bradford Wetmore has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 22 commits:
- More codereview comments
- Merge branch 'master' into JDK-8267485
- Merge branch 'master' into JDK-8267485
- Merge branch 'master' into JDK-8267485
- Merge branch 'master' into JDK-8267485
- Merge branch 'master' into JDK-8267485
- Switching tasks
- Merge branch 'master' into JDK-8267485
- More Codereview Comments
- Merge branch 'master' into JDK-8267485
- ... and 12 more: https://git.openjdk.java.net/jdk/compare/efa63dc1...2ee40c1e
-------------
Changes: https://git.openjdk.java.net/jdk/pull/4150/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4150&range=05
Stats: 53 lines in 2 files changed: 11 ins; 11 del; 31 mod
Patch: https://git.openjdk.java.net/jdk/pull/4150.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4150/head:pull/4150
PR: https://git.openjdk.java.net/jdk/pull/4150
More information about the security-dev
mailing list