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

Refactor listener management in [Property|Vetoable]ChangeSupport.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 1.3.0, 5.0, 7
    • client-libs
    • None
    • b20
    • generic, x86
    • generic, windows_2000, windows_xp

      While investigating 4985020, I noticed that the code for managing the addition and removal of listeners in PropertyChangeSupport is a bit convoluted. In some cases, it takes as many as 4 calls back and forth between addPropertyChangeListener(listener) and addPropertyChangeListener(name, listener) before a listener is added. There is some room for cleanup here.

            malenkov Sergey Malenkov (Inactive)
            bchristi Brent Christian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: