Bug 129096 - Wrong positions for array of parameterized type as a parameter
Summary: Wrong positions for array of parameterized type as a parameter
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 22:09 EST by Olivier Thomann CLA
Modified: 2006-03-28 08:11 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 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