Bug 271295

Summary: [assist] Wrapper classes for base types get treated differently by completion engine
Product: [Eclipse Project] JDT Reporter: Srikanth Sankaran <srikanth_sankaran>
Component: CoreAssignee: Srikanth Sankaran <srikanth_sankaran>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: david_audel
Version: 3.5   
Target Milestone: 3.5 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Srikanth Sankaran CLA 2009-04-06 06:26:46 EDT
Version: 3.5.0
Build id: I20090313-0100

1. Create a Java project with the following:

public class C {

	public void Methodaaaa1() {}
	public void Methodaaaa2() {}
	public void Methodaaaa3() {}
	public void Methodaaaa4() {}
	public void Methodaaaa5() {}
	public void Methodaaaa6() {}
	public void Methodaaaa7() {}
	public void Methodaaaa8() {}
	public void Methodaaaa9() {}
	public void Methodaaaa10() {}
	public void Methodaaaa11() {}
	public void Methodaaaa12() {}
	public boolean Methodboolean() { return false;}
	public Boolean Methodboolean2() { return false;}
	
	
	public void foo() {
		if (Meth|)
	}

}

2. At the '|' do a <Ctrl-Space> to complete. 

3. You will see that the boolean method is at the head of the proposed
   list, while the Boolean method is shown deep down. It should really
   be proposed ahead of the void types.
Comment 1 Srikanth Sankaran CLA 2009-04-09 02:24:10 EDT

*** This bug has been marked as a duplicate of bug 84720 ***
Comment 2 David Audel CLA 2009-04-28 05:32:24 EDT
Verified for 3.5M7