RFR: JDK-8250766: javadoc adds redundant spaces when @see program element is wrapped
Pavel Rappo
prappo at openjdk.java.net
Wed Apr 28 10:18:53 UTC 2021
On Wed, 28 Apr 2021 07:47:23 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
> This changes reference parsing in `DocCommentParser` to normalize whitespace in signatures to a large extent. In particular, multiple whitespace characters are coalesced into a single space character, and whitespace after opening parentheses and angle brackets are suppressed.
I have marked [8252039](https://bugs.openjdk.java.net/browse/JDK-8252039) as a duplicate of this bug. The fix looks nice and clean. That said, I wonder if it introduces any harmful discrepancies between the signature string and the start and end positions of DCReference.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3754
More information about the compiler-dev
mailing list