harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-317) javax.security.cert.X509Certificate.getInstance exception behaviour differs from RI
Date Thu, 06 Apr 2006 18:41:26 GMT
javax.security.cert.X509Certificate.getInstance exception behaviour differs from RI
-----------------------------------------------------------------------------------

         Key: HARMONY-317
         URL: http://issues.apache.org/jira/browse/HARMONY-317
     Project: Harmony
        Type: Bug

  Components: Classlib  
    Reporter: Mark Hindess
    Priority: Trivial


javax.security.cert.X509Certificate.getInstance method doesn't match reference behaviour.
It throws NullPointerExceptions when the RI throws CertificateExceptions. See log below for
details.

RI is Sun Microsystems Inc. 1.5.0_06
Test is harmony classlib

javax.security.cert.X509Certificate.getInstance((java.io.InputStream)null):
  RI throws javax.security.cert.CertificateException: Unsupported argument type
  Test throws java.lang.NullPointerException: null

javax.security.cert.X509Certificate.getInstance(byte_array_null):
  RI throws javax.security.cert.CertificateException: Unsupported argument type
  Test throws java.lang.NullPointerException: 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