On Thu, 25 Jul 2024 05:30:34 GMT, Shaojin Wen <d...@openjdk.org> wrote:
> Integer.stringSize and Long.stringSize are used not only in java.lang, but > also in other places. We put stringSize in DecimalDigits to reduce duplicate > code and the use of JLA. src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java line 462: > 460: > 461: int stringSize(long i); > 462: 👍 Removing extra dependencies on `JavaLangAccess` ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20322#discussion_r1691333555