[Date Prev][Date Next]
Re: JLDAP Bug n fixes (ITS#1512)
Thanks for your well documented bug report, and the attached test
I am now reviewing your changes.
Novell, Inc., the leading provider of Net services software
>>> <firstname.lastname@example.org> 06-Jan-02 2:07:55 PM >>>
Full_Name: Dane Foster
OS: WIN2K /Linux
Submission from: (NULL) (220.127.116.11)
- There is a NullPointerException being thrown in the copy constructor
- There is ClassCastException being thrown by the
method of <code>com.novell.ldap.LDAPAttribute</code> if you set the
value of an
attribute using a byte array instead of a String.
- The <code>size</code> method of
incorrectly reports the number of values for an attribute if any of the
are <code>null</code>. This is open to debate because one may argue
against that <code>null</code> is a valid value. I've chosen the
thus consider the behavior a bug.
- I've included a JUnit TestCase class that can reproduce the problem.
note, the patch that I've made is not simply fixes for the bugs but was
rewrite of a large portion of the
class. The JUnit testcase was written to ensure that my changes would
introduce new bugs into the JLDAP API.