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

Named property methods need spec for when propertyName is null

XMLWordPrintable

    • b43
    • generic
    • generic

      This bug is filed to track an issue brought up in bugs 4937059 and 4937062. The issue is with PropertyChangeListeners for named properties. Methods which take a property name should specify what happens when a null String is passed in. Such methods are:

      addPropertyChangeListener(String propertyName,
                                PropertyChangeListener listener)

      removePropertyChangeListener(String propertyName,
                                   PropertyChangeListener listener)

      getPropertyChangeListeners(String propertyName)

      hasListeners(String propertyName)

      This applies to the following classes:

      java.beans.PropertyChangeSupport
      java.beans.VetoableChangeSupport
      java.beans.beancontext.BeanContextChildSupport

            bchristi Brent Christian
            bchristi Brent Christian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: