harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2676) [classlib][security]AlgorithmParameterGenerator.init() fails to throw InvalidParameterException while the input size is illegal for a specified algorithm while RI does.
Date Sat, 16 Dec 2006 11:30:25 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2676?page=all ]

Stepan Mishura updated HARMONY-2676:
------------------------------------

    Component/s: Classlib

> [classlib][security]AlgorithmParameterGenerator.init() fails to throw InvalidParameterException
while the input size is illegal for a specified algorithm while RI does.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2676
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2676
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>
> Here is a testcase:
> public void test_algorithmParameterGenerator_init() throws Exception
>     {
>         AlgorithmParameterGenerator algorithmParameterGenerator = AlgorithmParameterGenerator.getInstance("DSA");
>         try {
>             algorithmParameterGenerator.init(600);
>             fail("Should throw InvalidParameterException.");
>         } catch (InvalidParameterException e) {
>             //expected.
>         }
>     }
> RI passes.
> Harmony fails.
> After digging into it, I found the root cause is in JDKAlgorithmParameterGenerator$DSA.class
which is included in signed.bcprov.jar.  Should we raise a jira to bcprov?

-- 
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

        

Mime
View raw message