harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-446) [classlib][luni] java.util.Arrays sort and binarySearch generification and bug fixes
Date Sun, 07 May 2006 03:16:21 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-446?page=all ]
Tim Ellison resolved HARMONY-446:

    Resolution: Fixed

Thanks Nathan,

Patch applied (with minor compiler warning fix in other test) to LUNI module at repo revision

Please check that the patch was applied as you expected.

> [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
>     Assignee: Tim Ellison
>  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