RFR: 8312093: Incorrect javadoc comment text
Jan Lahoda
jlahoda at openjdk.org
Fri Jul 14 15:08:34 UTC 2023
Consider a javadoc comment like:
public class Test {
/***/
void main() {
}
}
The doc comment's String for the javadoc comment will be "`/`", which is wrong. The reason is that the third '*' is ignored, and the closing '/' is used as the content of the comment.
The proposed solution is to tweak the parser to properly handle the closing '*/' in this case.
-------------
Commit messages:
- 8312093: Incorrect javadoc comment text
Changes: https://git.openjdk.org/jdk/pull/14890/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14890&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8312093
Stats: 33 lines in 2 files changed: 31 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/14890.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14890/head:pull/14890
PR: https://git.openjdk.org/jdk/pull/14890
More information about the compiler-dev
mailing list