This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 96775 - Fix Imports does not offer java classes
Summary: Fix Imports does not offer java classes
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 13:33 UTC by ob1kenobe
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ob1kenobe 2007-02-28 13:33:22 UTC
In 6 milestone 7 when I click fix imports, only the NB modules are included in
the list of possible imports. 

For instance, if I declare a Map variable then clicking fix imports only brings
the option of org.openide.nodes.Children.Map and not java.util.Map. Seems to
occur on most of the JDK, ie. import ignores the latter completely.

Once imports are manually included then the java file correctly compiles.

Steps to reproduce:
1) Create new module project.
2) Create new source file in project.
3) Open source file and declare the variable test of type Map.
4) Select "Fix Imports" which will display the dialog indicating Map cannot be
resolved.

Worked correctly in 5.5
Comment 1 Jiri Prox 2007-09-17 20:34:40 UTC
Obsolete milestone, please reevaluate
Comment 2 Jiri Prox 2007-09-18 08:17:28 UTC
This works fine 6.0beta1. If its still reproducible feel free to reopen.