Summary: | [formatter] AssertionFailedException occurs while formatting a source containing the specific javadoc comment /** ***/ | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | ivan.motsch, jose, Olivier_Thomann, remy.suen | ||||
Version: | 3.5.1 | ||||||
Target Milestone: | 3.6 M6 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Frederic Fusier
2010-02-08 06:52:37 EST
The problem comes from the FormatterCommentParser which wrongly stores the first star of the 3 ending ones as the end of the javadoc text, although it should store the last star position instead... Created attachment 158477 [details]
Proposed patch
The proposed solution is to not push the last text when there are contiguous stars at the end of the javadoc comment...
Released for 3.6M6 in HEAD stream. Verified for 3.6M6 using I20100307-2000. |