harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2761) [classlib][security] Security.getProviders throws NumberFormatException unexpectedly
Date Mon, 18 Dec 2006 10:06:24 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2761?page=comments#action_12459250 ] 
Leo Li commented on HARMONY-2761:

Hi, all:
      When fixing the bug, I encountered such a problem:
at Provider 314:
      getProperty("Signature.SHA1withDSA KeySize")) returns null thus incurs the NumberFormatException.

But if such property of the provider is null, shall we regard the provider supplies the service
that the filter of  Security.getProviders requires?

If not, current Harmony has no matching provider.

If so, the provider that without the property "Signature.SHA1withDSA KeySize" will be legal
for any keysize.

Besides, RI has a matching provider called "SUN version 1.5" with "Signature.SHA1withDSA KeySize"
of 1024. So I suppose that current Harmony might have no matching provider.

Any suggestion?

> [classlib][security] Security.getProviders throws NumberFormatException unexpectedly
> ------------------------------------------------------------------------------------
>                 Key: HARMONY-2761
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2761
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
> Here is a testcase:
> public void testgetProviders()
> {
>     Provider[] providers = Security.getProviders("Signature.SHA1withDSA KeySize:512");
> }
> RI passes.
> Harmony fails with throwing NumberFormatException.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message