-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
b04
-
sparc
-
solaris_7
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152882 | OpenJDK6 | Denis Fokin | P3 | Resolved | Fixed | b03 |
Name: sdR10048 Date: 05/28/2001
Javadoc for
public boolean java.awt.datatransfer.DataFlavor.match(DataFlavor that)
method does not describe expected reaction when null is passed in.
As "Requirements for Writing Java API Specifications" say:
(http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method)
Method Specification
This section applies to Java methods and constructors. Each method and
constructor specification must include:
.....
4.Null Argument Values - For each reference type argument, specify the behavior
when null is passed in.See two examples. NOTE: If possible, document the general
null argument behavior at the package or class level, such as causing a
java.lang.NullPointerException to be thrown. Deviations from this behavior can
then be documented at the method level.
This bug should be fixed to get completely fixed jck bug 4461049.
======================================================================
Javadoc for
public boolean java.awt.datatransfer.DataFlavor.match(DataFlavor that)
method does not describe expected reaction when null is passed in.
As "Requirements for Writing Java API Specifications" say:
(http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method)
Method Specification
This section applies to Java methods and constructors. Each method and
constructor specification must include:
.....
4.Null Argument Values - For each reference type argument, specify the behavior
when null is passed in.See two examples. NOTE: If possible, document the general
null argument behavior at the package or class level, such as causing a
java.lang.NullPointerException to be thrown. Deviations from this behavior can
then be documented at the method level.
This bug should be fixed to get completely fixed jck bug 4461049.
======================================================================
- backported by
-
JDK-2152882 java.awt.datatransfer.DataFlavor.match: null reaction needed
- Resolved
- relates to
-
JDK-4241379 handling of null by DataFlavor(Class) constructor should be specified
- Open