Bug 7485 - IType resolve fails
Summary: IType resolve fails
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 7842 7927 9192 9785 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-11 08:30 EST by Martin Aeschlimann CLA
Modified: 2002-03-29 12:23 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2002-01-11 08:30:52 EST
20108
1. create (A.java)
 import java.util.Vector;
 public class A {
   public A(Vector v) {
   }
 }
(B.java)
 public class B extends A {
 }

2. in the outliner on B, choose 'Add constructors from superclass'
  Constructor is added but no import for Vector.

3. Dio it again but set a breakpoint in JavaModelUtil.getResolvedTypeName. 
   It is called to resolve type name 'Vector' in A.
   No results.
Comment 1 Philipe Mulet CLA 2002-01-16 09:55:36 EST
please investigate
Comment 2 Martin Aeschlimann CLA 2002-01-18 05:26:37 EST
*** Bug 7842 has been marked as a duplicate of this bug. ***
Comment 3 Martin Aeschlimann CLA 2002-02-07 12:12:04 EST
*** Bug 7927 has been marked as a duplicate of this bug. ***
Comment 4 David Audel CLA 2002-02-13 04:38:28 EST
if type name is unqualified then qualifiedSelection field must be null in 
SelectionEngine#selectType.

Fixed.
Comment 5 Martin Aeschlimann CLA 2002-02-13 05:36:01 EST
is this already in 20020212?
Comment 6 David Audel CLA 2002-02-13 06:17:55 EST
It's not in 20020212, but it should be in the next build.
Comment 7 David Audel CLA 2002-02-14 05:38:08 EST
*** Bug 9785 has been marked as a duplicate of this bug. ***
Comment 8 Martin Aeschlimann CLA 2002-03-29 12:23:21 EST
*** Bug 9192 has been marked as a duplicate of this bug. ***