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

unclear spec for methods java.awt.dnd.DropTargetContext.addNotify

XMLWordPrintable

    • Cause Known
    • sparc
    • solaris_2.5

      Name: sdC67446 Date: 05/28/98


      spec for method
      java.awt.dnd.DropTargetContext.addNotify(DropTargetContextPeer peer)
      says nothing about method's behavior if 'peer' == null.
      Also is it unclear what is expected behavior if
      some peer already addNotified.
      Current behavior is to ignore null, and to overwrite peer added before.

      Here is what doc says:
      -------------------------------------------------
      public void addNotify(java.awt.dnd.peer.DropTargetContextPeer dtcp)

            called when associated with the DropTargetContextPeer
      --------------------------------------------------
      ======================================================================

            denis Denis Fokin (Inactive)
            sdmitriesunw Sergei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: