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

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


On Tue, 4 Apr 2023 23:58:28 GMT, Jonathan Gibbons <jjg at openjdk.org> 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 openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/022290bdbd14238d6f3cbd75e99f42b874ea255f
Stats:     8 lines in 2 files changed: 3 ins; 0 del; 5 mod

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

Reviewed-by: iris

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

PR: https://git.openjdk.org/jdk/pull/13343


More information about the compiler-dev mailing list