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.
dev build 200301300100 Sun JDK 1.4.1 For some weird reason when I run import-manager against "InputStream" it matches "org.omg.CORBA_2_3.portable.InputStream" before "java.io.InputStream". I looked in OPTIONS and "java.io" is indeed listed before "org.omg.CORBA_2_3.portable" in the list of "well known packages". Looks like a bug; if not, this is a request for enhancement so the behavior is changed.
The editor's code completion currently does not examine the "list of known packages" java import mgmt tool's option. The code completion currently does not prioritize the list of classes being offered but it's a valuable enhancement for 4.0.
You misunderstand; I didn't mean "code completion" was giving me classes in the wrong order, I meant that the import management tool was looking up classes in the wrong order.
IMT was removed and Fix-all-imports action that replaced it offers the imports correctly (java.io.InputStream is the first item in the list of offered imports).