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] Assigned: (HARMONY-316) javax.crypto.ExemptionMechanism.getInstance exception behaviour differs from RI
Date Fri, 07 Apr 2006 03:00:41 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-316?page=all ]

Stepan Mishura reassigned HARMONY-316:
--------------------------------------

    Assign To: Stepan Mishura

> javax.crypto.ExemptionMechanism.getInstance exception behaviour differs from RI
> -------------------------------------------------------------------------------
>
>          Key: HARMONY-316
>          URL: http://issues.apache.org/jira/browse/HARMONY-316
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: 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.
-
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