Summary: | [select] Open Declaration with insertion point on constructor call opens in wrong place | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Timothy Mowlem <tmowlem> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | srikanth_sankaran |
Version: | 3.3 | ||
Target Milestone: | 3.5 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Timothy Mowlem
2007-01-11 06:27:37 EST
I cannot reproduce your problem with a simple test case: MyClass.java: package com.mycompany.mypackage; public class MyClass { int x; public MyClass() { super(); } public MyClass(int x) { super(); this.x = x; } } Test.java: package com.test; import com.mycompany.mypackage.MyClass; public class Test { MyClass mc = new MyClass(0); } When I put the mouse pointer on MyClass constructor in Test, then F3 opens Test.java _and_ selects the correct constructor. Can you provide a test case which reproduces the problem? Thanks (In reply to comment #1) > I cannot reproduce your problem with a simple test case: > MyClass.java: > package com.mycompany.mypackage; > public class MyClass { > int x; > public MyClass() { > super(); > } > public MyClass(int x) { > super(); > this.x = x; > } > } > > Test.java: > package com.test; > import com.mycompany.mypackage.MyClass; > public class Test { > MyClass mc = new MyClass(0); > } > > When I put the mouse pointer on MyClass constructor in Test, then F3 opens > Test.java _and_ selects the correct constructor. > > Can you provide a test case which reproduces the problem? > Thanks Sorry but I client confidentiality prevents me from posting an example. I cannot reproduce the problem. As there is no test case to reproduce the problem i close this bug as WORKSFORME. Verified for 3.5M7 using I20090426-2000 |