RFR: 8294062: Improve parsing performance of j.l.c.MethodTypeDesc [v2]
Adam Sotona
asotona at openjdk.org
Wed Sep 21 16:49:32 UTC 2022
On Wed, 21 Sep 2022 15:09:21 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> `legal` is initially set to false, so leading `/` is also rejected
>
> Doh! Could you add a comment with the case block, something like?
> // Rejects a leading `/`, any "//", and a trailing '/' (by exit from the loop)
I've added the comments, thanks.
-------------
PR: https://git.openjdk.org/jdk/pull/10358
More information about the core-libs-dev
mailing list