RFR: 8274879: Replace uses of StringBuffer with StringBuilder within java.base classes [v2]
Naoto Sato
naoto at openjdk.java.net
Tue Oct 12 20:39:14 UTC 2021
On Mon, 11 Oct 2021 21:05:46 GMT, Andrey Turbanov <duke at openjdk.java.net> wrote:
>> src/java.base/share/classes/java/lang/Character.java line 123:
>>
>>> 121: * than U+FFFF are called <em>supplementary character</em>s. The Java
>>> 122: * platform uses the UTF-16 representation in {@code char} arrays and
>>> 123: * in the {@code String} and {@code StringBuilder} classes. In
>>
>> Not sure simple replacement applies here, as `StringBuffer` still uses `UTF-16` representation. You may add `StringBuilder` as well here, but I think you might want to file a CSR to clarify.
>
> reverted changes in this spec.
Did you modify the PR? I am unable to locate the revert.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5432
More information about the core-libs-dev
mailing list