ldapjdk: netscape.ldap.LDAPException bug

Dennis Sinelnikov <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Hello,

I noticed a little bug in the LDAPException class. In erorCodeToString 
static method, ErrorCodes_en_US.props is retrieved (based on locale). 
However, ErrorCodes_en_US.props does not exist, only ErrorCode.props. 
One way to fix it is to rename the file accordingly.

In addition, build.xml needs to be updated to include 
/ldapjdk/netscape/ldap/errors/ dir in the ldapjdk.jar.
One way to fix this would be to add the following to the bottom of 
"build-jdk" target:

     <mkdir dir="${jdk.dist}/netscape/ldap/errors"/>
     <copy todir="${jdk.dist}/netscape/ldap/errors">
         <fileset dir="${basedir}/ldapjdk/netscape/ldap/errors"/>
     </copy>

I can file a bug, if necessary.

Thanks,
Dennis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.