Bug 17906 - Rename package fails when inner classes are imported
Summary: Rename package fails when inner classes are imported
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-27 05:37 EDT by Stefan Heimann CLA
Modified: 2002-06-03 11:44 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 Stefan Heimann CLA 2002-05-27 05:37:21 EDT
package abc;

public class Test {

  public static class InnerTest {

  }
}

---
package xyz;

import abc.Test.InnerTest;

public class Foo {

}

When I rename the package abc, the reference in the import statement in class 
Foo is not updated.
Comment 1 Erich Gamma CLA 2002-05-27 08:30:21 EDT
should investigate
Comment 2 Adam Kiezun CLA 2002-05-28 12:42:00 EDT
search problem
the reference in Foo.java is not reported
Comment 3 Jerome Lanneluc CLA 2002-05-30 05:07:36 EDT
Package reference pattern (and type reference pattern as well) were not 
considering bindings for import statement.

Fixed.
Comment 4 Kent Johnson CLA 2002-06-03 11:44:06 EDT
Verified.