Bug 251367 - [assist] Wrong method's arguments names appear when adding unimplemented method
Summary: [assist] Wrong method's arguments names appear when adding unimplemented method
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4.2   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 3.5 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 06:39 EDT by Alexey Izbyshev CLA
Modified: 2008-10-28 10:21 EDT (History)
0 users

See Also:


Attachments

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