RFR: 8344023: Unnecessary Hashtable usage in LdapClient.defaultBinaryAttrs

Daniel Fuchs dfuchs at openjdk.org
Tue Nov 12 17:06:47 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.

Thanks for running the tests @AlekseiEfimov

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

Marked as reviewed by dfuchs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21903#pullrequestreview-2430212907


More information about the core-libs-dev mailing list