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

BaseRowSet.addRowSetListener specificaion contains unclear note.

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description

      Name: acR10002 Date: 04/29/2004


      Filed By : SPB JCK team (###@###.###)
      JDK :
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] : N/A


      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
      addRowSetListener

      public void addRowSetListener(RowSetListener listener)

          The listener will be notified whenever an event occurs on this RowSet object.

          A listener might, for example, be a table or graph that needs to be updated in order to accurately reflect the current state of the RowSet object.

          Note: if the RowSetListener object is null, this method silently discards the null value and does not add a null reference to the set of listeners.

          Note: if the listener is already set, and the new RowSetListerner instance is added to the set of listeners already registered to receive event notifications from this RowSet.

          Parameters:
              listener - an object that has implemented the javax.sql.RowSetListener interface and wants to be notified of any events that occur on this RowSet object; May be null.
          See Also:
              removeRowSetListener(javax.sql.RowSetListener)


      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      Second note about adding already set listener is unclear. Seems like it sdoesn't contain full behaviour description. Probably it should be continued with something like " then it will recieve notifications twice"

      JCK test source location:
      ==========================
      /java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
          
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              ahandasunw Amit Handa (Inactive)
              Reporter:
              aycsunw Ayc Ayc (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: