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 120614 - Import class on the left side of assignment
Summary: Import class on the left side of assignment
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 13:41 UTC by Jiri Prox
Modified: 2013-09-02 14:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2007-10-31 13:41:54 UTC
Product Version: NetBeans IDE Dev (Build 20071031011220)
Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b01
System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)

After fixing 119871 it would be also useful to import class on the left side of assignment.

Test case:
1) Have a code fragment  (List is not imported)
List l = new |

2) use CC at position marked by | and add ArrayList
-> ArrayList is added and imported
-> List is still not imported
Comment 1 tomwheeler 2011-09-24 19:39:44 UTC
See also my comments in #57853 -  Fix Import should default to favorite classes.