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

SPEC BUG: javax.sql.rowset.BaseRowSet: add listener

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.6



      Name: sdR10048 Date: 10/22/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b23"

      Problem description
      ===================
      There is some BaseRowSet javadoc points which are not enough specified.
      They are:

      public void addRowSetListener(javax.sql.rowset.RowSetListener?listener)

          Unspecified the expected behaviour if listener is already added?

      public void addRowSetListener(javax.sql.rowset.RowSetListener?listener)

          Quote:
          "Note: if the RowSetListener object is null, this method silently
          discards the null value and does not send notifications to the
          object reference."

          Should be re-spelled. Is it supposed to use addRowSetListener to send
          some events?

      public void addRowSetListener(javax.sql.rowset.RowSetListener?listener)

          Since this quote is pretty confusing:
          "Note: if the RowSetListener object is null, this method
          silently discards the null value and does not send notifications
          to the object reference."
        
          The null reaction should be specified.


      ======================================================================

            jbrucesunw Jonathan Bruce (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: