Name: jk109818 Date: 01/24/2002
FULL PRODUCT VERSION :
this involves documentation
A DESCRIPTION OF THE PROBLEM :
javadocs clearly states that compareTo method in
java.lang.String throws a nullPointerException should the
argument be null.
Unfortunately this is not documented in the java.util.Date
class javadocs. At the very least the documentations
between the two classes must be consistent.
It also helps developers by clearly reminding them that
they should not pass in a null and saves them debugging
time later.
This bug can be reproduced always.
(Review ID: 138695)
======================================================================