Bug 75090 - source positions calculated wrongly
Summary: source positions calculated wrongly
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 3.0.2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 10:56 EDT by Carsten Pfeiffer CLA
Modified: 2005-03-10 05:50 EST (History)
0 users

See Also:


Attachments
patch fixing wrong source position calculation (3.71 KB, patch)
2004-09-27 10:57 EDT, Carsten Pfeiffer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Pfeiffer CLA 2004-09-27 10:56:02 EDT
We found a few cases where source positions where calculated improperly. I'll 
attach a patch against the 3.0 maintenance branch.
Comment 1 Carsten Pfeiffer CLA 2004-09-27 10:57:30 EDT
Created attachment 14796 [details]
patch fixing wrong source position calculation
Comment 2 Philipe Mulet CLA 2004-10-12 07:05:41 EDT
Fixed in 3.1 stream. Note last scenario (from patch) no longer exists, file got
discarded and lives in attic.

Will also backport to 3.0 stream.
Comment 3 Philipe Mulet CLA 2004-10-12 09:34:01 EDT
Fixed in 3.0 stream (<= 3.0.2)
Comment 4 Philipe Mulet CLA 2005-01-26 16:25:18 EST
Candidating for 3.0.2 release (not committed yet)
Comment 5 Philipe Mulet CLA 2005-01-26 16:26:00 EST
Change is trivial, but consequences are nasty, especially for the DOM AST.
Comment 6 Carsten Pfeiffer CLA 2005-01-27 04:33:18 EST
Really? Does anyone rely on the wrong positions? 
Comment 7 David Audel CLA 2005-03-10 05:50:36 EST
Verified with M20050216