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

Named property methods need spec for when propertyName is null

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b43
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: