-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
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
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
- relates to
-
JDK-4937059 REGRESSION: java.beans.PropertyChangeSupport.add/remove/getPCL(s): unclear doc
- Closed
-
JDK-4937062 REGRESSION: beancontext.BeanContextChildSupport.add/remove PCL/VCL: unclear doc
- Closed
-
JDK-6582164 JavaBeans tests should be open source
- Resolved