You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Imran Ghory (JIRA)" <ji...@apache.org> on 2007/08/20 20:45:31 UTC

[jira] Created: (HARMONY-4653) BigInteger andNot() fails to throw NullPointerException on null paramer

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


[jira] Resolved: (HARMONY-4653) BigInteger andNot() fails to throw NullPointerException on null paramer

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paulex Yang resolved HARMONY-4653.
----------------------------------

    Resolution: Fixed
      Assignee: Paulex Yang

Imran, thanks a lot for finding this. Fixed at r567914, please verify. 

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


[jira] Closed: (HARMONY-4653) BigInteger andNot() fails to throw NullPointerException on null paramer

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ 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.