RFR: 8331114: Further improve performance of MethodTypeDesc::descriptorString [v2]
Claes Redestad
redestad at openjdk.org
Thu Apr 25 13:34:51 UTC 2024
On Thu, 25 Apr 2024 11:11:48 GMT, Florent Guillaume <duke at openjdk.org> wrote:
>> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>>
>> comma-separated
>
> src/java.base/share/classes/java/lang/constant/MethodTypeDesc.java line 210:
>
>> 208: StringBuilder sb = new StringBuilder(24).append('(');
>> 209: for (int i = 0; i < count; i++) {
>> 210: sb.append(parameterType(i).displayName());
>
> Aren't you forgetting the comma?
Well spotted - fixed!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18945#discussion_r1579476846
More information about the core-libs-dev
mailing list