-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 5.0
-
Component/s: other-libs
-
b59
-
generic
-
generic
While fixing 5054615 et al. I noticed two methods whose generic types are
overly restrictive:
java.security.cert.X509CRLSelector.setIssuerNames(Collection<Object>)
java.text.AttributedString.addAttributes(Map<Attribute,Object>, int, int)
The Object types in these signatures should be replaced with a wildcard so that
collections and maps of more specific types can be used.
-- ###@###.### 2004/7/13
overly restrictive:
java.security.cert.X509CRLSelector.setIssuerNames(Collection<Object>)
java.text.AttributedString.addAttributes(Map<Attribute,Object>, int, int)
The Object types in these signatures should be replaced with a wildcard so that
collections and maps of more specific types can be used.
-- ###@###.### 2004/7/13