[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bug #13447] java.security.cert.X509CertSelector, equals com
From: |
David Hovemeyer |
Subject: |
[commit-cp] [bug #13447] java.security.cert.X509CertSelector, equals comparison always returns false |
Date: |
Sat, 18 Jun 2005 20:23:28 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13447>
Summary: java.security.cert.X509CertSelector, equals
comparison always returns false
Project: classpath
Submitted by: daveho
Submitted on: Sat 06/18/2005 at 20:23
Category: classpath
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Platform Version: None
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13447>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] [bug #13447] java.security.cert.X509CertSelector, equals comparison always returns false,
David Hovemeyer <=