Bug 127275

Summary: [compiler] Generalize ProblemReporter#localSourceEnd
Product: [Eclipse Project] JDT Reporter: Maxime Daniel <maxime_daniel>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: martinae
Version: 3.2   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Proposed patch and regression tests none

Description Maxime Daniel CLA 2006-02-10 10:53:47 EST
3.2 M5
Fup on bug 127078.

Philippe suggests that we generalize localSourceEnd in the following manner:
sourceStart(Binding, ASTNode)
sourceEnd(Binding, ASTNode)
with systematic calls.
Comment 1 Philipe Mulet CLA 2006-02-10 11:48:22 EST
Not for M5, but would be good to have at some point before 3.2 (may need to verify UI assumptions wouldn't be broken).
Comment 2 Olivier Thomann CLA 2006-02-10 21:30:02 EST
Martin,

I think you said that quickfix could be impacted by that change. Is this still true?
Comment 3 Martin Aeschlimann CLA 2006-02-12 10:57:58 EST
The quick fix seems to work with the smaller range, so everything ok.
Comment 4 Olivier Thomann CLA 2006-02-21 21:51:31 EST
Created attachment 35122 [details]
Proposed patch and regression tests
Comment 5 Olivier Thomann CLA 2006-02-24 11:01:07 EST
Fixed and released in HEAD.
Updated existing regression tests.
Martin, could you please double-check that the released code doesn't break any assumptions for quickfix.
Comment 6 Jerome Lanneluc CLA 2006-03-27 15:35:23 EST
Verified for 3.2 M6 using build I20060327-0010