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 32025 - Import Manager should look in java.io.* before org.omg.CORBA_2_3.portable.*
Summary: Import Manager should look in java.io.* before org.omg.CORBA_2_3.portable.*
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC OS/2
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-15 04:24 UTC by _ gtzabari
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 _ gtzabari 2003-03-15 04:24:22 UTC
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.
Comment 1 Miloslav Metelka 2003-03-18 15:44:23 UTC
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.
Comment 2 _ gtzabari 2003-03-19 12:36:55 UTC
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.
Comment 3 Martin Matula 2004-11-12 13:17:47 UTC
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).