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 15025 - An IllegalArgument exception in the Import Managment Tool for classes in the default package.
Summary: An IllegalArgument exception in the Import Managment Tool for classes in the ...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-31 15:02 UTC by Ivan Bradac
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 Ivan Bradac 2001-08-31 15:02:57 UTC
BUG also appears in version : FFJ30

The steps to reproduce:

1. In the default package create two classes:

public class A {
}

and

public class B { 
    A a;
}

2. In the Import Managment Tools Settings set Guessing Strategy for Unresolved Identifiers to  "Search in well-known packages".

3. In the settings, click on List of well-known packages and add a blank line - a <empty> line is added.

4. Run the Import Management Tool on B.

5. In the second panel, a  .A identifier appears. Choose "Use FQN" action and click finish. An IllegalArgumentException appears.
Comment 1 Tomas Hurka 2001-09-19 09:15:48 UTC
fixed in trunk
Comment 2 Jan Becicka 2001-10-19 12:43:26 UTC
[200110190100] Verified
Comment 3 Quality Engineering 2003-07-01 13:17:26 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.