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 10314 - [Win2K NB 3.2.3] Import Manager doesn't know about static methods
Summary: [Win2K NB 3.2.3] Import Manager doesn't know about static methods
Status: CLOSED DUPLICATE of bug 10105
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-14 17:07 UTC by javaiware
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 javaiware 2001-03-14 17:07:39 UTC
Hi,

Import Manager does not recognize cases where a static method of a class is 
called. This results in cases where a package-import is changed into a class-
import that the source does not compile anymore.

Import Manager does not see that the source-line

"MyConn = DriverManager.getConnection(JDBCUrl,JDBCUserName,JDBCPassword);"

requires: 

"import java.sql.DriverManager;"

Iwan
Comment 1 Jan Lahoda 2001-03-15 11:00:52 UTC
This is probably matter of java module.
Comment 2 Jan Becicka 2001-03-16 08:56:51 UTC
Import Management Tool does not parse whole source code

*** This issue has been marked as a duplicate of 10105 ***
Comment 3 Quality Engineering 2003-07-01 13:12:45 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-07-01 13:20:46 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.