Bug 271295 - [assist] Wrapper classes for base types get treated differently by completion engine
Summary: [assist] Wrapper classes for base types get treated differently by completion...
Status: VERIFIED DUPLICATE of bug 84720
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Srikanth Sankaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 06:26 EDT by Srikanth Sankaran CLA
Modified: 2009-04-28 05:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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