harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kleymenov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4463) [classlib][security] X500Principal equals method work improperly
Date Fri, 13 Jul 2007 09:45:04 GMT
[classlib][security] X500Principal equals method work improperly
----------------------------------------------------------------

                 Key: HARMONY-4463
                 URL: https://issues.apache.org/jira/browse/HARMONY-4463
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexander Kleymenov


The following code works fine on RI while reports failure on DRLVM:

public class test {
    public static void main(String[] args) {
        if(new X500Principal("EMAILADDRESS=dummy@acme.com, CN=John Doe, OU=Engineering Department,
O=ACME Software, L=Novosibirsk, ST=Russia, C=RU")
                .equals(new X500Principal("1.2.840.113549.1.9.1=#160e64756d6d794061636d652e636f6d,CN=John
Doe,OU=Engineering Department,O=ACME Software,L=Novosibirsk,ST=Russia,C=RU"))) {
            System.out.println("PASSED");
        } else {
            System.out.println("FAILED");
        };
    }
}

This is a reason of  failure of the following functional test:

functional/org/apache/harmony/test/func/api/java/security/cert/F_CertStoreTest_02/F_CertStoreTest_02.xml

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