harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelvin Ye (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3887) [classlib][jndi] Method size() of class Rdn will throw Exception when RI passes
Date Thu, 17 May 2007 10:03:16 GMT
[classlib][jndi] Method size() of class Rdn will throw Exception when RI passes
-------------------------------------------------------------------------------

                 Key: HARMONY-3887
                 URL: https://issues.apache.org/jira/browse/HARMONY-3887
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Linux and Windows
            Reporter: Kelvin Ye


Method size() of Class javax.naming.ldap.Rdn will throw Exception when I construct a Rdn with
a string. Please see the following sample test code.

    public void testSize() throws Exception {
        Rdn rdn = new Rdn("t = #20 ");
        assertEquals(1, rdn.size());
    }

Harmony will throw InvalidNameException, but RI will return 1 for rdn.size().

-- 
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