Bug 159250 - [1.5][compiler] Should better locate raw type usage for array qualified type references
Summary: [1.5][compiler] Should better locate raw type usage for array qualified type ...
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.2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 159243 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-29 05:40 EDT by Philipe Mulet CLA
Modified: 2007-01-16 01:32 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 Philipe Mulet CLA 2006-09-29 05:40:28 EDT
Build 3.3M2

In the following testcase, the error location should not include the brackets in reference "p.X[]".

package p;
public class X<T> {
	{
		p.X rawx = null;
		p.X[] rawxs = { rawx };
		System.out.println(rawxs.length);
	}
}
Comment 1 Philipe Mulet CLA 2006-09-29 12:12:36 EDT
Pls backport to 3.2.2
Comment 2 Olivier Thomann CLA 2006-09-29 14:08:31 EDT
Added org.eclipse.jdt.core.tests.compiler.regression.Deprecated15Test#test001
Comment 3 Olivier Thomann CLA 2006-09-29 14:09:54 EDT
Added org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test1041.
The previous test also test the deprecation warning with raw types.
Comment 4 Olivier Thomann CLA 2006-09-29 14:35:10 EDT
Released for 3.3M3
Comment 5 Olivier Thomann CLA 2006-09-29 22:24:12 EDT
*** Bug 159243 has been marked as a duplicate of this bug. ***
Comment 6 Olivier Thomann CLA 2006-09-29 22:24:58 EDT
Released for 3.3M3.
Released for 3.2.2.
Comment 7 David Audel CLA 2006-10-30 06:48:18 EST
Verified for 3.3 M3 using build I20061030-0010
Comment 8 Maxime Daniel CLA 2007-01-16 01:32:41 EST
Verified for 3.2.2 using build M20070112-1200.