You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Loenko (JIRA)" <ji...@apache.org> on 2006/05/19 13:44:30 UTC

[jira] Assigned: (HARMONY-464) [classlib][archive] Instead of ClassCastException java.util.jar.Attributes.putAll(Map attr) throws NullPointerException.

     [ http://issues.apache.org/jira/browse/HARMONY-464?page=all ]

Mikhail Loenko reassigned HARMONY-464:
--------------------------------------

    Assign To: Mikhail Loenko

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