On Tue, 18 May 2021 06:56:51 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:

> Yes, you can look at it both ways, either there is a closing parenthesis 
> where it shouldn't be, or there is text following a correctly placed closing 
> parenthesis. We tend to see one or the other depending on whether the text up 
> to the closing parenthesis looks like a proper signature, but it's not as 
> clear to the parser.

I'd expect the parser to report the leftmost problematic character.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4068

Reply via email to