Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-725

removeListener does not decrement counter n

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVG DOM
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: All

      Description

      org.apache.batik.dom.events.EventListenerList#removeListener

      if not head. and found listner, we can't return at


      // Listener not present.
      return;


      we must decrement counter "n" after remove listener
      for keep EventListenerList proper condition.

      (if n is not correct, EventSupport#fireEventListeners outputs Exception. )

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              hajime-n@reso.co.jp Hajime Nishikawa
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: