bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-classpath] [Bug classpath/22987] New: java.security.cert.X509CertSe


From: tromey at gcc dot gnu dot org
Subject: [bug-classpath] [Bug classpath/22987] New: java.security.cert.X509CertSelector, equals comparison always returns false
Date: 26 Jul 2005 16:52:15 -0000

In classpath-0.15:



The match(Certificate) method in

java.security.cert.X509CertSelector contains a call to equals()

at line 918, where equals() is called on a

gnu.java.security.OID object, but is passed a String.

This is guaranteed to return false, since the objects are

of different classes.



Found by FindBugs, http://findbugs.sourceforge.net


------- Additional Comments From tromey at gcc dot gnu dot org  2005-07-26 
16:52 -------
I've checked in the fix.


-- 
           Summary: java.security.cert.X509CertSelector, equals comparison
                    always returns false
           Product: classpath
           Version: unspecified
            Status: RESOLVED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: from-classpath at savannah dot gnu dot org
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22987




reply via email to

[Prev in Thread] Current Thread [Next in Thread]