-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
sparc
-
solaris_2.5.1
Name: sdC67446 Date: 07/20/99
The doc for
java.beans.beancontext.BeanContextMembershipEvent(BeanContext bc,
Collection changes) does not specify behavior if 'changes' == null.
Currently the ctor throws NPE.
Note: the BeanContextMembershipEvent(BeanContext bc, Object[] changes)
throws documented NPE for 'changes' == null.
The doc says:
------------------------------------------------------------
public BeanContextMembershipEvent(BeanContext bc,
Collection changes)
Contruct a BeanContextMembershipEvent
Parameters:
bc - The BeanContext source
changes - The Children affected
public BeanContextMembershipEvent(BeanContext bc,
Object[] changes)
Contruct a BeanContextMembershipEvent
Parameters:
bc - The BeanContext source
changes - The Children effected
Throws:
NullPointerException - if changes associated with this event
are null.
------------------------------------------------------------
======================================================================