2000-12-27 Jeff Sturm <jeff.sturm@commerceone.com>
* java/sql/DriverManager.java (getConnection): Don't set
user/password properties if null.
From-SVN: r38516
+2000-12-27 Jeff Sturm <jeff.sturm@commerceone.com>
+
+ * java/sql/DriverManager.java (getConnection): Don't set user/password
+ properties if null.
+
2000-12-27 Warren Levy <warrenl@redhat.com>
Fix for PR libgcj/1358:
{
Properties p = new Properties();
- p.setProperty("user", user);
- p.setProperty("password", password);
+ if (user != null)
+ p.setProperty("user", user);
+ if (password != null)
+ p.setProperty("password", password);
return(getConnection(url, p));
}