RFR: JDK-8264181: javadoc tool Incorrect error message about malformed link
Pavel Rappo
prappo at openjdk.java.net
Tue May 18 09:06:42 UTC 2021
On Tue, 18 May 2021 06:56:51 GMT, Hannes Wallnöfer <hannesw at 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
More information about the compiler-dev
mailing list