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

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


> Hi all,
> 
> When invoking the method `DocCommentParser::quotedString` with field `newline` as `true` 
> and the quoted string has the character `@`, `quotedString` will break the loop and return `null`.
> This patch changes the field `newline` to `false` at the beginning of the method `quotedString`
> to solve this issue. And a corresponding test case is added.
> 
> Thanks for the review.
> 
> Best Regards,
> -- Guoxiong

Guoxiong Li has updated the pull request incrementally with two additional commits since the last revision:

 - Add test case.
 - Set newline as false at blockTag. Fix typo.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13888/files
  - new: https://git.openjdk.org/jdk/pull/13888/files/89f4323a..904c800f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13888&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13888&range=00-01

  Stats: 21 lines in 2 files changed: 20 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13888.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13888/head:pull/13888

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


More information about the javadoc-dev mailing list