On Thu, 28 Nov 2024 00:17:43 GMT, Aleksei Efimov <aefi...@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 959fa4a1
Author:    Aleksei Efimov <aefi...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/959fa4a1a35a1bb650ec5888efaf3d0fc8cfb025
Stats:     395 lines in 24 files changed: 13 ins; 307 del; 75 mod

8344299: SM cleanup in javax.naming modules

Reviewed-by: alanb, dfuchs

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

PR: https://git.openjdk.org/jdk/pull/22421

Reply via email to