On Wed, 21 Sep 2022 15:09:21 GMT, Paul Sandoz <psan...@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

Reply via email to