Bug 21302 - "Add import" not working for default package imports
Summary: "Add import" not working for default package imports
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC other
: P3 major (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-08 10:08 EDT by Kenny MacLeod CLA
Modified: 2002-11-20 13:11 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenny MacLeod CLA 2002-07-08 10:08:46 EDT
If I try to invoke "Add Import" for a class that happens to reside in the default package, then nothing happens.  

Also, if I "Organise Imports" on a java file which imports from the default package, it strips the imports out.
Comment 1 Martin Aeschlimann CLA 2002-11-20 13:11:22 EST
support for imports from default package added > 20021120
Note that jdk1.4 will not allow such imports