RFR: 8299199: Avoid redundant split calls in FontConfiguration.initReorderMap implementations
Alexey Ivanov
aivanov at openjdk.org
Wed Dec 21 12:12:50 UTC 2022
On Wed, 21 Dec 2022 11:03:08 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> `FontConfiguration.split` uses legacy synchronized `Vector` class. But actually there is no need to use it, because input arguments are known at compile time. Instead of split usages we can just create String[] array with filled values directly.
Marked as reviewed by aivanov (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/11754
More information about the client-libs-dev
mailing list