diff -r a437b3f9d7f4 -r 6fe31bc95bbc jdk/src/share/classes/sun/security/x509/CertificatePolicySet.java --- a/jdk/src/share/classes/sun/security/x509/CertificatePolicySet.java Mon Mar 10 14:32:51 2008 -0700 +++ b/jdk/src/share/classes/sun/security/x509/CertificatePolicySet.java Mon Mar 10 15:07:09 2008 -0700 @@ -87,7 +87,7 @@ DerOutputStream tmp = new DerOutputStream(); for (int i = 0; i < ids.size(); i++) { - ((CertificatePolicyId)ids.elementAt(i)).encode(tmp); + ids.elementAt(i).encode(tmp); } out.write(DerValue.tag_Sequence,tmp); }