RFR: JDK-8276674 : Malformed Javadoc inline tags in JDK source in java/util/stream

Pavel Rappo prappo at openjdk.java.net
Tue Nov 30 18:50:07 UTC 2021


On Thu, 25 Nov 2021 00:31:46 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> JDK-8276674 : Malformed Javadoc inline tags in JDK source in java/util/stream
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java line 63:
> 
>> 61:      * Helper class to generate stable positions for AST nodes occurring in diagnostic arguments.
>> 62:      * If the AST node appears in the same line number as the main diagnostic, the line is information is omitted.
>> 63:      * Otherwise both line and column information is included, using the format {@code line:col}".
> 
> Not a showstopper by any means. But while you are at it, maybe you could also fix this?
> 
> Suggestion:
> 
>      * If the AST node appears in the same line number as the main diagnostic, the line information is omitted.
>      * Otherwise both line and column information is included, using the format {@code line:col}.

This part was recently integrated in https://github.com/openjdk/jdk/pull/6602. I assume there will be a trivial merge conflict to resolve.

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

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


More information about the compiler-dev mailing list