Bug 62292

Summary: [1.5] Missing receiver in parameterized message send
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2004-05-14 11:43:43 EDT
Cheetah04

When parsing the following program, the receiver of parameterized message send 
is incorrectly considered as being an implicit one, where it should be name 
ref "X".
      X.<String,X>foo("SUCCESS", null)

Testcase:

public class X {

	static <T, U> T foo(T t, U u) {
		return t;
	}
	public static void main(String[] args) {
		System.out.println(X.<String,X>foo("SUCCESS", null));
	}
}
Comment 1 Philipe Mulet CLA 2004-05-14 12:23:29 EDT
Added regression test: GenericTypeTest#test184.
Comment 2 Olivier Thomann CLA 2004-05-14 15:13:03 EDT
I am investigating.
Comment 3 Olivier Thomann CLA 2004-05-14 15:30:02 EDT
This is fixed and released in HEAD.
Regression test is reactivated.