Summary: | [DOM/AST] Wrong end position for method declaration | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.0 | ||||||
Target Milestone: | 3.1 M1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Frederic Fusier
2004-07-06 06:03:22 EDT
I will investigate. I think that retrieveRightBraceOrSemiColonPosition should be called with bodyEnd + 1 instead of bodyEnd for the first argument. Otherwise the ; is found and its position is returned. Created attachment 12982 [details]
Patch to apply on HEAD
Let me know what you think. All tests passed with this patch.
Fixed and released in HEAD. Regression tests added. |