RFR: 8288619: Unexpected parsing for @see [v2]

Guoxiong Li gli at openjdk.org
Mon May 15 05:11:47 UTC 2023


On Fri, 12 May 2023 21:15:50 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> It would be better to set the `newline` flag to false earlier, perhaps at the beginning of `blockTag`

Fixed.

> Here is another test case:
> 
> ```
>     /**
>      * case 2.
>      * @see
>      *    "{@code ...}"
>      */
>     public void m2() { }
> ```

I add this test case. But it fails with the following error message. The `DocCommentTester#PrettyChecker` doesn't seem to work as expected?


METHOD new_line_before_quoted_string PrettyChecker
Error: mismatch
*** expected:
Test_new_line_before_quoted_string.
@see
____"{@code}"
*** found:
Test_new_line_before_quoted_string.
@see_"{@code}"

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

PR Comment: https://git.openjdk.org/jdk/pull/13888#issuecomment-1547198907


More information about the javadoc-dev mailing list