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] Closed: (HARMONY-4653) BigInteger andNot() fails to throw NullPointerException on null paramer
Date Thu, 25 Jun 2009 20:36:07 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Hindess closed HARMONY-4653.
---------------------------------


Closing as the expected exception is thrown by M10.


> BigInteger andNot() fails to throw NullPointerException on null paramer
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-4653
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4653
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Imran Ghory
>            Assignee: Paulex Yang
>            Priority: Minor
>
> The following returns 0 when it should throw a NullPointerException:
>        BigInteger.ZERO.andNot(null);
> (From the BigInteger docs: "All methods and constructors in this class throw NullPointerException
when passed a null object reference for any input parameter.")

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message