On Tue, 12 Nov 2024 10:41:48 GMT, Alan Bateman <al...@openjdk.org> wrote:
> Removes the SecurityManager usage from Thread + friends. > > In Thread, the getContextClassLoader method is no longer caller-sensitive > method. > > JavaLangAccess.newThreadWithAcc is removed and jdk.internal.access is no > longer exported to java.naming. The usage of newThreadWithAcc is removed from > com.sun.jndi.ldap.VersionHelper. There will be further work on the > java.naming module to remove usage of SM, the change here is specific to the > usage of ewThreadWithAcc. This pull request has now been integrated. Changeset: 5e01c40b Author: Alan Bateman <al...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/5e01c40b19a5bf4d0266747ca73aca4193799d97 Stats: 282 lines in 10 files changed: 0 ins; 228 del; 54 mod 8343981: Remove usage of security manager from Thread and related classes Reviewed-by: rriggs, yzheng ------------- PR: https://git.openjdk.org/jdk/pull/22035