harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-446) [classlib][luni] java.util.Arrays sort and binarySearch generification and bug fixes
Date Sat, 06 May 2006 21:53:21 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-446?page=all ]

Nathan Beyer updated HARMONY-446:

    Attachment: Arrays_sort_binarySearch_patches.txt

Patch contains generification of sort, binarySearch and asList methods. It also contains fixes
and updated test cases as mentioned earlier.

> [classlib][luni] java.util.Arrays sort and binarySearch generification and bug fixes
> ------------------------------------------------------------------------------------
>          Key: HARMONY-446
>          URL: http://issues.apache.org/jira/browse/HARMONY-446
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Nathan Beyer
>  Attachments: Arrays_sort_binarySearch_patches.txt
> The bugs are that Arrays.sort and Arrays.binarySearch throw invalid NPE when null Comparators
are passed. The following code is an example of the regression test.
>         String[] strings = new String[] { "a", "B", "c", "D" };
>         Arrays.sort(strings, String.CASE_INSENSITIVE_ORDER);
>         Arrays.sort(strings, null);
> Additionally, the Arrays.sort and Arrays.binarySearch have been generified.
> A patch for the main source and test cases will follow.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message