harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry M. Kononov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-464) [classlib][archive] Instead of ClassCastException java.util.jar.Attributes.putAll(Map attr) throws NullPointerException.
Date Tue, 16 May 2006 07:43:05 GMT
[classlib][archive] Instead of ClassCastException java.util.jar.Attributes.putAll(Map attr)
throws NullPointerException.
------------------------------------------------------------------------------------------------------------------------

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

  Components: Classlib  
    Reporter: Dmitry M. Kononov
    Priority: Minor


java.util.jar.Attributes.putAll(Map attr):
Harmony throws NullPointerException when attr = null, while RI throws ClassCastException.
Specification does not mention NullPointerException throwing and says:
"Throws: 
ClassCastException - if attr is not an Attributes"


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