Integrated: 8344023: Unnecessary Hashtable usage in LdapClient.defaultBinaryAttrs

Andrey Turbanov aturbanov at openjdk.org
Wed Nov 13 19:29:37 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.

This pull request has now been integrated.

Changeset: ffea9809
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ffea9809a72777fd6bfac5d0052c7db676aa20d1
Stats:     29 lines in 1 file changed: 1 ins; 9 del; 19 mod

8344023: Unnecessary Hashtable usage in LdapClient.defaultBinaryAttrs

Reviewed-by: dfuchs, aefimov

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

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


More information about the core-libs-dev mailing list