harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-464) [classlib][archive] Instead of ClassCastException java.util.jar.Attributes.putAll(Map attr) throws NullPointerException.
Date Fri, 26 May 2006 04:56:30 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-464?page=all ]
     
Mikhail Loenko closed HARMONY-464:
----------------------------------


Verified by Dmitry

> [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
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: Test.java, fix.diff.txt
>
> 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