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] Commented: (HARMONY-378) java.util.Arrays.sort(null,(int)-1,(int)1) should throw NullPointerException
Date Tue, 25 Apr 2006 09:05:06 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-378?page=comments#action_12376210 ] 

Mark Hindess commented on HARMONY-378:
--------------------------------------

Looks good.  Thanks Stepan.

> java.util.Arrays.sort(null,(int)-1,(int)1) should throw NullPointerException
> ----------------------------------------------------------------------------
>
>          Key: HARMONY-378
>          URL: http://issues.apache.org/jira/browse/HARMONY-378
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Stepan Mishura
>     Priority: Trivial
>  Attachments: arrays.sort.npe.diff
>
> To match RI behaviour, the three and four argument Arrays.sort methods should throw NullPointerExceptions
when passed a null array but it throws ArrayIndexOutOfBoundsException in some cases.
> Will attach a patch shortly.

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