Signature.getAlogrithm return null in special case

Deven You youdwei at linux.vnet.ibm.com
Tue May 14 04:46:42 UTC 2013


Hi All,

I find in a special case: If you create a SignatureSpi service through 
extending Signature rather than SignatureSpi, the returned signature 
instance will lose its algortithm name.

Though the fix[1] is simple I think it's valuable. Could anyone take a look?

[1] http://cr.openjdk.java.net/~youdwei/ojdk-809/webrev/ 
<http://cr.openjdk.java.net/%7Eyoudwei/ojdk-809/webrev/>

Thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20130514/91a26018/attachment.htm>


More information about the security-dev mailing list