harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5786) [classlib][jndi][ldap] - decode UnsolicitedNotificationImpl incorrectly
Date Thu, 24 Apr 2008 08:15:21 GMT
[classlib][jndi][ldap] - decode UnsolicitedNotificationImpl incorrectly
-----------------------------------------------------------------------

                 Key: HARMONY-5786
                 URL: https://issues.apache.org/jira/browse/HARMONY-5786
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M5
            Reporter: Regis Xu
             Fix For: 5.0M6


1.
public void decodeValues(Object[] values) {
result = new LdapResult();
result.decodeValues(values);
oid = Utils.getString(values[4]);
if (values[5] != null) { encodedValue = (byte[]) values[5]; }
}

if values[4] is null, oid will be assigned incoreect value "", while it should be null.

2. following RI, LdapContextImpl.targetMustExist() always return true

3. UnsolicitedNotificationEvent should construct using outside LdapContextImpl instance

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message