Re: ldapjdk: netscape.ldap.LDAPException bug
Dennis Sinelnikov <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <[email protected]> |
done. bug#357000
Thank you.
Rich Megginson wrote:
> Dennis Sinelnikov wrote:
>> 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.
>
> Yes, please file a bug, and attach your patch for the build.xml file.
> Thanks!
>
>>
>> Thanks,
>> Dennis