RFR: 8288619: Unexpected parsing for @see
Guoxiong Li
gli at openjdk.org
Tue May 9 14:11:18 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
-------------
Commit messages:
- JDK-8288619
Changes: https://git.openjdk.org/jdk/pull/13888/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13888&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8288619
Stats: 21 lines in 2 files changed: 19 ins; 0 del; 2 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