RFR: 8294397: Replace StringBuffer with StringBuilder within java.text

Naoto Sato naoto at openjdk.org
Thu Sep 29 22:12:30 UTC 2022


On Wed, 28 Sep 2022 22:54:33 GMT, Justin Lu <duke at openjdk.org> wrote:

> Problem: Unnecessary instances of StringBuffer within java.text (internal only)
> 
> Fix: StringBuffer Replaced with StringBuilder, and adjusted variable/method names

AFAICT, the reason is described in the test class description, i.e., tweak to be in `java.text` package so that it can test the internal `hashCode` method.

btw I find a typo there:

* Bug #4170614 complained that we had two iternal classes that

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

PR: https://git.openjdk.org/jdk/pull/10475


More information about the core-libs-dev mailing list