-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b77
-
Verified
The DocLint has trouble parsing some comments:
1. comments that end with an identifier lead to infinite loop, because EOI is Java identifier part, so the DocCommentParser tries to read and process the EOI forever. Can be reproduced using the attached "EndWithIdentifier.java" from the attached zip. A stacktrace when this happens is attached as infinite-loop.txt
2. an unfinished inline tag may lead to a StringIndexOutOfBoundsException. Test case is "UnfinishedInlineTag.java", exception exception.txt.
1. comments that end with an identifier lead to infinite loop, because EOI is Java identifier part, so the DocCommentParser tries to read and process the EOI forever. Can be reproduced using the attached "EndWithIdentifier.java" from the attached zip. A stacktrace when this happens is attached as infinite-loop.txt
2. an unfinished inline tag may lead to a StringIndexOutOfBoundsException. Test case is "UnfinishedInlineTag.java", exception exception.txt.