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 68051

Summary: JDBCDriverManager.addDriver allows dups
Product: db Reporter: Vince Kraemer <vkraemer>
Component: CodeAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: Sun   
OS: Solaris   
Issue Type: ENHANCEMENT Exception Reporter:

Description Vince Kraemer 2005-11-03 17:45:13 UTC
I think it is using == instead of equals to determine whether a Driver should be
added.

Either that or JDBCDriver.equals() could do a more complete check for "equality".

Note: ConnectionManager.addConnection() seems to do "the right thing".
Comment 1 Jiri Rechtacek 2009-10-16 14:13:23 UTC
Reassigned to new owner.