harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-316) [classlib][crypto] javax.crypto.ExemptionMechanism.getInstance exception behaviour differs from RI
Date Tue, 17 Apr 2007 09:15:15 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko updated HARMONY-316:
------------------------------------

    Summary: [classlib][crypto] javax.crypto.ExemptionMechanism.getInstance exception behaviour
differs from RI  (was: javax.crypto.ExemptionMechanism.getInstance exception behaviour differs
from RI)

> [classlib][crypto] javax.crypto.ExemptionMechanism.getInstance exception behaviour differs
from RI
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-316
>                 URL: https://issues.apache.org/jira/browse/HARMONY-316
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mark Hindess
>         Assigned To: Stepan Mishura
>            Priority: Trivial
>
> javax.crypto.ExemptionMechanism.getInstance method doesn't match reference behaviour.
It throws NoSuchProviderExceptions and NullPointerExceptions when the RI throws IllegalArgumentExceptions.
See log below for details.
> RI is Sun Microsystems Inc. 1.5.0_06
> Test is harmony classlib
> javax.crypto.ExemptionMechanism.getInstance("",""):
>   RI throws java.lang.IllegalArgumentException: missing provider
>   Test throws java.security.NoSuchProviderException
> javax.crypto.ExemptionMechanism.getInstance((java.lang.String)null,""):
>   RI throws java.lang.IllegalArgumentException: missing provider
>   Test throws java.lang.NullPointerException: Algorithm is null
> javax.crypto.ExemptionMechanism.getInstance((java.lang.String)null,(java.lang.String)null):
>   RI throws java.lang.IllegalArgumentException: missing provider
>   Test throws java.lang.NullPointerException: Algorithm is null
> javax.crypto.ExemptionMechanism.getInstance((java.lang.String)null,(java.security.Provider)null):
>   RI throws java.lang.IllegalArgumentException: missing provider
>   Test throws java.lang.NullPointerException: Algorithm is null

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message