Bug 251367

Summary: [assist] Wrong method's arguments names appear when adding unimplemented method
Product: [Eclipse Project] JDT Reporter: Alexey Izbyshev <izbyshev>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED WORKSFORME QA Contact:
Severity: minor    
Priority: P3    
Version: 3.4.2   
Target Milestone: 3.5 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Alexey Izbyshev CLA 2008-10-20 06:39:29 EDT
Build ID: M20080911-1700

Steps To Reproduce:
1. Create a new project and an interface ITest
2. Paste to the editor this code:

public interface ITest {
	void test(int a, int c);
}

class Test implements ITest {

}

3. In class Test type 't' and then use Code assist to add
  unimplemented method.
4. You should see such bad signature:
	public void test(int arg0, int arg1) {



More information:
The signature is correct if you use quick assist on highlighted word 'Test' to add unimplemented method
Comment 1 David Audel CLA 2008-10-23 04:53:13 EDT
I can reproduce the bug with M20080911-1700 but not with I20081016-1126.

The bug is fixed in 3.5 so i close this bug as WORKSFORME.
Comment 2 Jerome Lanneluc CLA 2008-10-28 10:21:53 EDT
Verified for 3.5M3 using I20081027-1800