Bug 10570 - ast: CatchClause has incorrect startingPoint
Summary: ast: CatchClause has incorrect startingPoint
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-01 05:39 EST by Adam Kiezun CLA
Modified: 2002-03-01 14:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-03-01 05:39:42 EST
CatchClause begins on the 'e' temp here:

package p;
class A{
	void m(){
		try{
		} catch (Exception e){
			m();			
		}
	}
}
Comment 1 Olivier Thomann CLA 2002-03-01 10:01:33 EST
The problem comes from the fact that the position of the catch keyword in not stored. I will fix it 
with a manual scanning.
Comment 2 Olivier Thomann CLA 2002-03-01 14:10:20 EST
Fixed and released in HEAD.