RFR: 8344299: SM cleanup in javax.naming modules [v2]
Aleksei Efimov
aefimov at openjdk.org
Thu Nov 28 13:58:58 UTC 2024
> The proposed change cleans-up `SecurityManager`, `doPriviledged`, and `AccessController` usages from `java.naming`, `jdk.naming.rmi` and `jdk.naming.dns` modules.
>
> One noteworthy change: The `java.naming.rmi.security.manager` JNDI environment property can be used to setup the `SecurityManager`: if the property is added to an environment map the `RegistryContext` attempts to setup the `SecurityManager`. The environment property and related method are removed in this PR.
>
> `tier1` - `tier3`, and other non-tiered JNDI tests showed no failures related to this change.
Aleksei Efimov has updated the pull request incrementally with one additional commit since the last revision:
Remove com.sun.jndi.ldap.VersionHelper
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22421/files
- new: https://git.openjdk.org/jdk/pull/22421/files/165cd49f..3c8687c1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22421&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22421&range=00-01
Stats: 98 lines in 7 files changed: 13 ins; 72 del; 13 mod
Patch: https://git.openjdk.org/jdk/pull/22421.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22421/head:pull/22421
PR: https://git.openjdk.org/jdk/pull/22421
More information about the core-libs-dev
mailing list