Bug 129096

Summary: Wrong positions for array of parameterized type as a parameter
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2006-02-22 22:09:26 EST
The positions for the single variable declaration in the following code are wrong.
import java.util.concurrent.Future;

public class X {
	void foo(java.util.concurrent.Future<?> r[]) {
	}
}

It doesn't include the extra dimensions.
The extra dimensions is 0 instead of 1.
It works fine if the type is not fully qualified.
Comment 1 Olivier Thomann CLA 2006-02-24 23:05:54 EST
Fixed and released in HEAD.
Regression tests added in org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0211/0212
Comment 2 Jerome Lanneluc CLA 2006-03-28 08:11:48 EST
Verified for 3.2 M6 using build I20060328-0010