On Sun, 29 May 2022 21:57:46 GMT, Andrey Turbanov <aturba...@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

Reply via email to