Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5050033

javax.sql.rowset.BaseRowSet: can't reset username and password properties (get N

XMLWordPrintable

    • rc
    • generic
    • generic

      The following two methods in javax.sql.rowset.BaseRowSet result in NPEs if null is passed as the arg. Note: null is a legitimate value to be passed (and will be passed at design time for IDEs using rowsets as beans).

          public void setUsername(String name) {
              username = new String(name);
          }


          public void setPassword(String pass) {
              password = new String(pass);
          }

      ###@###.### 2004-05-19

            skaushiksunw Shreyas Kaushik (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: