RFR: 8344023: Unnecessary Hashtable usage in LdapClient.defaultBinaryAttrs
Andrey Turbanov
aturbanov at openjdk.org
Tue Nov 12 11:26:34 UTC 2024
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.
-------------
Commit messages:
- [PATCH] Unnecessary Hashtable usage in LdapClient.defaultBinaryAttrs
Changes: https://git.openjdk.org/jdk/pull/21903/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21903&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8344023
Stats: 29 lines in 1 file changed: 1 ins; 9 del; 19 mod
Patch: https://git.openjdk.org/jdk/pull/21903.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21903/head:pull/21903
PR: https://git.openjdk.org/jdk/pull/21903
More information about the core-libs-dev
mailing list