Summary: | IMember#getJavadocRange() should end with "*/" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | daniel_megert, frederic_fusier, gunnar, Olivier_Thomann | ||||
Version: | 3.4 | ||||||
Target Milestone: | 3.5 M1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Markus Keller
2008-05-20 08:24:04 EDT
It's even worse: The range always includes 1 character too much, e.g here... /** X */class A {} ... the Javadoc range is "/** X */c". Just verified that the problem existed in 3.3.2. I am surprised that this has not been found earlier as I imagine some weird bugs when using ast rewrite. Created attachment 101061 [details]
Proposed fix and regression test
Fix and test released for 3.5M1 Verified for 3.5M1 using I20080805-1307 (In reply to comment #3) > I am surprised that this has not been found earlier as I imagine some weird > bugs when using ast rewrite. Don't know why I didn't reported this earlier. Maybe I didn't recognize because of the line ending. Thus, I thought it's normal. But I paid my penalty today because my code got broken by this fix. ;) http://code.google.com/p/gwt-tooling/source/detail?r=62 |