RFR: 8344023: Unnecessary Hashtable usage in LdapClient.defaultBinaryAttrs

Andrey Turbanov aturbanov at openjdk.org
Wed Nov 13 19:29:36 UTC 2024


On Tue, 5 Nov 2024 12:49:04 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Content of Hashtable `com.sun.jndi.ldap.LdapClient#defaultBinaryAttrs` is fully initialized in `<clinit>` block.
> It means we can replace legacy synchronized `Hashtable` with immutable set.

I run `com/sun/jndi` tests on my win x64. All green.
Thank you for review!

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

PR Comment: https://git.openjdk.org/jdk/pull/21903#issuecomment-2474527594


More information about the core-libs-dev mailing list