harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-2675) [classlib][luni]ProcessBuilder.command returns a list that does not support add() operation but RI does.
Date Wed, 20 Dec 2006 11:05:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2675?page=all ]

Richard Liang resolved HARMONY-2675.
------------------------------------

    Resolution: Fixed

Hello Leo,

The patch has been applied at revision r489034, thanks a lot for this enhancement. Would you
please verify the issue is fully fixed as you expected.

Best regards,
Richard

> [classlib][luni]ProcessBuilder.command returns a list that does not support add() operation
but RI does.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2675
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2675
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Assigned To: Richard Liang
>         Attachments: patch-2675.diff
>
>
> Here is a testcase:
> public void testProcessBuilder()
>     {
>         ProcessBuilder processBuilder = new ProcessBuilder("AAA");
>         processBuilder.command("BBB","CCC");
>         List<String> list = processBuilder.command();
>         list.add("DDD");
>         String[] command = new String[3];
>         list.toArray(command);
>         assertTrue(Arrays.equals(new String[]{"BBB","CCC","DDD"}, command));
>     }
> RI passes.
> Harmony fails.

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