RFR: 8287544: Replace uses of StringBuffer with StringBuilder in java.naming

Raffaello Giulietti duke at openjdk.java.net
Tue May 31 08:14:25 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`.

_not a reviewer_
LGTM

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

PR: https://git.openjdk.java.net/jdk/pull/8942


More information about the core-libs-dev mailing list