RFR: 8287544: Replace uses of StringBuffer with StringBuilder in java.naming
Aleksei Efimov
aefimov at openjdk.java.net
Tue May 31 16:28:41 UTC 2022
On Sun, 29 May 2022 21:57:46 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
> There are some code that still uses StringBuffer in java.naming which could be migrated to `StringBuilder`.
> Looks good to me +1
`java.naming` regression tests also happy with the change - no new failures
-------------
PR: https://git.openjdk.java.net/jdk/pull/8942
More information about the core-libs-dev
mailing list