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

Summary: [Win2K NB 3.2.3] Import Manager doesn't know about static methods
Product: java Reporter: javaiware <javaiware>
Component: UnsupportedAssignee: issues@editor <issues>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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.