Integrated: JDK-8305620: Missing `break` in DocCommentParser `inlineWord()`

Jonathan Gibbons jjg at
Wed Apr 5 14:43:27 UTC 2023

On Tue, 4 Apr 2023 23:58:28 GMT, Jonathan Gibbons <jjg at> wrote:

> Please review a fix for the `depth` counting in `DocCommentParser` `inlineWord`.
> There was a missing break that caused the count to go high, and because of that the code for the down count needed to be adjusted as well.
> The test is modified to be stylistically more like the others with `abc` and `def` surrounding the `{@index...}` tag.  This looks like it may have been a typo, and helped hide the counting issue.

This pull request has now been integrated.

Changeset: 022290bd
Author:    Jonathan Gibbons <jjg at>
Stats:     8 lines in 2 files changed: 3 ins; 0 del; 5 mod

8305620: Missing `break` in DocCommentParser `inlineWord()`

Reviewed-by: iris



More information about the compiler-dev mailing list