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 50942 - Import Management Tool crashes on anonymous class in class initializer
Summary: Import Management Tool crashes on anonymous class in class initializer
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-28 09:54 UTC by jocki
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE.LOG file showing the exception in Import Management Tool (10.54 KB, text/plain)
2004-10-28 09:54 UTC, jocki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jocki 2004-10-28 09:54:04 UTC
Enter the following Java code and run the Import 
Management Tool. You will receive an Exception 
(see attached ide.log).

public class test {
    {
        new Exception() { };
    }
}
Comment 1 jocki 2004-10-28 09:54:58 UTC
Created attachment 18580 [details]
IDE.LOG file showing the exception in Import Management Tool
Comment 2 Martin Matula 2004-10-28 11:35:39 UTC
IMT was replaced by Fix All Imports action (Alt+Shift+F) in 4.0. This
bug is fixed there.