Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 203322 - [quick fix] ClasspathFixProcessor is given wrong name when import is of the form xxx.*
Summary: [quick fix] ClasspathFixProcessor is given wrong name when import is of the f...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-13 13:18 EDT by Curtis Windatt CLA
Modified: 2007-09-14 04:26 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 Curtis Windatt CLA 2007-09-13 13:18:52 EDT
Using the new org.eclipse.jdt.ui.classpathFixProcessors extension point, the call to ClasspathFixProcessor.getFixImportProposals passes an incorrect name if the name has .* at the end.

The import xxx.yyy.* gets a name of xxx.yyy..*

The extra period is added in ReorgCorrectionsSubProcessor line 258.  It thinks that .* is a class name, so it concatenates the rest of the package name to the .* them with a .
Comment 1 Martin Aeschlimann CLA 2007-09-14 04:26:24 EDT
fixed > 20070914