Name: dsR10051 Date: 04/24/2001
Javadoc for all constructors of class
java.beans.EventSetDescriptor
does not specify the behavior of EventSetDescriptor object
if String eventSetName parameter is null. For each reference type argument,
the behavior when null is passed in should be specified.
See
http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method
for details.
Besides, the behavior of constructor
public EventSetDescriptor(Class sourceClass, String eventSetName,
Class listenerType, String listenerMethodName)
has been changed in jdk1.4 in this case. Now it throws NullPointerException,
in jdk1.3 it accepts null value. It is the cause of JCK failure (#4423723).
Evaluation of JDK team for this bug says that "JCK test
which passes null as the eventSetName to the constructor *doesn't* make sense
since the javadoc for the ctor doesn't claim that null is a valid parameter".
Javadoc should claim null as parameter (see http link above) to allow
JCK team writes or updates test correctly.
======================================================================
Javadoc for all constructors of class
java.beans.EventSetDescriptor
does not specify the behavior of EventSetDescriptor object
if String eventSetName parameter is null. For each reference type argument,
the behavior when null is passed in should be specified.
See
http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method
for details.
Besides, the behavior of constructor
public EventSetDescriptor(Class sourceClass, String eventSetName,
Class listenerType, String listenerMethodName)
has been changed in jdk1.4 in this case. Now it throws NullPointerException,
in jdk1.3 it accepts null value. It is the cause of JCK failure (#4423723).
Evaluation of JDK team for this bug says that "JCK test
which passes null as the eventSetName to the constructor *doesn't* make sense
since the javadoc for the ctor doesn't claim that null is a valid parameter".
Javadoc should claim null as parameter (see http link above) to allow
JCK team writes or updates test correctly.
======================================================================
- relates to
-
JDK-4910243 REGRESSION: JCK1.5-runtime api/java_beans/EventSetDescriptor/...#SetIsXXXX fails
-
- Closed
-